blockChange

Calculates the chiller stage signal

Information

This subsequence is not directly specified in Guideline36 as it provides a side calculation pertaining to the generalization of the staging sequences for any number of chillers and stages provided by the user.

This subsequence is used to generate the chiller stage setpoint ySta and a boolean vector of chiller status setpoint indices y for the ySta stage.

The inputs to the subsequece are:

If stage down and stage up happen at the same time for any faulty reason the staging down is performed.

If stage down or stage up signal is held for a time longer than delStaCha multiple consecutive stage change signals are issued.

At plant enable the intial stage uIni is held for at least delStaCha and until any stage up or down signal is generated.

Per Guideline 36-2021, section 5.20.4.15.a. Each stage shall have a minimum runtime of delStaCha.

Parameters

TypeNameDefaultDescription
IntegernSta3Number of chiller stages, does not include zero stage
RealdelStaCha900Hold period for each stage change

Connectors

TypeNameDefaultDescription
Buildings.Controls.OBC.CDL.Interfaces.BooleanInputuPlaPlant enable signal
Buildings.Controls.OBC.CDL.Interfaces.BooleanInputuUpStage up status
Buildings.Controls.OBC.CDL.Interfaces.BooleanInputuDowStage down signal
Buildings.Controls.OBC.CDL.Interfaces.IntegerInputuIniInitial chiller stage (at plant enable)
Buildings.Controls.OBC.CDL.Interfaces.IntegerInputuAvaUpNext available stage up
Buildings.Controls.OBC.CDL.Interfaces.IntegerInputuAvaDowNext available stage down
Buildings.Controls.OBC.CDL.Interfaces.BooleanOutputyChaEdgChiller stage change edge signal
Buildings.Controls.OBC.CDL.Interfaces.BooleanOutputyChaUpEdgChiller stage up change edge signal
Buildings.Controls.OBC.CDL.Interfaces.BooleanOutputyChaDowEdgChiller stage down change edge signal
Buildings.Controls.OBC.CDL.Interfaces.IntegerOutputyStaChiller stage integer setpoint

Revisions

  • April 14, 2020, by Milica Grahovac:
    First implementation.