modelIdentifyStage
Validation identifying stage index
Information
This example validates Buildings.Controls.OBC.ASHRAE.G36.Plants.Chillers.Generic.IdentifyStage. It shows how to identify the current chiller stage.
-
For instance
ideSta, the staging matrixstaMatis specified as{{1,0}, {0,1}, {1,1}}, which means that in stage 1 chiller 1 is enabled, in stage 2 chiller 2 is enabled and in stage 3 both chillers are enabled.- Before 2.5 seconds, since chiller 1 and 2 are enabled, the current stage is 3.
- From 2.5 seconds to 3.5 seconds, chiller 2 is enabled and chiller 1 is disabled, the current stage is 2.
- After 3.5 seconds, both chillers are disabled, thus, the current stage is 0.
-
For instance
ideSta1, the staging matrixstaMatis specified as{{1,0,0},{1,1,0},{1,1,1}}, which means that in stage 1 chiller 1 is enabled, in stage 2 chiller 1 and 2 is enabled, and in stage 3 all 3 chillers are enabled.- Before 2.5 seconds, no chiller is enabled. The current chiller stage is 0.
- From 2.5 seconds to 3.5 seconds, only chiller 1 is enabled. Thus, the current chiller stage is 1.
- From 3.5 seconds to 4.5 seconds, chiller 1 and 2 are enabled. Thus, the current chiller stage is 2.
- After 4.5 seconds, all three chillers are enabled. Thus, the current chiller stage is 3.
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Buildings.Controls.OBC.ASHRAE.G36.Plants.Chillers.Generic.IdentifyStage | ideSta | Idendify stage index | |
| Buildings.Controls.OBC.ASHRAE.G36.Plants.Chillers.Generic.IdentifyStage | ideSta1 | Idendify stage index | |
| Buildings.Controls.OBC.CDL.Logical.Not | not1 | Logical not | |
| Buildings.Controls.OBC.CDL.Logical.Not | not2 | Logical not | |
| Buildings.Controls.OBC.CDL.Logical.Not | not3 | Logical not | |
| Buildings.Controls.OBC.CDL.Logical.Sources.Pulse | chi1 | Chiller one status | |
| Buildings.Controls.OBC.CDL.Logical.Sources.Pulse | chi2 | Chiller two status | |
| Buildings.Controls.OBC.CDL.Logical.Sources.Pulse | chi3 | Chiller three status |
Revisions
-
May 3, 2023, by Jianjun Hu:
First implementation.