modelTraceSubstances
Test model for the extra property sensor
Extends from Modelica.Icons.Example (Icon for runnable examples).
Information
This example tests the sensors that measure trace substances. A CO2 mass flow rate of 8.18E-8 kg/kg is added to the volume. The volume also has a fresh air mass flow rate and an exhaust air mass flow rate. The initial CO2 concentration of the volume is 0 kg/kg. Note that the fresh air supply has zero carbon dioxide concentration. Therefore, if it were outside air, then all concentrations are relative to the outside air concentration.
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Units.SI.MassFlowRate | m_flow_nominal | 15*1.2/3600 | Mass flow rate into and out of the volume |
Components
Contents
| Name | Description |
|---|---|
| Medium model |
Revisions
-
May 2, 2019, by Jianjun Hu:
Replaced fluid source. This is for #1072. -
May 22, 2015, by Michael Wetter:
Updated example to test the correction for issue 249. -
May 8, 2014, by Michael Wetter:
Added a pressure drop element, as otherwise the initialization problem is overspecified for incompressible media. -
November 27, 2013 by Michael Wetter:
Changed sink model from a prescribed flow source to a pressure boundary condition. This is required for the new air model, which is incompressible. Otherwise, there will be no pressure reference in the system. -
September 10, 2013 by Michael Wetter:
Changed initialization of volume to fixed initial values to avoid a translation warning in OpenModelica. -
August 30, 2013 by Michael Wetter:
Renamed example and added an instance of BuildingSystems.Fluid.Sensors.TraceSubstancesTwoPort. -
September 29, 2009 by Michael Wetter:
First implementation.