Skip to content

Commit 2d61f88

Browse files
committed
doc: removing daggers in transcription method equations
1 parent 0113c47 commit 2d61f88

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

src/controller/transcription.jl

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1194,9 +1194,9 @@ Compute vectors if `model` is a [`NonLinModel`](@ref) and other [`TranscriptionM
11941194
The method mutates `Ŷ0` and `x̂0end` arguments. The augmented output function [`ĥ!`](@ref)
11951195
is called multiple times in a `for` loop:
11961196
```math
1197-
\mathbf{ŷ_0}(k) = \mathbf{ĥ}\Big(\mathbf{x̂_0^†}(k+j), \mathbf{d_0}(k) \Big)
1197+
\mathbf{ŷ_0}(k) = \mathbf{ĥ}\Big(\mathbf{x̂_0}(k), \mathbf{d_0}(k) \Big)
11981198
```
1199-
in which ``\mathbf{x̂_0^†}`` is the augmented state extracted from the decision variable `Z̃`.
1199+
in which ``\mathbf{x̂_0}`` is the augmented state extracted from the decision variable `Z̃`.
12001200
"""
12011201
function predict!(
12021202
Ŷ0, x̂0end, _, _, _,
@@ -1316,10 +1316,10 @@ The method mutates the `geq`, `X̂0`, `Û0` and `K0` vectors in argument. The n
13161316
equality constraints `geq` only includes the augmented state defects, computed with:
13171317
```math
13181318
\mathbf{ŝ}(k+1) = \mathbf{f̂}\Big(\mathbf{x̂_0}(k), \mathbf{u_0}(k), \mathbf{d_0}(k)\Big)
1319-
- \mathbf{x̂_0^†}(k+1)
1319+
- \mathbf{x̂_0}(k+1)
13201320
```
1321-
in which ``\mathbf{x̂_0^†}`` is the augmented state extracted from the decision variables
1322-
`Z̃`, and ``\mathbf{f̂}``, the augmented state function defined in [`f̂!`](@ref).
1321+
in which the augmented state ``\mathbf{x̂_0}`` are extracted from the decision variables
1322+
`Z̃`, and ``\mathbf{f̂}`` is the augmented state function defined in [`f̂!`](@ref).
13231323
"""
13241324
function con_nonlinprogeq!(
13251325
geq, X̂0, Û0, K0,
@@ -1366,18 +1366,18 @@ time state-space models, and the stochastic model of the unmeasured disturbances
13661366
is discrete-time. The deterministic and stochastic defects are respectively computed with:
13671367
```math
13681368
\begin{aligned}
1369-
\mathbf{s_d}(k+1) &= \mathbf{x_0}(k) - \mathbf{x_0^†}(k+1)
1369+
\mathbf{s_d}(k+1) &= \mathbf{x_0}(k) - \mathbf{x_0}(k+1)
13701370
+ 0.5 T_s (\mathbf{k}_1 + \mathbf{k}_2) \\
1371-
\mathbf{s_s}(k+1) &= \mathbf{A_s x_s}(k) - \mathbf{x_s^†}(k+1)
1371+
\mathbf{s_s}(k+1) &= \mathbf{A_s x_s}(k) - \mathbf{x_s}(k+1)
13721372
\end{aligned}
13731373
```
1374-
in which ``\mathbf{x_0^†}`` and ``\mathbf{x_s^†}`` are the deterministic and stochastic
1375-
states extracted from the decision variables `Z̃`. The ``\mathbf{k}`` coefficients are
1374+
in which ``\mathbf{x_0}`` and ``\mathbf{x_s}`` are the deterministic and stochastic states
1375+
extracted from the decision variables `Z̃`. The ``\mathbf{k}`` coefficients are
13761376
evaluated from the continuous-time function `model.f!` and:
13771377
```math
13781378
\begin{aligned}
1379-
\mathbf{k}_1 &= \mathbf{f}\Big(\mathbf{x_0}(k), \mathbf{û_0}(k), \mathbf{d_0}(k) \Big) \\
1380-
\mathbf{k}_2 &= \mathbf{f}\Big(\mathbf{x_0^†}(k+1), \mathbf{û_0}(k), \mathbf{d_0}(k+1)\Big)
1379+
\mathbf{k}_1 &= \mathbf{f}\Big(\mathbf{x_0}(k), \mathbf{û_0}(k), \mathbf{d_0}(k) \Big) \\
1380+
\mathbf{k}_2 &= \mathbf{f}\Big(\mathbf{x_0}(k+1), \mathbf{û_0}(k), \mathbf{d_0}(k+1)\Big)
13811381
\end{aligned}
13821382
```
13831383
and the input of the augmented model is:

0 commit comments

Comments
 (0)