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 matrix staMat is 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 matrix staMat is 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

TypeNameDefaultDescription
Buildings.Controls.OBC.ASHRAE.G36.Plants.Chillers.Generic.IdentifyStageideStaIdendify stage index
Buildings.Controls.OBC.ASHRAE.G36.Plants.Chillers.Generic.IdentifyStageideSta1Idendify stage index
Buildings.Controls.OBC.CDL.Logical.Notnot1Logical not
Buildings.Controls.OBC.CDL.Logical.Notnot2Logical not
Buildings.Controls.OBC.CDL.Logical.Notnot3Logical not
Buildings.Controls.OBC.CDL.Logical.Sources.Pulsechi1Chiller one status
Buildings.Controls.OBC.CDL.Logical.Sources.Pulsechi2Chiller two status
Buildings.Controls.OBC.CDL.Logical.Sources.Pulsechi3Chiller three status

Revisions

  • May 3, 2023, by Jianjun Hu:
    First implementation.