blockSumZone

Calculate the sum of zone level setpoints

Information

This sequence sums up zone level minimum outdoor airflow setpoints and find the maximum outdoor air fraction. It is implemented according to Section 5.16.3.1 of ASHRAE Guideline G36, May 2020.

It calculates following values:

  1. Sum of the adjusted population component breathing zone flow rate VAdjPopBreZon_flow for all zones that are in all zone groups in occupied mode, VSumAdjPopBreZon_flow.
  2. Sum of the adjusted area component breathing zone flow rate VAdjAreBreZon_flow for all zones that are in all zone groups in occupied mode, VSumAdjAreBreZon_flow.
  3. Sum of the zone primary airflow rates VZonPri_flow for all zones in all zone groups that are in occupied mode,VSumZonPri_flow.
  4. Maximum zone outdoor air fraction for all zones in all zone groups that are in occupied mode, uOutAirFra_max.

See Buildings.Controls.OBC.ASHRAE.G36.VentilationZones.ASHRAE62_1.Setpoints for the detailed description of the inputs VAdjPopBreZon_flow, VAdjAreBreZon_flow and VMinOA_flow.

Parameters

TypeNameDefaultDescription
IntegernZonTotal number of serving zones
IntegernGroTotal number of groups
Integer[nGro,nZon]zonGroMatZone matrix with zone group as row index and zone as column index. It uses index 1 to flag which zone is in which group
Integer[nZon,nGro]zonGroMatTraTranspose of the zone matrix

Connectors

TypeNameDefaultDescription
Buildings.Controls.OBC.CDL.Interfaces.IntegerInput[nGro]uOpeModGroups operation mode
Buildings.Controls.OBC.CDL.Interfaces.RealInput[nZon]VAdjPopBreZon_flowAdjusted population component breathing zone flow rate
Buildings.Controls.OBC.CDL.Interfaces.RealInput[nZon]VAdjAreBreZon_flowAdjusted area component breathing zone flow rate
Buildings.Controls.OBC.CDL.Interfaces.RealInput[nZon]VZonPri_flowMeasured zone primary airflow rates
Buildings.Controls.OBC.CDL.Interfaces.RealInput[nZon]VMinOA_flowMinimum outdoor airflow setpoint
Buildings.Controls.OBC.CDL.Interfaces.RealOutputVSumAdjPopBreZon_flowSum of the adjusted population component breathing zone flow rate
Buildings.Controls.OBC.CDL.Interfaces.RealOutputVSumAdjAreBreZon_flowSum of the adjusted area component breathing zone flow rate
Buildings.Controls.OBC.CDL.Interfaces.RealOutputVSumZonPri_flowSum of the zone primary airflow rates for all zones in all zone groups that are in occupied mode
Buildings.Controls.OBC.CDL.Interfaces.RealOutputuOutAirFra_maxMaximum zone outdoor air fraction

Components

TypeNameDefaultDescription
Buildings.Controls.OBC.CDL.Reals.MatrixGaingroFloVector of total zone flow of each group
Buildings.Controls.OBC.CDL.Reals.MatrixGaingroFlo1Vector of total zone flow of each group
Buildings.Controls.OBC.CDL.Conversions.BooleanToReal[nGro]booToReaConvert boolean to real
Buildings.Controls.OBC.CDL.Reals.Multiply[nGro]mulFind the total flow of zone group
Buildings.Controls.OBC.CDL.Reals.Multiply[nGro]mul1Find the total flow of zone group
Buildings.Controls.OBC.CDL.Reals.MultiSummulSumSum of the adjusted population component breathing zone flow rate
Buildings.Controls.OBC.CDL.Reals.MultiSummulSum1Sum of the adjusted area component breathing zone flow rate
Buildings.Controls.OBC.CDL.Reals.MatrixGaingroFlo2Vector of total zone flow of each group
Buildings.Controls.OBC.CDL.Reals.Multiply[nGro]mul2Find the total flow of zone group
Buildings.Controls.OBC.CDL.Reals.MultiSummulSum2Sum of the zone primary airflow rates for all zones in all zone groups that are in occupied mode
Buildings.Controls.OBC.CDL.Reals.Divide[nZon]div1Zone outdoor air fraction
Buildings.Controls.OBC.CDL.Reals.MatrixGaingroFlo3Vector of zones in occupied mode
Buildings.Controls.OBC.CDL.Reals.Multiply[nZon]mul3Vector of zone outdoor air fraction
Buildings.Controls.OBC.CDL.Reals.MultiMaxmulMaxMaximum zone outdoor air fraction
Buildings.Controls.OBC.CDL.Integers.Sources.Constant[nGro]occModOccupied mode index
Buildings.Controls.OBC.CDL.Integers.Equal[nGro]intEqu1Check if operation mode is occupied
Buildings.Controls.OBC.CDL.Reals.Max[nZon]max2Avoid devide by zero
Buildings.Controls.OBC.CDL.Reals.Sources.Constant[nZon]neaZerNear zero value
Buildings.Controls.OBC.CDL.Reals.Min[nZon]min1Use smaller value

Revisions

  • March 12, 2022, by Jianjun Hu:
    First implementation.