modelSelectSortedAvailable
Validation model for the equipment selection at a given stage, given a priority order
Information
This model validates Buildings.Templates.Plants.Controls.StagingRotation.BaseClasses.SelectSortedAvailable in a configuration with one small unit and two lead/lag alternate units.
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Real[:,:] | staEqu | [1, 0, 0; 0, 1/2, 1/2; 1, 1/2, 1/2; 0, 1, 1; 1, 1, 1] | Staging matrix – Equipment required for each stage |
| Integer | nSta | size(staEqu, 1) | Number of stages |
| Integer | nEqu | size(staEqu, 2) | Number of pieces of equipment |
| Integer | nEquAlt | 2 | Number of lead/lag alternate units |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Buildings.Templates.Plants.Controls.StagingRotation.BaseClasses.SelectSortedAvailable | selSorAva | Select available equipment by priority order | |
| Buildings.Controls.OBC.CDL.Reals.Sources.Constant[nEqu,nSta] | staTra | Transpose of staging matrix | |
| Buildings.Controls.OBC.CDL.Routing.RealExtractor[nEqu] | reqEquSta | Extract equipment required at given stage | |
| Buildings.Controls.OBC.CDL.Logical.Sources.TimeTable | u1AvaEqu | Equipment available signal | |
| Buildings.Controls.OBC.CDL.Integers.Sources.TimeTable | idxSta | Stage index | |
| Buildings.Controls.OBC.CDL.Routing.IntegerScalarReplicator | intScaRep | Replicate | |
| Buildings.Controls.OBC.CDL.Integers.Sources.TimeTable | uIdxSor | Equipment index sorted by priority | |
| Buildings.Templates.Plants.Controls.StagingRotation.BaseClasses.SelectEquipmentAtStage | selEquSta | Calculate number of required units at each stage |
Revisions
-
June 10, 2026, by Antoine Gautier:
First implementation.