modelRoomCO2

Demonstrates a room volume with CO2 accumulation

Extends from Modelica.Icons.Example (Icon for runnable examples).

Information

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

TypeNameDefaultDescription
Modelica.Blocks.Sources.ConstantCSubstance concentration, raising to 1000 PPM CO2
Sources.FixedBoundaryboundary4
Sensors.TraceSubstancestraceVolume
Systemsystem
Sources.MassFlowSource_Tboundary1
Modelica.Fluid.Vessels.ClosedVolumevolume
Modelica.Fluid.Pipes.StaticPipepipe
Sensors.TraceSubstancestraceSource

Contents

NameDescription
Medium