modelOperationMode
Validate block for selecting operation mode
Information
This example validates Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.OperationMode for a change of zone temperature and occupancy schedule.
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.OperationMode | opeModSel | Operation mode selection | |
| Buildings.Controls.OBC.CDL.Reals.Sources.Ramp | ramp1 | Block that generates ramp signal | |
| Buildings.Controls.OBC.CDL.Reals.Sin | sin1 | Block that outputs the sine of the input | |
| Buildings.Controls.OBC.CDL.Reals.AddParameter | zonTem | Zone temperarure | |
| Buildings.Controls.OBC.CDL.Reals.Sources.Constant | TZonHeaSetUno | Unoccupied heating setpoint | |
| Buildings.Controls.OBC.CDL.Reals.Sources.Constant | TZonCooSetUno | Unoccupied cooling setpoint | |
| Buildings.Controls.OBC.CDL.Reals.Sources.Constant | TZonHeaSetOcc | Occupied heating setpoint | |
| Buildings.Controls.OBC.CDL.Reals.Sources.Constant | TZonCooSetOcc | Occupied cooling setpoint | |
| Buildings.Controls.OBC.CDL.Reals.Sources.Constant | warUpTim | Warm-up time | |
| Buildings.Controls.OBC.CDL.Reals.Sources.Constant | cooDowTim | Cooling down time | |
| Buildings.Controls.OBC.CDL.Integers.Sources.Constant | cloWin | No window is open | |
| Buildings.Controls.OBC.CDL.Reals.Greater | lowThaHeaSet | True when the zone temperature is lower than the occupied heating setpoint | |
| Buildings.Controls.OBC.CDL.Reals.Greater | higThaCooSet | True when the zone temperature is higher than the occupied cooling setpoint | |
| Buildings.Controls.OBC.CDL.Reals.Greater | greEqu2 | True when the zone temperature is lower than unoccupied heating setpoint | |
| Buildings.Controls.OBC.CDL.Conversions.BooleanToInteger | booToInt | Convert boolean to integer | |
| Buildings.Controls.OBC.CDL.Reals.Greater | greEqu3 | True when the zone temperature is lower than unoccupied heating setpoint | |
| Buildings.Controls.OBC.CDL.Conversions.BooleanToInteger | booToInt1 | Convert boolean to integer | |
| Buildings.Controls.SetPoints.OccupancySchedule | occSch | Occupancy schedule | |
| Buildings.Controls.OBC.CDL.Reals.Subtract | dif2 | Calculate zone temperature difference to unoccupied heating setpoint | |
| Buildings.Controls.OBC.CDL.Reals.Hysteresis | hys3 | Hysteresis that outputs if the zone temperature is higher than its unoccupied heating setpoint by a given limit | |
| Buildings.Controls.OBC.CDL.Reals.Subtract | dif1 | Calculate zone temperature difference to unoccupied cooling setpoint | |
| Buildings.Controls.OBC.CDL.Reals.Hysteresis | hys1 | Hysteresis that outputs if the zone temperature is lower than its unoccupied cooling setpoint by a given limit | |
| Buildings.Controls.OBC.CDL.Reals.MultiplyByParameter | gai | Gain factor |
Revisions
-
April 29, 2020, by Kun Zhang:
Changed zone temperature profile to showcase warm-up and cool down mode.
This is for #1893. -
March 21, 2019, by Jianjun Hu:
Reimplemented occupancy schedule block to avoid use block that is not in CDL. This is for issue 1389. -
June 19, 2017, by Jianjun Hu:
First implementation.