modelTraceSubstances

Ideal one port trace substances sensor

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

Information

This component monitors the trace substances 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"CO2"Name of trace substance
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.RealOutputCTrace substance in port medium

Components

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