QUALIFIED_CAPACITY_ALLOC
Shares a stage flow request across up to twelve parallel treatment units by their present allowed capacity, publishes the qualified capacity, and advises adding, removing or releasing a unit.
When to use it
Use QUALIFIED_CAPACITY_ALLOC when a treatment stage has two to twelve parallel units - clarification trains, filters or contactor trains, UV reactors, ozone paths, contact cells - and one gross flow request for the stage must be split across the units that are qualified now, each inside its own minimum and allowed maximum.
Interface
The published port signature. This is the whole of what the block exposes to your program — the implementation body is not shown here and ships with the download.
Inputs
| Port | Type | Unit |
|---|---|---|
| ENABLE | BOOL | — |
| DEMAND | REAL | MGD |
| DEMAND_OK | BOOL | — |
| CAP_LIMIT | REAL | MGD |
| N_UNITS | INT | — |
| UNIT_QUAL_1 | BOOL | — |
| UNIT_QUAL_2 | BOOL | — |
| UNIT_QUAL_3 | BOOL | — |
| UNIT_QUAL_4 | BOOL | — |
| UNIT_QUAL_5 | BOOL | — |
| UNIT_QUAL_6 | BOOL | — |
| UNIT_QUAL_7 | BOOL | — |
| UNIT_QUAL_8 | BOOL | — |
| UNIT_QUAL_9 | BOOL | — |
| UNIT_QUAL_10 | BOOL | — |
| UNIT_QUAL_11 | BOOL | — |
| UNIT_QUAL_12 | BOOL | — |
| UNIT_CAP_1 | REAL | MGD |
| UNIT_CAP_2 | REAL | MGD |
| UNIT_CAP_3 | REAL | MGD |
| UNIT_CAP_4 | REAL | MGD |
| UNIT_CAP_5 | REAL | MGD |
| UNIT_CAP_6 | REAL | MGD |
| UNIT_CAP_7 | REAL | MGD |
| UNIT_CAP_8 | REAL | MGD |
| UNIT_CAP_9 | REAL | MGD |
| UNIT_CAP_10 | REAL | MGD |
| UNIT_CAP_11 | REAL | MGD |
| UNIT_CAP_12 | REAL | MGD |
| UNIT_STARTING_1 | BOOL | — |
| UNIT_STARTING_2 | BOOL | — |
| UNIT_STARTING_3 | BOOL | — |
| UNIT_STARTING_4 | BOOL | — |
| UNIT_STARTING_5 | BOOL | — |
| UNIT_STARTING_6 | BOOL | — |
| UNIT_STARTING_7 | BOOL | — |
| UNIT_STARTING_8 | BOOL | — |
| UNIT_STARTING_9 | BOOL | — |
| UNIT_STARTING_10 | BOOL | — |
| UNIT_STARTING_11 | BOOL | — |
| UNIT_STARTING_12 | BOOL | — |
| UNIT_REMOVE_REQ_1 | BOOL | — |
| UNIT_REMOVE_REQ_2 | BOOL | — |
| UNIT_REMOVE_REQ_3 | BOOL | — |
| UNIT_REMOVE_REQ_4 | BOOL | — |
| UNIT_REMOVE_REQ_5 | BOOL | — |
| UNIT_REMOVE_REQ_6 | BOOL | — |
| UNIT_REMOVE_REQ_7 | BOOL | — |
| UNIT_REMOVE_REQ_8 | BOOL | — |
| UNIT_REMOVE_REQ_9 | BOOL | — |
| UNIT_REMOVE_REQ_10 | BOOL | — |
| UNIT_REMOVE_REQ_11 | BOOL | — |
| UNIT_REMOVE_REQ_12 | BOOL | — |
| UNIT_MIN | REAL | MGD |
| ADD_PCT | REAL | % |
| REMOVE_PCT | REAL | % |
| ADD_DWELL | TIME | — |
| REMOVE_DWELL | TIME | — |
| SP_RAMP | REAL | MGD/min |
Outputs
| Port | Type | Unit |
|---|---|---|
| UNIT_SP_1 | REAL | MGD |
| UNIT_SP_2 | REAL | MGD |
| UNIT_SP_3 | REAL | MGD |
| UNIT_SP_4 | REAL | MGD |
| UNIT_SP_5 | REAL | MGD |
| UNIT_SP_6 | REAL | MGD |
| UNIT_SP_7 | REAL | MGD |
| UNIT_SP_8 | REAL | MGD |
| UNIT_SP_9 | REAL | MGD |
| UNIT_SP_10 | REAL | MGD |
| UNIT_SP_11 | REAL | MGD |
| UNIT_SP_12 | REAL | MGD |
| ALLOC_TOTAL | REAL | MGD |
| AVAIL_CAP | REAL | MGD |
| N_QUAL | INT | — |
| ONE_LEFT | BOOL | — |
| CONSTRAINED | BOOL | — |
| STANDBY_REQ | BOOL | — |
| SURPLUS_ADV | BOOL | — |
| REMOVE_OK_1 | BOOL | — |
| REMOVE_OK_2 | BOOL | — |
| REMOVE_OK_3 | BOOL | — |
| REMOVE_OK_4 | BOOL | — |
| REMOVE_OK_5 | BOOL | — |
| REMOVE_OK_6 | BOOL | — |
| REMOVE_OK_7 | BOOL | — |
| REMOVE_OK_8 | BOOL | — |
| REMOVE_OK_9 | BOOL | — |
| REMOVE_OK_10 | BOOL | — |
| REMOVE_OK_11 | BOOL | — |
| REMOVE_OK_12 | BOOL | — |
| ALM_CFG_ERR | BOOL | — |
IEC 61499 event interface
EI INIT, REQ·EO INITO, CNF
Validation evidence
- Tests
- 14
- Simulated scans
- 3478
- Simulator
- v0.1.0
Complete IEC 61131-3 implementation with a published test suite that runs on the vplant simulator. The counts above are that suite, executed on this build.
- Conforms to IEC 61131-3
- Conforms to IEC 61499
Download QUALIFIED_CAPACITY_ALLOC — free
Create a free Ri Tech account to download the block. You get the Structured Text body, the Rockwell Add-On Instruction (.L5X), the Schneider Control Expert DFB (.XDB), PLCopen XML, the IEC 61499 function block type (.fbt) and the datasheet.
Every block in the catalogue is free to download, in every format it ships, with no purchase and no card. Browsing needs no account at all; downloading needs a signed-in one, so the block lands in your library and re-downloads whenever you need it.
Source is never published on this page. The implementation is released to a signed-in Ri Tech account — free of charge, but never anonymously.