modelSpecificEnthalpyTwoPort

Ideal two port sensor for the specific enthalpy

Extends from BaseClasses.PartialTwoPortSensor, BaseClasses.PartialMultiSensor_1values.

Information

This component monitors the fluid flowing from port_a to port_b. The sensor is ideal, i.e., it does not influence the fluid.

Parameters

TypeNameDefaultDescription
Integerprecision (from PartialMultiSensor_1values)0Number of decimals displayed
Assumptions
BooleanallowFlowReversal (from PartialTwoPortSensor)true= true to allow flow reversal, false restricts to design direction (port_a -> port_b)
Visualization
BooleanshowName (from PartialTwoPortSensor)true= false to hide component name
Advanced
Medium.MassFlowRatem_flow_small (from PartialTwoPortSensor)1e-4Regularization for zero flow:|m_flow| < m_flow_small
Initialization › Start Value: Absolute Pressure
SI.AbsolutePressurep_start (from PartialTwoPortSensor)Medium.p_defaultPressure
Initialization › Start Value: Temperature
Booleanuse_T_start (from PartialTwoPortSensor)trueUse T_start if true, otherwise h_start
SI.TemperatureT_start (from PartialTwoPortSensor)Medium.T_defaultTemperature
Initialization › Start Value: Specific Enthalpy
SI.SpecificEnthalpyh_start (from PartialTwoPortSensor)Medium.specificEnthalpy_pTX(p_start, T_start, X_start)Specific enthalpy
Initialization › Start Value: Species Mass Fraction
SI.MassFraction[Medium.nX]X_start (from PartialTwoPortSensor)Medium.X_defaultMass fraction

Connectors

TypeNameDefaultDescription
TRANSFORM.Fluid.Interfaces.FluidPort_Flowport_a (from PartialTwoPortSensor)Fluid connector a (positive design flow direction is from port_a to port_b)
TRANSFORM.Fluid.Interfaces.FluidPort_Flowport_b (from PartialTwoPortSensor)Fluid connector b (positive design flow direction is from port_a to port_b)
Modelica.Blocks.Interfaces.RealOutputh_outSpecific enthalpy of the passing fluid

Components

TypeNameDefaultDescription
Realvar (from PartialMultiSensor_1values)Variable to be converted
Realy (from PartialMultiSensor_1values)iconUnit(var)Icon display