modelTraceSubstances
Ideal one port trace substances sensor
Extends from IBPSA.Fluid.Sensors.BaseClasses.PartialAbsoluteSensor, Modelica.Icons.RotationalSensor.
Information
This model outputs the trace substances contained in the fluid connected to its port. The sensor is ideal, i.e., it does not influence the fluid.
Read the IBPSA.Fluid.Sensors.UsersGuide prior to using this model with one fluid port.
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| String | substanceName | "CO2" | Name of trace substance |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Blocks.Interfaces.RealOutput | C | Trace substance in port medium |
Revisions
-
June 10, 2015, by Michael Wetter:
Reformulated assignment ofsandassertstatement. The reformulation of the assignment ofswas done to allow a model check in non-pedantic mode. This is for issue 268. -
September 10, 2013, by Michael Wetter:
Corrected a syntax error in setting the nominal value for the output signal. This eliminates a compilation error in OpenModelica. -
February 22, by Michael Wetter:
Improved code that searches for index of trace substance in medium model. -
March 22, 2010 by Michael Wetter:
Changed assignment forCso that Dymola 7.4 can find the analytic derivative. -
September 29, 2009, by Michael Wetter:
First implementation.