blockZoneStatusDuplicator

Duplicate zone status output

Information

This block duplicates the signals of nZon by converting the input vector-valued signals of dimension nZon to a matrix-valued output of dimension [nZonGro, nZon].

This block prevent the use of for loops in the connectors between zones and zone groups by connecting all the zones to each Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.GroupStatus.

Parameters

TypeNameDefaultDescription
IntegernZon1Number of zones in input
IntegernZonGro1Number of groups in output

Connectors

TypeNameDefaultDescription
Buildings.Controls.OBC.CDL.Interfaces.BooleanInput[nZon]zonOccTrue when the zone is set to be occupied due to the override
Buildings.Controls.OBC.CDL.Interfaces.BooleanInput[nZon]u1OccTrue when the zone is occupied according to the occupancy schedule
Buildings.Controls.OBC.CDL.Interfaces.RealInput[nZon]tNexOccTime to next occupied period
Buildings.Controls.OBC.CDL.Interfaces.RealInput[nZon]uCooTimCool down time
Buildings.Controls.OBC.CDL.Interfaces.RealInput[nZon]uWarTimWarm-up time
Buildings.Controls.OBC.CDL.Interfaces.BooleanInput[nZon]u1OccHeaHigTrue when the zone temperature is lower than the occupied heating setpoint
Buildings.Controls.OBC.CDL.Interfaces.BooleanInput[nZon]u1HigOccCooTrue when the zone temperature is higher than the occupied cooling setpoint
Buildings.Controls.OBC.CDL.Interfaces.BooleanInput[nZon]u1UnoHeaHigTrue when the zone temperature is lower than the unoccupied heating setpoint
Buildings.Controls.OBC.CDL.Interfaces.RealInput[nZon]THeaSetOffZone unoccupied heating setpoint
Buildings.Controls.OBC.CDL.Interfaces.BooleanInput[nZon]u1EndSetBacTrue when the zone could end the setback mode
Buildings.Controls.OBC.CDL.Interfaces.BooleanInput[nZon]u1HigUnoCooTrue when the zone temperature is higher than its unoccupied cooling setpoint
Buildings.Controls.OBC.CDL.Interfaces.RealInput[nZon]TCooSetOffZone unoccupied cooling setpoint
Buildings.Controls.OBC.CDL.Interfaces.BooleanInput[nZon]u1EndSetUpTrue when the zone could end the setup mode
Buildings.Controls.OBC.CDL.Interfaces.RealInput[nZon]TZonZone temperature
Buildings.Controls.OBC.CDL.Interfaces.BooleanInput[nZon]u1WinWindow status, normally closed (true), when windows open, it becomes false. For zone without sensor, it is true
Buildings.Controls.OBC.CDL.Interfaces.BooleanOutput[nZonGro,nZon]y1ZonOccTrue when the zone is set to be occupied due to the override
Buildings.Controls.OBC.CDL.Interfaces.BooleanOutput[nZonGro,nZon]y1OccTrue when the zone is occupied according to the occupancy schedule
Buildings.Controls.OBC.CDL.Interfaces.RealOutput[nZonGro,nZon]ytNexOccTime to next occupied period
Buildings.Controls.OBC.CDL.Interfaces.RealOutput[nZonGro,nZon]yCooTimCool down time
Buildings.Controls.OBC.CDL.Interfaces.RealOutput[nZonGro,nZon]yWarTimWarm-up time
Buildings.Controls.OBC.CDL.Interfaces.BooleanOutput[nZonGro,nZon]y1OccHeaHigTrue when the zone temperature is lower than the occupied heating setpoint
Buildings.Controls.OBC.CDL.Interfaces.BooleanOutput[nZonGro,nZon]y1HigOccCooTrue when the zone temperature is higher than the occupied cooling setpoint
Buildings.Controls.OBC.CDL.Interfaces.BooleanOutput[nZonGro,nZon]y1UnoHeaHigTrue when the zone temperature is lower than the unoccupied heating setpoint
Buildings.Controls.OBC.CDL.Interfaces.RealOutput[nZonGro,nZon]yTHeaSetOffZone unoccupied heating setpoint
Buildings.Controls.OBC.CDL.Interfaces.BooleanOutput[nZonGro,nZon]y1EndSetBacTrue when the zone could end the setback mode
Buildings.Controls.OBC.CDL.Interfaces.BooleanOutput[nZonGro,nZon]y1HigUnoCooTrue when the zone temperature is higher than its unoccupied cooling setpoint
Buildings.Controls.OBC.CDL.Interfaces.RealOutput[nZonGro,nZon]yTCooSetOffZone unoccupied cooling setpoint
Buildings.Controls.OBC.CDL.Interfaces.BooleanOutput[nZonGro,nZon]y1EndSetUpTrue when the zone could end the setup mode
Buildings.Controls.OBC.CDL.Interfaces.RealOutput[nZonGro,nZon]yTZonZone temperature
Buildings.Controls.OBC.CDL.Interfaces.BooleanOutput[nZonGro,nZon]y1WinTrue when the window is open, false when the window is close or the zone does not have window status sensor

Revisions

  • June 23, 2021, by Baptiste Ravache:
    First implementation.