modelMultiSensor_Tpm

Undirected sensor for Temperature, pressure and mass flow rate

Extends from ThermofluidStream.Utilities.DropOfCommonsPlus.

Information

Undirected sensor for temperature, pressure and mass-flow. Units can be selected.

Parameters

TypeNameDefaultDescription
ThermofluidStream.Sensors.Internal.Types.TemperatureUnittemperatureUnit"K"Temperature unit (display and output)
ThermofluidStream.Sensors.Internal.Types.PressureUnitpressureUnit"Pa"Pressure unit (display and output)
ThermofluidStream.Sensors.Internal.Types.MassFlowUnitmassFlowUnit"(kg/s)"Mass flow rate unit (display and output)
StringtemperatureStringif temperatureUnit == "K" then "K" elseif temperatureUnit == "degC" then "°C" else "error"
StringmassFlowStringif massFlowUnit == "(kg/s)" then "kg/s" elseif massFlowUnit == "(g/s)" then "g/s" else "error"
Sensor display
Integerdigits3Number of significant digits to be displayed
Advanced › Regularization
SI.MassFlowRatem_flow_regdropOfCommons.m_flow_regRegularization threshold of mass flow rate
Output
BooleanoutputTemperaturefalse= true, if temperature output is enabled
BooleanoutputPressurefalse= true, if pressure output is enabled
BooleanoutputMassFlowRatefalse= true, if mass flow rate output is enabled
Booleanfilter_outputfalse= true, if sensor output is filtered (to break algebraic loops)
SI.TimeTC0.1Time constant of sensor output filter (PT1)
InitModeinitInitMode.steadyStateInitialization mode for sensor output
RealT_00Start value for temperature output
Realp_00Start value for pressure output
Realm_flow_00Start value for mass flow rate output

Components

TypeNameDefaultDescription
Interfaces.Rearrear
Interfaces.Forefore
Medium.ThermodynamicStatestateMedium.setState_phX(p_reg, h_reg, Xi_reg)
Modelica.Blocks.Interfaces.RealOutputT_outTTemperature output connector
Modelica.Blocks.Interfaces.RealOutputp_outpPressure output connector
Modelica.Blocks.Interfaces.RealOutputm_flow_outm_flowMass flow rate output connector
Realp
RealT
Realm_flow

Contents

NameDescription
MediumMedium model