Skip to content

Commit 176007b

Browse files
committed
doc: comment on MHE performance in the manual
1 parent edd7e0f commit 176007b

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

docs/src/manual/linmpc.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@ mpc_mhe = LinMPC(estim, Hp=10, Hc=2, Mwt=[1, 1], Nwt=[0.1, 0.1])
203203
mpc_mhe = setconstraint!(mpc_mhe, ymin=[45, -Inf])
204204
```
205205

206-
The rejection is slightly improved:
206+
The rejection is not improved here:
207207

208208
```@example 1
209209
setstate!(model, zeros(model.nx))
@@ -216,6 +216,10 @@ savefig("plot3_LinMPC.svg"); nothing # hide
216216

217217
![plot3_LinMPC](plot3_LinMPC.svg)
218218

219+
This is because the more performant `direct=true` version of the [`MovingHorizonEstimator`](@ref)
220+
is not not implemented yet. The rejection will be improved with the `direct=true` version
221+
(coming soon).
222+
219223
## Adding Feedforward Compensation
220224

221225
Suppose that the load disturbance ``u_l`` of the last section is in fact caused by a

0 commit comments

Comments
 (0)