Advanced control blocks > Model Predictive Control Professional (MPCPro) function block

Model Predictive Control Professional function block modes

The MPCPro function block supports the following modes:

Mode calculation

The MPCPro block actual mode is calculated as follows based on the target mode and the condition:

When the status of a downstream block changes to Good Cascade Initialization Request, then, if the MPCPro block Target mode is not OOS, it will immediately do a handshake with the downstream block. After the handshake completes, the initialization value is maintained in the associated output unless it is changed by an operator (in IMAN or MAN mode) or changed by the MPCPro algorithm (in AUTO or RCAS mode).

Indications of a limit condition or alarm active in the input status provided to MPCPro has no impact on the MPCPro block mode or the handshake that is done by the MPCPro block. An operator disabling a process input or output has no impact.

Update output value and status

The manner in which the MPCPro function block outputs are updated depends on the mode of the MPCPro block and whether a cascade connection has been established with a downstream block.

MPCPro function block execution rate

MPCPro can be used in an application as long as a function block execution time of one second or slower is sufficient to meet your process control requirements. The MPCPro function block execution is automatically set based on the Time to Steady State to provide an algorithm execution rate of one second or slower. Since the MPCPro algorithm uses model and controller matrices that are generated on a very specific time base, the DeltaV PredictPro application automatically configures the effective scan rate of the MPCPro block. The execution time is defined by the process response time estimation (entered as the Time to Steady State when you request that the process be tested for identification) divided by prediction horizon (120 samples) in seconds.

If the PROD_RATE input status is Good, the block's effective execution rate is adjusted to compensate for changes in transport delay. In this case, the effective execution rate is automatically determined based on the module execution rate, Time to Steady State, the production rate inputs and the configured normal production rate.

Alarming

When the MPCPro function block detects configuration errors or abnormal conditions, the errors and abnormal conditions are automatically reflected in the BLOCK_ERR parameter. Set the BAD_MASK parameter to  determine which condition set BAD_ACTIVE. All conditions not included in BAD_ACTIVE are reflected in the ABNORMAL_ACTIVE parameters. These xxxx_ACTIVE parameters can be used in defining module alarms.

The following are automatically calculated for performance monitoring:

The associated xxxx_ACT parameter can be used to define module alarms.