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

TypeNameDefaultDescription
IntegernStasize(chaSta.staEqu, 1)Number of stages
Configuration
Realcp_default4184Default specific heat capacity
Realrho_default996Default specific heat capacity
Nominal condition
RealcapHea_nominalsum(chaSta.capEqu)Installed heating capacity
RealTHeaWatSup_nominal50 + 273.15Design HW supply temperature
RealTHeaWatRet_nominal42 + 273.15Design HW return temperature
RealVHeaWat_flow_nominalcapHea_nominal/(THeaWatSup_nominal - THeaWatRet_nominal)/cp_default/rho_defaultDesign primary HW volume flow rate

Components

TypeNameDefaultDescription
Buildings.Controls.OBC.CDL.Reals.Sources.TimeTableratV_flowSource signal for volume flow rate ratio
Buildings.Templates.Plants.Controls.StagingRotation.StageChangeCommandchaStaGenerate stage change command
Buildings.Controls.OBC.CDL.Reals.Sources.ConstantTSupSetHWST setpoint
Buildings.Controls.OBC.CDL.Reals.Sources.ConstantTRetHWRT
Utilities.StageIndexidxStaCompute stage index
Buildings.Controls.OBC.CDL.Logical.Sources.Constantu1LeaLead equipment enable signal
Buildings.Controls.OBC.CDL.Logical.Sources.Constant[nSta]u1AvaStaStage available signal
Buildings.Controls.OBC.CDL.Logical.TrueFalseHoldy1UpHolHold stage up command for plotting
Buildings.Controls.OBC.CDL.Logical.TrueFalseHoldy1DowHolHold stage down command for plotting
Buildings.Controls.OBC.CDL.Reals.MultiplyByParameterV_flowScale by design flow
Buildings.Templates.Plants.Controls.StagingRotation.EquipmentEnableenaEquEnable equipment
Buildings.Controls.OBC.CDL.Integers.Sources.Constant[2]idxEquLeaLagIndices of lead/lag equipment
Buildings.Controls.OBC.CDL.Logical.Sources.Constant[3]u1AvaEquEquipment available signal
Components.Controls.StatusEmulator[3]staEquEvaluate equipment status
Buildings.Templates.Plants.Controls.StagingRotation.StageCompletioncomStaCheck completion of stage change

Revisions

  • March 29, 2024, by Antoine Gautier:
    First implementation.