Engineering Reference — EnergyPlus 22.1

<< Prev | Table of Contents | Next >>

Carbon Dioxide Predictor-Corrector[LINK]

The transient air mass balance equation for the change in zone air carbon dioxide concentration may be expressed as follows:

ρairVzCCO2dCtzdt=Nsli=1kgmassschedload1.06+Nzonesi=1˙mi(CziCtz)+˙minf(CCtz)+˙msys(CsupCtz)

where:

Nsli=1kgmassschedload = sum of scheduled internal carbon dioxide loads. The zone air density is used to convert the volumetric rate of carbon dioxide generation from user input into mass generation rate [kg/s].The coefficient of 106 is used to make the units of carbon dioxide as ppm.

Nzonesi=1˙mi(CziCtz) = carbon dioxide transfer due to interzone air mixing [ppm-kg/s]

Czi = carbon dioxide concentration in the zone air being transferred into this zone [ppm]

˙minf(CCtz) = carbon dioxide transfer due to infiltration and ventilation of outdoor air [ppm-kg/s]

C = carbon dioxide concentration in outdoor air [ppm]

˙msys(CsupCtz) = carbon dioxide transfer due to system supply [ppm-kg/s]

Csup = carbon dioxide concentration in the system supply airstream [ppm]

˙msys = air system supply mass flow rate [kg/s]

ρairVzdCtzdt = carbon dioxide storage term in zone air [kg/s]

Ctz = zone air carbon dioxide concentration at the current time step [ppm]

ρair = zone air density [kg/m3]

Vz = zone volume [m3]

CCO2 = carbon dioxide capacity multiplier [dimensionless] (See the InputOutput Reference for additional information on the object ZoneCapacitanceMultiplier:ResearchSpecial)

In the same manner as described above for zone air temperature (ref. Basis for the Zone and Air System Integration), the solution algorithms provided in the ZoneAirHeatBalanceAlgorithm object are also applied to the zone air carbon dioxide calculations.

In order to calculate the derivative term with respect to time, the first order backward finite difference method, defined as the EulerMethod in the ZoneAirHeatBalanceAlgorithm object, may be used:

dCtzdt=(δt)1(CtzCtδtz)+O(δt)

The zone air carbon dioxide concentration update at the current time step using the EulerMethod may be expressed as follows:

ρairVZCCO2(δt)1(CtzCtδtz)=Nsli=1kgmassschedload106+Nzonesi=1˙mi(CziCtz)+˙minf(CCtz)+˙msys(CsupCtz)

To preserve the stability of the calculation of the zone carbon dioxide concentration, the third order differential approximation, derived by a Taylor Series and used in the calculation of the next time step’s zone air temperature, is also applied to the zone air carbon dioxide calculations. This algorithm is the default choice and is defined as ThirdOrderBackwardDifference in the ZoneAirHeatBalanceAlgorithm object.

The third order derivative derived from a Taylor Series expansion is defined as:

dCtzdt116Ctz3Ctδtz+32Ct2δtz13Ct3δtzδt+O(δt3)

The coefficients of the approximated derivative are very close to the coefficients of the analogous Adams-Bashforth algorithm. Then the approximated derivative is substituted into the mass balance and the terms with the carbon dioxide concentration at past time steps are all put on the right-hand side of the equation. This third order derivative zone carbon dioxide update increases the number of previous time steps that are used in calculating the new zone carbon dioxide concentration, and decreases the dependence on the most recent. The higher order derivative approximations have the potential to allow the use of larger time steps by smoothing transitions through sudden changes in zone operating conditions.

ρairVzCCO2δt(116)Ctz+Nzonesi=1˙miCtz+˙minfCtz+˙msysCtz=Nsli=1kgmassschedload106+Nzonesi=1˙miCzi+˙minfC+˙msysCsupρairVzCCO2δt(3Ctδtz+32Ct2δtz13Ct3δtz)

This gives us the basic air mass balance equation that will be solved two different ways, one way for the predict step and one way for the correct step.

Since the third choice of solution algorithms uses an integration approach, defined as AnalyticalSolution in the ZoneAirHeatBalanceAlgorithm object, it does not require any approximations and has no truncation errors. The solutions in both prediction and correction are provided below in detail.

Carbon Dioxide Prediction[LINK]

For the carbon dioxide concentration prediction case, the equation is solved for the anticipated system response as shown below.

PredictedSystemLoad=˙msys(CsupCtz)

Since the program provides three solution algorithms, the carbon dioxide prediction from each solution algorithm is given below.

EulerMethod[LINK]

For this solution algorithm, the air mass balance for the predicted air system load or response is:

PredictedSystemLoad[kg/sec]=ρairVZCCO2(δt)1(CtsetpointCtδtz)[Nsli=1kgmassschedload106+Nzonesi=1˙mi(CziCtsetpoint)+˙minf(CCtsetpoint)]

ThirdOrderBackwardDifference[LINK]

For this solution algorithm, the air mass balance for the predicted system load or response is given below:

PredictedSystemLoad[kg/sec]=[ρairVzCCO2δt(116)+Nzonesi=1˙mi+˙minf]Ctsetpoint[Nsli=1kgmassschedload106+Nzonesi=1˙miCzi+˙minfC+ρairVzCCO2δt(3Ctδtz32Ct2δtz+13Ct3δtz)]

AnalyticalSolution[LINK]

For this solution algorithm, the air mass balance for the predicted air system load or response is given below:

PredictedSystemLoad[kg/sec]=[Nzonesi=1˙mi+˙minf]⎢ ⎢CtsetpointCtδtzexp⎜ ⎜Nzonesi=1˙mi+˙minfρairVZCCO2δt⎟ ⎟⎥ ⎥⎢ ⎢1exp⎜ ⎜Nzonesi=1˙mi+˙minfρairVZCCO2δt⎟ ⎟⎥ ⎥1(Nsli=1kgmassschedload106+Nzonesi=1˙miCzi+˙minfC)

At the prediction point in the simulation, the system air mass flows are not known; therefore, the system response is approximated. The predicted air system carbon dioxide load is then used in the system simulation to achieve the best results possible. If a central HVAC system provides the outdoor flow rate from a Controller:MechanicalVentilation object, the outdoor airflow rate may be approximated as:

PredictedSystemLoad=˙msys(CsupCtz)˙mOA,z(CCtsetpoint)

where:

˙mOA,z = supply outdoor airflow rate into the controlled zone [kg/s]

The above approximation is based on the assumption that the carbon dioxide concentration at the outdoor air (OA) mixer inlet is equal to the zone air outlet concentration level, and the carbon dioxide level at the zone supply air inlet is equal to the level at the outlet node of the OA mixer.

After the system simulation is completed the actual response from the air system is used in the carbon dioxide correction step, which is shown next.

Carbon Dioxide Correction[LINK]

For the correct step, the expanded air mass balance equation is solved for the final zone carbon dioxide concentration at the current time step. In the same manner as described above for predicting the carbon dioxide load to be met by the air system, the zone air carbon dioxide correction calculation will be described individually for the three solution algorithms.

EulerMethod[LINK]

Ctz=Nsli=1kgmassschedload106+Nzonesi=1˙miCzi+˙minfC+˙msysCsup+ρairVZCCO2CtδtzδtρairVZCCO2δt+Nzonesi=1˙mi+˙minf+˙msys

ThirdOrderBackwardDifference[LINK]

Ctz=Nsli=1kgmassschedload106+Nzonesi=1˙miCzi+˙minfC+˙msysCsup+ρairVZCCO2δt(3Ctδtz32Ct2δtz+13Ct3δtz)ρairVZCCO2δt(116)+Nzonesi=1˙mi+˙minf+˙msys

AnalyticalSolution[LINK]

Ctz=⎢ ⎢ ⎢CtδtzNsli=1kgmassschedload106+Nzonesi=1˙miCzi+˙minfC+˙msysCsysNzonesi=1˙mi+˙minf+˙msys⎥ ⎥ ⎥exp⎜ ⎜Nzonesi=1˙mi+˙minf+˙msysρairVZCCO2δt⎟ ⎟+Nsli=1kgmassschedload106+Nzonesi=1˙miCzi+˙minfC+˙msysCsysNzonesi=1˙mi+˙minf+˙msys

The above solutions are implemented in the Correct Zone Air Carbon Dioxide step in the Zone Contaminant Predictor Corrector module of EnergyPlus.