Thermal Fluid Two Port
Define the base-equations shared by thermal-fluid two-port components
Description
Equations
Connections
Variables
Parameters
Constants
Modelica Standard Library
A Thermal-Fluid Two-Port is the base model shared by many of the thermal-fluid components. It has two thermal-fluid ports, and .
The following equations are the base equations for the two-port model. Each component based on this model extends these equations.
Mass Balance
Mass does not accumulate in the component.
Energy Balance
The power flow into the device equals the rate of energy increase of the mass. If the mass is essentially zero, this is set to exactly zero.
Enthalpy Flow
The flow of enthalpy into each port depends on the direction of the mass flow through the component.
Temperature
The temperature at a port is computed from the specific enthalpy at the port and the specific heat capacity of the medium.
Volume Flow
The volume flow is given by the mass-flow into port and the density of the medium.
Pressure Drop
The pressure drop from port to port is
Name
Modelica ID
Thermal-Fluid flow port
flowPort
Units
Pressure drop from to
dp
Pressure at port
flowPort_x.p
Temperature at port
T_x
Temperature increase of fluid, in direction of flow
dT
Temperature used for heat exchange with the ambient
Tq
Heat exchange with ambient
Q_flow
Volume flow from from port to port
V_flow
Specific enthalpy of
medium.h
Specific enthalpy of flow at port
flowPort_x.h
Enthalpy flow rate into port
Density of
medium.rho
Specific heat capacity of at constant pressure
medium.cp
Specific heat capacity of at constant volume
medium.cv
The symbol stands for or , it indicates one of the ports.
Default
Thermal-Fluid Media
medium
Mass of in component
m
Pressure
T0
A very small number
Modelica.Constants.small
The component described in this topic is from the Modelica Standard Library. To view the original documentation, which includes author and copyright information, click here.
See Also
Thermal Fluid Media
Thermal Overview
Download Help Document