Skip to content

Commit 7537b91

Browse files
committed
doc: modify continuity constraint equation
1 parent a3fd269 commit 7537b91

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

src/controller/transcription.jl

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1464,7 +1464,13 @@ the stochastic states ``\mathbf{s_s}`` are computed
14641464
as in the [`TrapezoidalCollocation`](@ref) method, and the ones for the continuity
14651465
constraint of the deterministic state trajectories are given by:
14661466
```math
1467-
\mathbf{s_c}(k+j+1) = λ_o \mathbf{x_0}(k+j) + \mathbf{C_o k}(k+j) - \mathbf{x_0}(k+j+1)
1467+
\mathbf{s_c}(k+j+1)
1468+
= \mathbf{C_o} \begin{bmatrix}
1469+
\mathbf{k}_1(k+j) \\
1470+
\mathbf{k}_2(k+j) \\
1471+
\vdots \\
1472+
\mathbf{k}_{n_o}(k+j) \end{bmatrix}
1473+
+ λ_o \mathbf{x_0}(k+j) - \mathbf{x_0}(k+j+1)
14681474
```
14691475
for ``j = 0, 1, ... , H_p-1``. The differentiation matrix ``\mathbf{M_o}``, the continuity
14701476
matrix ``\mathbf{C_o}`` and the coefficient ``λ_o`` are introduced in [`init_orthocolloc`](@ref).

0 commit comments

Comments
 (0)