Skip to content

Commit fa386ac

Browse files
committed
starting init_predmat modifications for multiple shooting
1 parent c7d7dc8 commit fa386ac

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

src/controller/construct.jl

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -515,10 +515,10 @@ Construct the prediction matrices for [`LinModel`](@ref) `model`.
515515
The model predictions are evaluated from the deviation vectors (see [`setop!`](@ref)) and:
516516
```math
517517
\begin{aligned}
518-
\mathbf{Ŷ_0} &= \mathbf{E ΔU} + \mathbf{G d_0}(k) + \mathbf{J D̂_0}
519-
+ \mathbf{K x̂_0}(k) + \mathbf{V u_0}(k-1)
520-
+ \mathbf{B} + \mathbf{Ŷ_s} \\
521-
&= \mathbf{E ΔU} + \mathbf{F}
518+
\mathbf{Ŷ_0} &= \mathbf{E Z} + \mathbf{G d_0}(k) + \mathbf{J D̂_0}
519+
+ \mathbf{K x̂_0}(k) + \mathbf{V u_0}(k-1)
520+
+ \mathbf{B} + \mathbf{Ŷ_s} \\
521+
&= \mathbf{E Z} + \mathbf{F}
522522
\end{aligned}
523523
```
524524
in which ``\mathbf{x̂_0}(k) = \mathbf{x̂}_i(k) - \mathbf{x̂_{op}}``, with ``i = k`` if
@@ -533,10 +533,10 @@ stochastic predictions ``\mathbf{Ŷ_s=0}`` if `estim` is not a [`InternalModel`
533533
terminal states at ``k+H_p``:
534534
```math
535535
\begin{aligned}
536-
\mathbf{x̂_0}(k+H_p) &= \mathbf{e_x̂ ΔU} + \mathbf{g_x̂ d_0}(k) + \mathbf{j_x̂ D̂_0}
536+
\mathbf{x̂_0}(k+H_p) &= \mathbf{e_x̂ Z} + \mathbf{g_x̂ d_0}(k) + \mathbf{j_x̂ D̂_0}
537537
+ \mathbf{k_x̂ x̂_0}(k) + \mathbf{v_x̂ u_0}(k-1)
538538
+ \mathbf{b_x̂} \\
539-
&= \mathbf{e_x̂ ΔU} + \mathbf{f_x̂}
539+
&= \mathbf{e_x̂ Z} + \mathbf{f_x̂}
540540
\end{aligned}
541541
```
542542
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

0 commit comments

Comments
 (0)