modelTo_VolumeFraction

Example problem for conversion model

Extends from Modelica.Icons.Example.

Information

This example demonstrates the modeling of a room with one person and CO2 control. The room has a volume of 4*4*2.7 m3, and the CO2 inflow is from one person. A control system regulates the outside air to maintain a CO2 concentration of 1000 PPM in the room. The outside air has a CO2 concentration of 300 PPM. Note that for simplicity, we allow zero outside air flow rate if the CO2 concentration is below the setpoint, which does not comply with ASHRAE regulations.

Components

TypeNameDefaultDescription
IBPSA.Fluid.Sensors.Conversions.To_VolumeFractionconMasVolFraConversion from mass fraction CO2 to volume fraction CO2
Modelica.Blocks.Sources.ConstantvolFraSet point for volume fraction of 700PPM CO2
IBPSA.Controls.Continuous.LimPIDlimPID
IBPSA.Fluid.Sensors.TraceSubstancessenCO2CO2 sensor
IBPSA.Fluid.MixingVolumes.MixingVolumevolVolume of air
IBPSA.Fluid.Sources.TraceSubstancesFlowSourcesouCO2CO2 source
Modelica.Blocks.Math.GainCO2PerCO2 emission per person
IBPSA.Fluid.Sources.MassFlowSource_TsouSource of fresh air with 300 PPM CO2
IBPSA.Fluid.Sources.FixedBoundarysinSink for exhaust air
Modelica.Blocks.Math.GaingaiGain for mass flow rate
Modelica.Blocks.Sources.ConstantnPeoNumber of people
IBPSA.Fluid.Sensors.VolumeFlowRatesenVolFlo
Modelica.Blocks.Math.GainnorSetNormalization for set point (to scale control input)
Modelica.Blocks.Math.GainnorMeaNormalization for measured concentration (to scale control input)
Modelica.Blocks.Math.GainconVolFloConversion from m3/s to m3/h
IBPSA.Fluid.Sensors.TraceSubstancesTwoPortsenTraSubPeoCO2 concentration in absorptance from people
IBPSA.Fluid.Sensors.TraceSubstancesTwoPortsenTraSubFreCO2 concentration in fresh air supply
IBPSA.Fluid.FixedResistances.PressureDropresPressure drop to decouple the state of the volume from the state of the boundary condition

Contents

NameDescription
Medium

Revisions

  • April 25, 2017 by Filip Jorissen:
    Increased model tolerance for #750.
  • March 27, 2013 by Michael Wetter:
    Added a flow resistance between the volume and the ambient to decouple the state of the volume from the boundary conditions. This is needed to allow a pedantic model check in Dymola 2014, as otherwise, the initial conditions of the volume could not be specified without introducing redundant equations.
  • February 13, 2010 by Michael Wetter:
    First implementation.