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

TypeNameDefaultDescription
FluidHeatFlow.Media.MediummediumFluidHeatFlow.Media.Medium()Medium in the component
SI.MassmMass of medium
SI.TemperatureT0Initial temperature of medium
BooleanT0fixedfalseInitial temperature guess value or fixed
RealtapT1Defines temperature of heatPort between inlet and outlet temperature

Connectors

TypeNameDefaultDescription
FluidHeatFlow.Interfaces.FlowPort_aflowPort_a
FluidHeatFlow.Interfaces.FlowPort_bflowPort_b

Components

TypeNameDefaultDescription
SI.PressuredpPressure drop a->b
SI.VolumeFlowRateV_flowVolume flow a->b
SI.HeatFlowRateQ_flowHeat exchange with ambient
SI.TemperatureTOutlet temperature of medium
SI.TemperatureT_aTemperature at flowPort_a
SI.TemperatureT_bTemperature at flowPort_b
SI.TemperatureDifferencedTTemperature increase of coolant in flow direction
SI.TemperatureT_qTemperature relevant for heat exchange with ambient