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.Obsolete.Controls.OBC.ASHRAE.G36_PR1.Types.ZoneStates.
The logic of the block is as follows.
uHea > uHigh
, where
uHigh
is a parameter,
and (ii) the following condition is satisfied uHea - uCoo > uLow
,
where uCoo
is the cooling control signal and uLow
is a parameter.
The second condition is
used to avoid errors when uHea > 0
and uCoo > 0
at the same time.
uCoo > uHigh
, where uHigh
is a parameter.
If uCoo < uLow
, then the zone state is not cooling.
multiSum
block with two addition blocks to avoid vector related implementation.