Skip to content

Commit 364ac2b

Browse files
committed
revert: going back to old README file
1 parent 083dede commit 364ac2b

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

README.md

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -51,14 +51,13 @@ Our goal is controlling the first output $y_1$, but the second one $y_2$ should
5151
35:
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])
5655
mpc = 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
6463
using Plots

0 commit comments

Comments
 (0)