Skip to content

Commit 0a07ece

Browse files
committed
additional comment in doc
1 parent 7a48137 commit 0a07ece

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/controller/nonlinmpc.jl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,8 @@ the manipulated inputs, the predicted outputs and measured disturbances from ``k
103103
\mathbf{Ŷ}_E = \begin{bmatrix} \mathbf{ŷ}(k) \\ \mathbf{Ŷ} \end{bmatrix} \text{,} \qquad
104104
\mathbf{D̂}_E = \begin{bmatrix} \mathbf{d}(k) \\ \mathbf{D̂} \end{bmatrix}
105105
```
106-
since ``H_c ≤ H_p`` implies that ``\mathbf{u}(k+H_p) = \mathbf{u}(k+H_p-1)``.
106+
since ``H_c ≤ H_p`` implies that ``\mathbf{u}(k+H_p) = \mathbf{u}(k+H_p-1)``. The vector
107+
``\mathbf{D̂}`` includes the predicted measured disturbance over ``H_p``.
107108
108109
!!! tip
109110
Replace any of the 3 arguments with `_` if not needed (see `JE` default value below).

0 commit comments

Comments
 (0)