Skip to content

Commit e480201

Browse files
committed
doc: detail the bounds on the pH example
1 parent c7c553f commit e480201

1 file changed

Lines changed: 6 additions & 5 deletions

File tree

‎docs/src/manual/nonlinmpc2.md‎

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -312,11 +312,12 @@ mhe = setconstraint!(mhe, x̂min=[0, 0, 0], âmin=[1.0], âmax=[14.0])
312312
```
313313

314314
The state constraints are shown in round brackets next to the decision variables. There are
315-
27 of them (3 states × 8 datapoints in the past + 3 arrival estimates). The arrival
316-
covariance ``\mathbf{P̄}`` is constant by default for [`NonLinModelDAE`](@ref), specified by
317-
`σP_0` argument. A proper tuning of `σP_0` and `He` reduces the impact of the constant
318-
arrival approximation. We can now reproduce the last simulated scenario and see how `mhe`
319-
performs under pH and flow rate measurement noise:
315+
45 of them (3 states × 8 datapoints in the past + 3 arrival point + 2 bounds × 1 alg. var. ×
316+
8 datapoints in the past + 2 bounds × 1 arrival point). The arrival covariance ``\mathbf{P̄}``
317+
is constant by default for [`NonLinModelDAE`](@ref), specified by `σP_0` argument. A proper
318+
tuning of `σP_0` and `He` reduces the impact of the constant arrival approximation. We can
319+
now reproduce the last simulated scenario and see how `mhe` performs under pH and flow rate
320+
measurement noise:
320321

321322
```@example 1
322323
using Random

0 commit comments

Comments
 (0)