modelMassFractions

Ideal one port mass fraction sensor

Extends from TRANSFORM.Fluid.Sensors.BaseClasses.PartialAbsoluteSensor (Partial component to model a sensor that measures a potential variable), BaseClasses.PartialMultiSensor_1values.

Information

This component monitors the mass fraction contained in the fluid passing its port. The sensor is ideal, i.e., it does not influence the fluid.

Parameters

TypeNameDefaultDescription
Integerprecision (from PartialMultiSensor_1values)0Number of decimals displayed
StringsubstanceName"water"Name of mass fraction
Assumptions
BooleanallowFlowReversal (from PartialAbsoluteSensor)true= true to allow flow reversal, false restricts to design direction (port_a -> port_b)
Visualization
BooleanshowName (from PartialAbsoluteSensor)true= false to hide component name

Connectors

TypeNameDefaultDescription
TRANSFORM.Fluid.Interfaces.FluidPort_Flowport (from PartialAbsoluteSensor)Fluid connector
Modelica.Blocks.Interfaces.RealOutputXiMass fraction in port medium

Components

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

Revisions

  • 2011-12-14: Stefan Wischhusen: Initial Release.