File tree Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -51,14 +51,13 @@ Our goal is controlling the first output $y_1$, but the second one $y_2$ should
515135:
5252
5353``` julia
54- mhe = MovingHorizonEstimator (model, He= 10 )
55- mpc = LinMPC (mhe, Mwt= [1 , 0 ], Nwt= [0.1 ])
54+ mpc = LinMPC (model, Mwt= [1 , 0 ], Nwt= [0.1 ])
5655mpc = setconstraint! (mpc, ymax= [Inf , 35 ])
5756```
5857
59- The keyword arguments ` He ` , ` Mwt ` and ` Nwt ` are the estimation horizon, the output setpoint
60- tracking and move suppression weights, respectively. A setpoint step change of five tests
61- ` mpc ` controller in closed-loop. The result is displayed with [ ` Plots.jl ` ] ( https://github.com/JuliaPlots/Plots.jl ) :
58+ The keyword arguments ` Mwt ` and ` Nwt ` are the output setpoint tracking and move suppression
59+ weights, respectively. A setpoint step change of five tests ` mpc ` controller in closed-loop.
60+ The result is displayed with [ ` Plots.jl ` ] ( https://github.com/JuliaPlots/Plots.jl ) :
6261
6362``` julia
6463using Plots
You can’t perform that action at this time.
0 commit comments