modellinMPCpartial

Modelica predictive control library (by the Institute of Automatic Control, RWTH Aachen University)

Parameters

TypeNameDefaultDescription
General › controller settings
Integerp1number of controlled variables
Integerm1number of manipulated variables
IntegerNl1lower prediction horizon
IntegerNp1upper prediction horizon
IntegerNu1control horizon
RealTs1sample time (/s)
General › cost function
RealQidentity(p)weighting matrix
RealRidentity(m)weighting matrix
Model parameters › model parameters
ModelTypemodelType
Model parameters › disturbance handling
DisturbanceHandlingTypebiasCompensation1compensate prediction bias
Integerq0number of measurable disturbance variables
DisturbanceInputtypeDisturbanceInput0form of disturbance input
Constraints
ConstraintsHandlingTypeconstraints1constraints handling
Constraints › changes in manipulated variables
IntegerboundedDeltaUminzeros(0)vector of indices of lower bounded variables
RealdeltaUmin-1*ones(0)vector of lower bounds
IntegerboundedDeltaUmaxzeros(0)vector of indices of upper bounded variables
RealdeltaUmax1*ones(0)vector of upper bounds
Constraints › manipulated variables
IntegerboundedUminzeros(0)vector of indices of lower bounded variables
RealUmin-1*ones(0)vector of lower bounds
IntegerboundedUmaxzeros(0)vector of indices of upper bounded variables
RealUmax1*ones(0)vector of upper bounds
Constraints › controlled variables
IntegerboundedYminzeros(0)vector of indices of lower bounded variables
RealYmin-1*ones(0)vector of lower bounds
IntegerboundedYmaxzeros(0)vector of indices of upper bounded variables
RealYmax1*ones(0)vector of upper bounds
Constraints › changes in controlled variables
IntegerboundedDeltaYminzeros(0)vector of indices of lower bounded variables
RealdeltaYmin-1*ones(0)vector of lower bounds
IntegerboundedDeltaYmaxzeros(0)vector of indices of upper bounded variables
RealdeltaYmax1*ones(0)vector of upper bounds
Advanced › QP Solver settings
Realrho100penelization of quadratic constraints violation
Realcvio_start10start value of allowed constraints violation
Realeps1E-5precision of the optimization
Realmue5gain for increasing outer iteration variable
Realbeta0.2gain factor for step size adaption
General › initialization
Realu_startzeros(m)start values for manipulated variables

Connectors

TypeNameDefaultDescription
Modelica.Blocks.Interfaces.RealInput[(Np - Nl + 1)*p]rreference trajectory
Modelica.Blocks.Interfaces.RealInput[(1 + DisturbanceInput*(Np - Nl))*q]dchanges in measureable disturbances
Modelica.Blocks.Interfaces.RealOutput[m]uactuating variables

Components

TypeNameDefaultDescription
Real[m]deltaUkcontroller output

Contents

NameDescription
ModelType
ConstraintsHandlingType
DisturbanceInputtype
DisturbanceHandlingType