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