PRODUCTION_MASTER
Plant production master: available capacity as the minimum of up to 8 serial stages, gross request from demand feedforward plus a slow storage trim, capped, rate limited, and split into the raw pump request.
When to use it
Use PRODUCTION_MASTER when a plant coordinator sets one gross treatment flow request (MGD) from net plant demand and finished storage volume, capped by the capacities of up to 8 serial stages that each area publishes and by a standby-power flow cap, and passes the raw pump bank the gross request minus admitted recycle.
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 | — |
| STORAGE_VOL | REAL | MG |
| STORAGE_SP | REAL | MG |
| STORAGE_OK | BOOL | — |
| NET_DEMAND | REAL | MGD |
| DEMAND_OK | BOOL | — |
| WITHDRAWALS | REAL | MGD |
| RESERVE | REAL | MGD |
| RECYCLE | REAL | MGD |
| GROSS_PV | REAL | MGD |
| FLOW_CAP | REAL | MGD |
| INHIBIT_UP | BOOL | — |
| N_STAGES | INT | — |
| STAGE_CAP_1 | REAL | MGD |
| STAGE_CAP_2 | REAL | MGD |
| STAGE_CAP_3 | REAL | MGD |
| STAGE_CAP_4 | REAL | MGD |
| STAGE_CAP_5 | REAL | MGD |
| STAGE_CAP_6 | REAL | MGD |
| STAGE_CAP_7 | REAL | MGD |
| STAGE_CAP_8 | REAL | MGD |
| STAGE_OK_1 | BOOL | — |
| STAGE_OK_2 | BOOL | — |
| STAGE_OK_3 | BOOL | — |
| STAGE_OK_4 | BOOL | — |
| STAGE_OK_5 | BOOL | — |
| STAGE_OK_6 | BOOL | — |
| STAGE_OK_7 | BOOL | — |
| STAGE_OK_8 | BOOL | — |
| STAGE_MAX_1 | REAL | MGD |
| STAGE_MAX_2 | REAL | MGD |
| STAGE_MAX_3 | REAL | MGD |
| STAGE_MAX_4 | REAL | MGD |
| STAGE_MAX_5 | REAL | MGD |
| STAGE_MAX_6 | REAL | MGD |
| STAGE_MAX_7 | REAL | MGD |
| STAGE_MAX_8 | REAL | MGD |
| RATE_UP | REAL | MGD/min |
| RATE_DN | REAL | MGD/min |
| TRIM_KP | REAL | MGD/MG |
| TRIM_TI | TIME | — |
| TRIM_MAX | REAL | MGD |
| RAW_MIN | REAL | MGD |
Outputs
| Port | Type | Unit |
|---|---|---|
| GROSS_REQ | REAL | MGD |
| RAW_REQ | REAL | MGD |
| GROSS_AVAIL | REAL | MGD |
| NET_AVAIL | REAL | MGD |
| LIMIT_STAGE | INT | — |
| LIMITED | BOOL | — |
| LIMIT_BY | INT | — |
| TRIM | REAL | MGD |
| ALM_CONSTRAINT | BOOL | — |
| ALM_CFG_ERR | BOOL | — |
IEC 61499 event interface
EI INIT, REQ·EO INITO, CNF
Validation evidence
- Tests
- 14
- Simulated scans
- 1947
- 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 PRODUCTION_MASTER — 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.