modelTwoPort
Partial model of two port
Information
Partial model with two flowPorts.
Possible heat exchange with the ambient is defined by Q_flow; setting this = 0 means no energy exchange.
Setting parameter m (mass of medium within pipe) to zero leads to neglect of temperature transient cv*m*der(T).
Mixing rule is applied.
Parameter 0 < tapT < 1 defines temperature of heatPort between medium's inlet and outlet temperature.
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| FluidHeatFlow.Media.Medium | medium | FluidHeatFlow.Media.Medium() | Medium in the component |
| SI.Mass | m | Mass of medium | |
| SI.Temperature | T0 | Initial temperature of medium | |
| Boolean | T0fixed | false | Initial temperature guess value or fixed |
| Real | tapT | 1 | Defines temperature of heatPort between inlet and outlet temperature |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| FluidHeatFlow.Interfaces.FlowPort_a | flowPort_a | ||
| FluidHeatFlow.Interfaces.FlowPort_b | flowPort_b |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| SI.Pressure | dp | Pressure drop a->b | |
| SI.VolumeFlowRate | V_flow | Volume flow a->b | |
| SI.HeatFlowRate | Q_flow | Heat exchange with ambient | |
| SI.Temperature | T | Outlet temperature of medium | |
| SI.Temperature | T_a | Temperature at flowPort_a | |
| SI.Temperature | T_b | Temperature at flowPort_b | |
| SI.TemperatureDifference | dT | Temperature increase of coolant in flow direction | |
| SI.Temperature | T_q | Temperature relevant for heat exchange with ambient |