modelPPMTwoPort
Ideal two port trace substances sensor outputting in parts per million
Extends from Annex60.Fluid.Sensors.BaseClasses.PartialDynamicFlowSensor, Modelica.Icons.RotationalSensor.
Information
This model outputs the trace substance of the passing fluid
in parts per million.
The sensor is ideal, i.e., it does not influence the fluid.
If the parameter tau is non-zero, then its output
is computed using a first order differential equation.
Setting tau=0 is not recommend. See
Annex60.Fluid.Sensors.UsersGuide for an explanation.
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| String | substanceName | "CO2" | Name of trace substance |
| Modelica.SIunits.MolarMass | MM | Modelica.Media.IdealGases.Common.SingleGasesData.CO2.MM | Molar mass of the trace substance |
| Initialization | |||
| Real | C_start | 0 | Initial or guess value of output (= state) |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Blocks.Interfaces.RealOutput | ppm | Trace substance in port medium in ppm |
Revisions
-
January 12, 2016, by Filip Jorissen:
First implementation. See issue #372