NonlinearModelPredictiveControllerOptions<T>
Options & Configuration · AiDotNet.Models.Options
Configuration for the nonlinear model predictive controller.
Inheritance: ModelOptions → NonlinearModelPredictiveControllerOptions<T>
For Beginners
The controller predicts several steps into the future, repeatedly improves that plan, and can remember the previous plan to make the next decision faster. The defaults provide a usable unconstrained controller.
How It Works
Reference: M. Diehl et al., “Real-time optimization and nonlinear model predictive control of processes governed by differential-algebraic equations”, Journal of Process Control 12(4), 2002, pp. 577-585; J. B. Rawlings, D. Q. Mayne and M. M. Diehl, Model Predictive Control: Theory, Computation, and Design, 2nd ed., 2017.
Constructors
| Constructor | Summary |
|---|---|
NonlinearModelPredictiveControllerOptions() |
Creates options with the documented defaults. |
NonlinearModelPredictiveControllerOptions(NonlinearModelPredictiveControllerOptions<T> other) |
Creates an independent copy of another nonlinear MPC configuration. |
Properties
| Property | Summary |
|---|---|
Matrix<T> TerminalCost { get; set; } |
Gets or sets the terminal cost matrix, or null to reuse the running state cost. |
Vector<T> InputLowerBounds { get; set; } |
Gets or sets the lower bound on each control input, or null for unbounded below. |
Vector<T> InputUpperBounds { get; set; } |
Gets or sets the upper bound on each control input, or null for unbounded above. |
bool WarmStart { get; set; } |
Gets or sets whether to warm-start each control step from the previous step’s plan. |
double StepSize { get; set; } |
Gets or sets the step size applied to each sequential quadratic programming update. |
double Tolerance { get; set; } |
Gets or sets the change in the planned inputs below which the iteration stops early. |
int Horizon { get; set; } |
Gets or sets how many steps ahead the controller plans. |
int SqpIterations { get; set; } |
Gets or sets how many times the linearization is refined per control step. |