.Buildings.ThermalZones.Detailed.Examples.MixedAirCO2

Information

Example that demonstrates how to add CO2 emission that scales with the number of person, and then add a feedback control that increases the outside air mass flow rate.

The gain gaiCO2 adds a CO2 mass flow rate of 8.18E-6 kg/s per person to the room. It is scaled with the number of person, as obtained from the block nPer. In this example, the number of person are zero except for 2 hours, starting at 11 AM. During this time, 5 people are in the room.

The sensor senCO2 measures the CO2 PPM in the room. This is used by the controller conPI to adjust the outside air flow rate. Two gains are used to normalize the control input. This is simply done to make it easier to configure the gains of the controller. The block addFlo increases the outdoor air flow rate above the base flow rate, which is set to mOut_flow. Plotting the control error shows that the set point is being tracked after a brief overshoot during the initial transient.

Revisions


Generated at 2024-04-24T18:15:52Z by OpenModelicaOpenModelica 1.22.3 using GenerateDoc.mos