modelSortRuntime

Validation model for equipment runtime sorting logic

Information

The simulation shows that even wear is achieved among available equipment. When it becomes unavailable, equipment #1 is sent to last position (sorRunTim.yIdx[3]=1), and automatically moves up in the staging order only if another equipment (#3) becomes unavailable (sorRunTim.yIdx[3]=3 and sorRunTim.yIdx[2]=1).

We can verify that no equipment gets "hot swapped".

Components

TypeNameDefaultDescription
Buildings.Templates.Plants.Controls.StagingRotation.SortRuntimesorRunTimSort runtime
Utilities.TrueArrayConditionalu1EnaEquipment enable signal
Buildings.Controls.OBC.CDL.Logical.Sources.TimeTableu1AvaEquEquipment available signal
Utilities.StageIndexidxSta
Buildings.Controls.OBC.CDL.Logical.Sources.Constantu1LeaLead equipment enable signal
Buildings.Controls.OBC.CDL.Logical.Sources.SampleTriggerupPulStage up command pulse
Buildings.Controls.OBC.CDL.Logical.Sources.SampleTriggerdowPulStage down command pulse
Buildings.Controls.OBC.CDL.Logical.Sources.TimeTablebooTimTabSignal to inhibit up and down commands
Buildings.Controls.OBC.CDL.Logical.AndupStage up command
Buildings.Controls.OBC.CDL.Logical.AnddowStage up command
Buildings.Controls.OBC.CDL.Logical.Sources.Constant[3]u1AvaStaStage available signal
Buildings.Controls.OBC.CDL.Logical.And[3]runReturns true if equipment is enabled and available
Components.Controls.StatusEmulator[3]y1_actualEquipment status

Revisions

  • July 10, 2024, by Antoine Gautier:
    Updated the model with StatusEmulator.
  • March 29, 2024, by Antoine Gautier:
    First implementation.