modelSingleSensorX

Sensor for mass fraction

Extends from ThermofluidStream.Utilities.DropOfCommonsPlus.

Information

Sensor for measuring mass fraction X. Which row from X to display can be selected by the row parameter.

This sensor can be connected to a fluid stream without a junction.

Parameters

TypeNameDefaultDescription
Integerdigits3Number of significant digits to be displayed
Integerrow1Row of meassured mass fraction
Output
BooleanoutputValuefalse= true, if sensor 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
Realvalue_0Medium.X_defaultStart value of mass fraction output

Components

TypeNameDefaultDescription
Interfaces.Inletinlet
Modelica.Blocks.Interfaces.RealOutput[Medium.nX]value_outvalueMass fraction output connector
Real[Medium.nX]valueComputed value of the selected quantity
Realdisplay_valuevalue[row]Row of the value vector to display

Contents

NameDescription
MediumMedium model
mfk