Skip to content

Latest commit

 

History

History
83 lines (59 loc) · 1.52 KB

sim_model.md

File metadata and controls

83 lines (59 loc) · 1.52 KB

[Functions: Plant Models](@id func_sim_model)

Pages = ["sim_model.md"]

The SimModel types represents discrete state-space models that can be used to construct StateEstimators and PredictiveControllers, or as plant simulators by calling evaloutput and updatestate! methods on SimModel instances (to test estimator/controller designs). For time simulations, the states \mathbf{x} are stored inside SimModel instances. Use setstate! method to manually modify them.

!!! info The nomenclature in this page introduces the model manipulated input \mathbf{u}, measured disturbances \mathbf{d}, state \mathbf{x}, algebraic variable \mathbf{a} and output \mathbf{y}, five vectors of nu, nd, nx, na and ny elements, respectively. The \mathbf{s} vector combines the elements of \mathbf{u} and \mathbf{d}. See the page [Function: Predictive Controllers](@ref func_predictive_control) for a block diagram overview.

SimModel

SimModel

LinModel

LinModel

NonLinModel

NonLinModel

NonLinModelDAE

NonLinModelDAE

Set Variable Names

setname!

Set Operating Points

setop!

Linearize

linearize
linearize!

Differential Equation Solvers

DiffSolver

ModelPredictiveControl.DiffSolver

RungeKutta

RungeKutta

ForwardEuler

ForwardEuler