blockGroupStatus

Block that outputs the zone group status

Information

This sequence sums up the zone level status calculation to find the outputs that are needed to define the zone group operation mode.

It requires following inputs from zone lelvel calculation:

  • zonOcc: if the zone-level local override switch indicates the zone is occupied,
  • u1Occ: if the zone is occupied according to its occupancy schedule,
  • tNexOcc: time to next occupied period,
  • uCooTim: required cooldown time,
  • uWarTim: required warm-up time,
  • u1OccHeaHig: if the zone temperature is lower than the occupied heating setpoint,
  • u1HigOccCoo: if the zone temperature is higher than the occupied cooling setpoint,
  • u1UnoHeaHig: if the zone temperature is lower than the unoccupied heating setpoint,
  • THeaSetOff: zone unoccupied heating setpoint,
  • u1EndSetBac: if the zone could end the setback mode,
  • u1HigUnoCoo: if the zone temperature is higher than its unoccupied cooling setpoint,
  • TCooSetOff: zone unoccupied cooling setpoint,
  • u1EndSetUp: if the zone could end the setup mode,
  • TZon: zone temperature,
  • uWin: True when the window is open, false when the window is close or the zone does not have window status sensor.

The sequence gives following outputs for zone group level calculation:

  • uGroOcc: the zone group should be in occupied mode when there is any zone becoming occupied according its schedule or due to the local override,
  • nexOcc: the shortest time to the next occupied period among all the zones in the group,
  • yCooTim: longest cooldown time,
  • yWarTim: longest warm-up time,
  • yOccHeaHig: if there is zone with temperature being lower than the occupied heating setpoint, so the group could be in the warm-up mode,
  • yHigOccCoo: if there is zone with temperature being higher than the occupied cooling setpoint, so the group could be in the cooldown mode,
  • yColZon: total number of zones that the temperature is lower than the unoccupied heating setpoint,
  • ySetBac: check if the group could be into setback mode due to that the average zone temperature is lower than the average unoccupied heating setpoint,
  • yEndSetBac: check if the group should end setback mode due to that all the zone temperature are above their unoccupied heating setpoint by a limited value,
  • yHotZon: total number of zones that the temperature is higher than the unoccupied cooling setpoint,
  • ySetUp: check if the group could be into setup mode due to that the average zone temperature is higher than the average unoccupied cooling setpoint,
  • yEndSetUp: check if the group should end setup mode due to that all the zone temperature are below their unoccupied cooling setpoint by a limited value,
  • TZonMax: maximum zone temperature in the zone group,
  • TZonMin: minimum zone temperature in the zone group,
  • yOpeWin: total number of opening windows.

Parameters

TypeNameDefaultDescription
IntegernBuiZon5Total number of zones in building
IntegernGroZonnBuiZonTotal number of zones in the group
Boolean[nBuiZon]zonGroMskfill(true, nBuiZon)Boolean array mask of zones included in group
Advanced
RealuLow-0.1Low limit of the hysteresis for checking temperature difference
RealuHigh0.1High limit of the hysteresis for checking temperature difference

Connectors

TypeNameDefaultDescription
Buildings.Controls.OBC.CDL.Interfaces.BooleanInput[nBuiZon]zonOccTrue when the zone is set to be occupied due to the override
Buildings.Controls.OBC.CDL.Interfaces.BooleanInput[nBuiZon]u1OccTrue when the zone is occupied according to the occupancy schedule
Buildings.Controls.OBC.CDL.Interfaces.RealInput[nBuiZon]tNexOccTime to next occupied period
Buildings.Controls.OBC.CDL.Interfaces.RealInput[nBuiZon]uCooTimCool down time
Buildings.Controls.OBC.CDL.Interfaces.RealInput[nBuiZon]uWarTimWarm-up time
Buildings.Controls.OBC.CDL.Interfaces.BooleanInput[nBuiZon]u1OccHeaHigTrue when the zone temperature is lower than the occupied heating setpoint
Buildings.Controls.OBC.CDL.Interfaces.BooleanInput[nBuiZon]u1HigOccCooTrue when the zone temperature is higher than the occupied cooling setpoint
Buildings.Controls.OBC.CDL.Interfaces.BooleanInput[nBuiZon]u1UnoHeaHigTrue when the zone temperature is lower than the unoccupied heating setpoint
Buildings.Controls.OBC.CDL.Interfaces.RealInput[nBuiZon]THeaSetOffZone unoccupied heating setpoint
Buildings.Controls.OBC.CDL.Interfaces.BooleanInput[nBuiZon]u1EndSetBacTrue when the zone could end the setback mode
Buildings.Controls.OBC.CDL.Interfaces.BooleanInput[nBuiZon]u1HigUnoCooTrue when the zone temperature is higher than its unoccupied cooling setpoint
Buildings.Controls.OBC.CDL.Interfaces.RealInput[nBuiZon]TCooSetOffZone unoccupied cooling setpoint
Buildings.Controls.OBC.CDL.Interfaces.BooleanInput[nBuiZon]u1EndSetUpTrue when the zone could end the setup mode
Buildings.Controls.OBC.CDL.Interfaces.RealInput[nBuiZon]TZonZone temperature
Buildings.Controls.OBC.CDL.Interfaces.BooleanInput[nBuiZon]u1WinWindow status, normally closed (true), when windows open, it becomes false. For zone without sensor, it is true
Buildings.Controls.OBC.CDL.Interfaces.BooleanOutputuGroOccTrue when the zone group is in occupied mode
Buildings.Controls.OBC.CDL.Interfaces.RealOutputnexOccTime to next occupied period
Buildings.Controls.OBC.CDL.Interfaces.RealOutputyCooTimCool down time
Buildings.Controls.OBC.CDL.Interfaces.RealOutputyWarTimWarm-up time
Buildings.Controls.OBC.CDL.Interfaces.BooleanOutputyOccHeaHigTrue when there is zone with temperature being lower than the occupied heating setpoint
Buildings.Controls.OBC.CDL.Interfaces.BooleanOutputyHigOccCooTrue when there is zone with temperature being higher than the occupied cooling setpoint
Buildings.Controls.OBC.CDL.Interfaces.IntegerOutputyColZonTotal number of cold zones
Buildings.Controls.OBC.CDL.Interfaces.BooleanOutputySetBacRun setback mode
Buildings.Controls.OBC.CDL.Interfaces.BooleanOutputyEndSetBacTrue when the group should end setback mode
Buildings.Controls.OBC.CDL.Interfaces.IntegerOutputyHotZonTotal number of hot zones
Buildings.Controls.OBC.CDL.Interfaces.BooleanOutputySetUpRun setup mode
Buildings.Controls.OBC.CDL.Interfaces.BooleanOutputyEndSetUpTrue when the group should end setup mode
Buildings.Controls.OBC.CDL.Interfaces.RealOutputTZonMaxMaximum zone temperature in the zone group
Buildings.Controls.OBC.CDL.Interfaces.RealOutputTZonMinMinimum zone temperature in the zone group
Buildings.Controls.OBC.CDL.Interfaces.IntegerOutputyOpeWinTotal number of open windows

Components

TypeNameDefaultDescription
Buildings.Controls.OBC.CDL.Logical.Not[nGroZon]not1Logical not

Revisions

  • June 10 15, 2020, by Jianjun Hu:
    First implementation.