WOLFRAM SYSTEM MODELER

RoomCO2

Demonstrates a room volume with CO2 accumulation

Diagram

Wolfram Language

In[1]:=
SystemModel["Modelica.Fluid.Examples.TraceSubstances.RoomCO2"]
Out[1]:=

Information

This information is part of the Modelica Standard Library maintained by the Modelica Association.

This example consists of a volume with a carbon dioxide concentration that corresponds to 1.519E-3 kg/kg, which is equal to 1000 PPM. There is a fresh air stream with a carbon dioxide concentration of about 300 PPM. The fresh air stream is such that the air exchange rate is about 5 air changes per hour. After 1 hour of ventilation, the volume's carbon dioxide concentration is close to the concentration of the fresh air.

The nominal value for the trace substance is set to C_nominal={1.519E-3}. This scales the residual equations that are used by the solver to the right order of magnitude.

RoomCO2.png

Components (8)

C

Type: Constant

Description: Substance concentration, raising to 1000 PPM CO2

boundary4

Type: FixedBoundary

Description: Boundary source component

traceVolume

Type: TraceSubstances

Description: Ideal one port trace substances sensor

system

Type: System

Description: System properties and default values (ambient, flow direction, initialization)

boundary1

Type: MassFlowSource_T

Description: Ideal flow source that produces a prescribed mass flow with prescribed temperature, mass fraction and trace substances

volume

Type: ClosedVolume

Description: Volume of fixed size, closed to the ambient, with inlet/outlet ports

pipe

Type: StaticPipe

Description: Basic pipe flow model without storage of mass or energy

traceSource

Type: TraceSubstances

Description: Ideal one port trace substances sensor