Skip to content

Commit 065634e

Browse files
committed
doc: define predictions matrices of MPC and MHE
1 parent 0fa367e commit 065634e

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

src/controller/construct.jl

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -453,8 +453,9 @@ terminal states at ``k+H_p``:
453453
&= \mathbf{e_x̂ ΔU} + \mathbf{f_x̂}
454454
\end{aligned}
455455
```
456-
The ``\mathbf{F}`` and ``\mathbf{f_x̂}`` vectors are recalculated at each control period
457-
``k``, see [`initpred!`](@ref) and [`linconstraint!`](@ref).
456+
The matrices ``\mathbf{E, G, J, K, V, B, e_x̂, g_x̂, j_x̂, k_x̂, v_x̂, b_x̂}`` are defined in the
457+
Extended Help section. The ``\mathbf{F}`` and ``\mathbf{f_x̂}`` vectors are recalculated at
458+
each control period ``k``, see [`initpred!`](@ref) and [`linconstraint!`](@ref).
458459
459460
# Extended Help
460461
!!! details "Extended Help"

src/estimator/mhe/construct.jl

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -946,6 +946,9 @@ from ``j=N_k-1`` to ``0``, also in deviation form, are computed with:
946946
&= \mathbf{E_x̂ Z + F_x̂}
947947
\end{aligned}
948948
```
949+
The matrices ``\mathbf{E, G, J, B, E_x̂, G_x̂, J_x̂, B_x̂}`` are defined in the Extended Help
950+
section. The vectors ``\mathbf{F, F_x̂, f_x̄}`` are recalculated at each discrete time step,
951+
see [`initpred!(::MovingHorizonEstimator, ::LinModel)`](@ref) and [`linconstraint!(::MovingHorizonEstimator, ::LinModel)`](@ref).
949952
950953
# Extended Help
951954
!!! details "Extended Help"

0 commit comments

Comments
 (0)