modelStageChangeCommand
Validation model for stage change logic
Information
This model validates
Buildings.Templates.Plants.Controls.StagingRotation.StageChangeCommand
in a configuration with one small unit and two large equally sized
units (component avaStaOneTwo).
In response to a varying flow rate, the variation of the
required capacity chaSta.capReq.y triggers stage change
events.
The block
Buildings.Templates.Plants.Controls.Utilities.StageIndex
is used to illustrate how these events translate into
a varying plant stage index idxSta.y.
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Integer | nSta | size(chaSta.staEqu, 1) | Number of stages |
| Configuration | |||
| Real | cp_default | 4184 | Default specific heat capacity |
| Real | rho_default | 996 | Default specific heat capacity |
| Nominal condition | |||
| Real | capHea_nominal | sum(chaSta.capEqu) | Installed heating capacity |
| Real | THeaWatSup_nominal | 50 + 273.15 | Design HW supply temperature |
| Real | THeaWatRet_nominal | 42 + 273.15 | Design HW return temperature |
| Real | VHeaWat_flow_nominal | capHea_nominal/(THeaWatSup_nominal - THeaWatRet_nominal)/cp_default/rho_default | Design primary HW volume flow rate |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Buildings.Controls.OBC.CDL.Reals.Sources.TimeTable | ratV_flow | Source signal for volume flow rate ratio | |
| Buildings.Templates.Plants.Controls.StagingRotation.StageChangeCommand | chaSta | Generate stage change command | |
| Buildings.Controls.OBC.CDL.Reals.Sources.Constant | TSupSet | HWST setpoint | |
| Buildings.Controls.OBC.CDL.Reals.Sources.Constant | TRet | HWRT | |
| Utilities.StageIndex | idxSta | Compute stage index | |
| Buildings.Controls.OBC.CDL.Logical.Sources.Constant | u1Lea | Lead equipment enable signal | |
| Buildings.Controls.OBC.CDL.Logical.Sources.Constant[nSta] | u1AvaSta | Stage available signal | |
| Buildings.Controls.OBC.CDL.Logical.TrueFalseHold | y1UpHol | Hold stage up command for plotting | |
| Buildings.Controls.OBC.CDL.Logical.TrueFalseHold | y1DowHol | Hold stage down command for plotting | |
| Buildings.Controls.OBC.CDL.Reals.MultiplyByParameter | V_flow | Scale by design flow | |
| Buildings.Templates.Plants.Controls.StagingRotation.EquipmentEnable | enaEqu | Enable equipment | |
| Buildings.Controls.OBC.CDL.Integers.Sources.Constant[2] | idxEquLeaLag | Indices of lead/lag equipment | |
| Buildings.Controls.OBC.CDL.Logical.Sources.Constant[3] | u1AvaEqu | Equipment available signal | |
| Components.Controls.StatusEmulator[3] | staEqu | Evaluate equipment status | |
| Buildings.Templates.Plants.Controls.StagingRotation.StageCompletion | comSta | Check completion of stage change |
Revisions
-
March 29, 2024, by Antoine Gautier:
First implementation.