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.

Validated application blockWTP · Pumping & StorageIEC 61131-3IEC 61499v1.0.0

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

PortTypeUnit
ENABLEBOOL—
DEMANDREALMGD
DEMAND_OKBOOL—
CAP_LIMITREALMGD
N_UNITSINT—
UNIT_QUAL_1BOOL—
UNIT_QUAL_2BOOL—
UNIT_QUAL_3BOOL—
UNIT_QUAL_4BOOL—
UNIT_QUAL_5BOOL—
UNIT_QUAL_6BOOL—
UNIT_QUAL_7BOOL—
UNIT_QUAL_8BOOL—
UNIT_QUAL_9BOOL—
UNIT_QUAL_10BOOL—
UNIT_QUAL_11BOOL—
UNIT_QUAL_12BOOL—
UNIT_CAP_1REALMGD
UNIT_CAP_2REALMGD
UNIT_CAP_3REALMGD
UNIT_CAP_4REALMGD
UNIT_CAP_5REALMGD
UNIT_CAP_6REALMGD
UNIT_CAP_7REALMGD
UNIT_CAP_8REALMGD
UNIT_CAP_9REALMGD
UNIT_CAP_10REALMGD
UNIT_CAP_11REALMGD
UNIT_CAP_12REALMGD
UNIT_STARTING_1BOOL—
UNIT_STARTING_2BOOL—
UNIT_STARTING_3BOOL—
UNIT_STARTING_4BOOL—
UNIT_STARTING_5BOOL—
UNIT_STARTING_6BOOL—
UNIT_STARTING_7BOOL—
UNIT_STARTING_8BOOL—
UNIT_STARTING_9BOOL—
UNIT_STARTING_10BOOL—
UNIT_STARTING_11BOOL—
UNIT_STARTING_12BOOL—
UNIT_REMOVE_REQ_1BOOL—
UNIT_REMOVE_REQ_2BOOL—
UNIT_REMOVE_REQ_3BOOL—
UNIT_REMOVE_REQ_4BOOL—
UNIT_REMOVE_REQ_5BOOL—
UNIT_REMOVE_REQ_6BOOL—
UNIT_REMOVE_REQ_7BOOL—
UNIT_REMOVE_REQ_8BOOL—
UNIT_REMOVE_REQ_9BOOL—
UNIT_REMOVE_REQ_10BOOL—
UNIT_REMOVE_REQ_11BOOL—
UNIT_REMOVE_REQ_12BOOL—
UNIT_MINREALMGD
ADD_PCTREAL%
REMOVE_PCTREAL%
ADD_DWELLTIME—
REMOVE_DWELLTIME—
SP_RAMPREALMGD/min

Outputs

PortTypeUnit
UNIT_SP_1REALMGD
UNIT_SP_2REALMGD
UNIT_SP_3REALMGD
UNIT_SP_4REALMGD
UNIT_SP_5REALMGD
UNIT_SP_6REALMGD
UNIT_SP_7REALMGD
UNIT_SP_8REALMGD
UNIT_SP_9REALMGD
UNIT_SP_10REALMGD
UNIT_SP_11REALMGD
UNIT_SP_12REALMGD
ALLOC_TOTALREALMGD
AVAIL_CAPREALMGD
N_QUALINT—
ONE_LEFTBOOL—
CONSTRAINEDBOOL—
STANDBY_REQBOOL—
SURPLUS_ADVBOOL—
REMOVE_OK_1BOOL—
REMOVE_OK_2BOOL—
REMOVE_OK_3BOOL—
REMOVE_OK_4BOOL—
REMOVE_OK_5BOOL—
REMOVE_OK_6BOOL—
REMOVE_OK_7BOOL—
REMOVE_OK_8BOOL—
REMOVE_OK_9BOOL—
REMOVE_OK_10BOOL—
REMOVE_OK_11BOOL—
REMOVE_OK_12BOOL—
ALM_CFG_ERRBOOL—

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.