Buildings.Controls.OBC.ASHRAE.G36
Package with control sequences from ASHRAE Guideline 36
Information
This package contains control sequences from ASHRAE Guideline 36 (G36). All sequences are created using blocks from the Buildings.Controls.OBC.CDL library, following the CDL specification.
The G36 library is structured as follows:
- Buildings.Controls.OBC.ASHRAE.G36.AHUs contains control sequences for generating controller setpoints such as for the supply air temperature, and actuation signals for mechanical elements of an AHU such as for the outdoor air damper position.
- Buildings.Controls.OBC.ASHRAE.G36.Types is a library of constants that are used to indicate the operation mode, such as freeze protections status and demand response status.
- Buildings.Controls.OBC.ASHRAE.G36.Generic contains sequences that are utilized across various parts of an HVAC system, such as for AHU and for terminal unit control.
- Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits contains control sequences for terminal units, such as setpoints for the minimal zone airflow rates and actuator signals for the terminal unit dampers.
Implementation of PID controllers
For the PID controllers, the implementation in Buildings.Controls.OBC.CDL.Reals.PID is used. Hence, the PID controllers are in the standard form
y(t) = k ( e(t) + 1 ⁄ Ti ∫ e(s) ds + Td de(t)⁄dt ),
where y(t) is the control signal, e(t) = us(t) - um(t) is the control error, with us(t) being the set point and um(t) being the measured quantity, k is the gain, Ti is the time constant of the integral term and Td is the time constant of the derivative term.
Note that the units of k are the inverse of the units of the control error, while the units of Ti and Td are seconds. As the units of flow rates and pressure can vary between orders of magnitude, for example depening on whether cfm, m3⁄s or m3⁄h are used for flow measurements, the control error is normalized as follows:
- For temperatures, no normalization is used, and the units of k are 1/Kelvin. No normalization is used because 1 Kelvin is 1.8 Fahrenheit, and hence these are of the same order of magnitude.
- For air flow rate control, the design flow rate is used to normalize the control error, and hence k is unitless. This also allows to use the same control gain for flows of different magnitudes, for example for a VAV box of a large and a small room, provided the rooms have similar transient response.
- For pressure control, the pressure difference is used to normalize the control error, and hence k is unitless.
Guideline 36 is specific as the where a P or a PI controller should be used. These recommendations are used as the default control configuration. However, all controllers can be configured as P, PI or PID controller. This allows to configure a PI controller as a P controller as part of the tuning process.
References
ASHRAE Guideline 36P, High Performance Sequences of Operation for HVAC systems. Official Release, May 2020.
Package Content
Name | Description |
---|---|
AHUs | AHU Sequences as defined in guideline G36 |
Generic | Generic control sequences |
TerminalUnits | Control sequences for terminal units |
ThermalZones | Package of sequences for calculating temperature setpoint |
VentilationZones | Package of sequences calculating ventilation airflow |
ZoneGroups | Package of sequences in zone group level |
Types | Package with type definitions for control sequences |