Model Predictive Control Toolbox    
addmd

Adds one or more measured disturbances to a plant model in the MPC mod format. Used to allow for feedforward compensation in MPC.

Syntax

Description
The disturbance model contained in dmod adds to the plant model contained in pmod to form a composite, model, with the structure given in the following block diagram:


pmod, dmod and model are in the MPC mod format (see mod in the online MATLAB Function Reference for a detailed description). You would normally create pmod and dmod using either the tfd2mod, ss2mod or th2mod functions.

addmd is a specialized version of paramod. Its main advantage over paramod is that it assumes all the inputs to dmod are to be measured disturbances. This saves you the trouble of designating the input types in a separate step.

Example
See ss2mod for an example of the use of this function.

Algorithm
addmd converts pmod and dmod into their state-space form, then uses the mpcparal function to build the composite model.

Restrictions

See Also
addmod, addumd, appmod, paramod, sermod



Commands Grouped by Function addmod