modelSingleSensorX

Mass fractions sensor

Extends from Internal.PartialSensor.

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 mass fraction vector to display
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
Modelica.Blocks.Interfaces.RealOutput[Medium.nX]value_outvalueMeasured value [variable]
Real[Medium.nX]valueComputed value of the selected Quantity
Realdisplay_valuevalue[row]Row of the value vector to display

Contents

NameDescription
MediumMedium model
mfkprotected