APMonitor FV, MV, SV, CV Classification
Parameters and variables can be specified as feedforward variables (FV), manipulated variables (MV), state variables (SV), and controlled variables (CV). These are 4 basic types of variables that are used in the APMonitor simulations. The FV and MV types are specified from the available declared parameters. These are values that are fixed in steady-state calculations. The SV and CV types are specified from the available declared variables.
- Parameters list in model
- Feedforward Variables (FV)
- Manipulated Variables (MV)
- Variables list in model
- State Variables (SV)
- Controlled Variables (CV)
Parameters
Fixed Values (FVs)
Fixed Values or Feedforward Variables are model coefficients that change to fit process data or minimize an objective function. These parameters can change the behavior and structure of the model. A parameter is indicated as a fixed value or feedforward variable by including a line in the INFO file with an F and the variable name, separated by a comma.
If using either the MATLAB or Python interface, fixed values can also be declared with the apm_info function as:
For time-varying simulations, the FVs are constant over the time horizon.
Manipulated Variables (MVs)
Manipulated variables are decision variables for an estimator or controller. These decision variables are adjusted by the optimizer to minimize an objective function. A parameter is indicated as a manipulated variable by including a line in the INFO file with an M and the parameter name, separated by a comma.
If using either the MATLAB or Python interface, manipulated variables can also be declared with the apm_info function as:
For time-varying simulations, the MVs change over the time horizon.
Variables
Additional equations are added to the model for variables that have a measurement. To avoid adding these extra equations, the measurement equations are only added for those designated as Controlled Variables (CVs). State Variables (SVs) are those variables which may be monitored but are not measured.
State Variables (SVs)
States are model variables that may be measured or are of special interest for observation. A variable is indicated as a state by including a line in the INFO file with an S and the variable name, separated by a comma.
If using either the MATLAB or Python interface, fixed values can also be declared with the apm_info function as:
For time-varying simulations, the SVs change over the time horizon.
Controlled Variables (CVs)
Controlled variables are model variables that are included in the objective of a controller or optimizer. These variables are controlled to a range, maximized, or minimized. Controlled variables may also be measured values that are included for data reconciliation. A variable is indicated as controlled by including a line in the INFO file with a C and the variable name, separated by a comma.
If using either the MATLAB or Python interface, fixed values can also be declared with the apm_info function as:
For time-varying simulations, the CVs change over the time horizon.
INFO File Refresh
Every time a model simulation is executed, the INFO file is re-written. The parameters and variables are rearranged into the order that they appear in the model file. They are also given a number and non-existent parameters or variables are eliminated from the list.
Methods for Creating the Info File
- Create new INFO file (text document) and populate manually with variable names
- Link variables to Info_FV, Info_MV, Info_SV, or Info_CV objects in the APM model file.
- Select variable classifications from the web interface.
Example INFO File
FV(1), lags.u1 MV(1), lags.u2 SV(1), lags.x1 CV(1), lags.y1 CV(2), lags.y2 |