blockZoneStates
Select the zone state
Information
Block that outputs the zone state. It first checks if the zone is in heating state; if not, it checks if the zone is in cooling state; otherwise it is in deadband state.
These states are defined in Buildings.Controls.OBC.ASHRAE.G36.Types.ZoneStates.
The logic of the block is as follows.
-
The zone state is heating when both of the following two conditions are satisfied:
(i) The heating control signal satisfies
uHea > uHigh, whereuHighis a parameter, and (ii) the following condition is satisfieduHea - uCoo > uLow, whereuCoois the cooling control signal anduLowis a parameter. The second condition is used to avoid errors whenuHea > 0anduCoo > 0at the same time. -
The zone state is cooling when the zone state is not heating and the cooling control signal satisfies
uCoo > uHigh, whereuHighis a parameter. IfuCoo < uLow, then the zone state is not cooling. - The zone state is deadband when it is neither in heating state nor in cooling state.
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Real | uLow | 0.01 | Hysteresis parameter uLow for heating and cooling control signals to avoid chattering |
| Real | uHigh | 0.05 | Hysteresis parameter uHigh for heating and cooling control signals to avoid chattering |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| Buildings.Controls.OBC.CDL.Interfaces.RealInput | uHea | Heating control signal | |
| Buildings.Controls.OBC.CDL.Interfaces.RealInput | uCoo | Cooling control signal | |
| Buildings.Controls.OBC.CDL.Interfaces.IntegerOutput | yZonSta | Zone state |
Revisions
-
March 13, 2020, by Jianjun Hu:
ReplacedmultiSumblock with two addition blocks to avoid vector related implementation.
This is for #1709. -
September 11, 2019, by Kun Zhang:
Improved the implementation to avoid issues when heating and cooling controls occur at the same time. -
October 24, 2018, by David Blum:
First implementation.