@@ -128,10 +128,11 @@ end
128128
129129Construct an orthogonal collocation on finite elements [`TranscriptionMethod`](@ref).
130130
131- Also known as pseudo-spectral method. The `h` argument is the hold order for ``\m athbf{u}``,
132- and `no` argument, the number of collocation points ``n_o``. Only zero-order hold is
133- currently implemented, so `h` must be `0`. The decision variable is similar to
134- [`MultipleShooting`](@ref), but it also includes the collocation points:
131+ Also known as pseudo-spectral method. It supports continuous-time [`NonLinModel`](@ref)s
132+ only. The `h` argument is the hold order for ``\m athbf{u}``, and `no` argument, the number
133+ of collocation points ``n_o``. Only zero-order hold is currently implemented, so `h` must
134+ be `0`. The decision variable is similar to [`MultipleShooting`](@ref), but it also includes
135+ the collocation points:
135136```math
136137\m athbf{Z} = \b egin{bmatrix} \m athbf{ΔU} \\ \m athbf{X̂_0} \\ \m athbf{K} \e nd{bmatrix}
137138```
@@ -1012,7 +1013,7 @@ It warm-starts the solver at:
10121013```
10131014where ``\m athbf{x̂_0}(k+j|k-1)`` is the predicted state for time ``k+j`` computed at the
10141015last control period ``k-1``, expressed as a deviation from the operating point
1015- ``\m athbf{x̂_{op}}``. The vector ``\m athbf{k}(k+j|k-1) include the ``n_o`` intermediate
1016+ ``\m athbf{x̂_{op}}``. The vector ``\m athbf{k}(k+j|k-1)`` include the ``n_o`` intermediate
10161017stage predictions for the interval ``k+j``, and is also computed at the last control period.
10171018"""
10181019function set_warmstart! (
@@ -1453,10 +1454,10 @@ are computed by:
14531454```
14541455for ``j = 0, 1, ... , H_p-1``, and knowing that the ``\m athbf{k}_o(k+j)`` vectors are
14551456extracted from the decision variable `Z̃`. The ``\m athbf{x_0}`` vectors are the
1456- deterministic state extracted from `Z̃`. The ``\m athbf{k̇}_o`` vector for the ``o``th
1457+ deterministic state extracted from `Z̃`. The ``\m athbf{k̇}_o`` derivative for the ``o``th
14571458collocation point is computed from the continuous-time function `model.f!` and:
14581459```math
1459- \m athbf{k̇}_o(k+j) = \m athbf{f}\B ig(\m athbf{k_o} (k+j), \m athbf{û_0}(k+j), \m athbf{d̂_0}(k+j), \m athbf{p}\B ig)
1460+ \m athbf{k̇}_o(k+j) = \m athbf{f}\B ig(\m athbf{k}_o (k+j), \m athbf{û_0}(k+j), \m athbf{d̂_0}(k+j), \m athbf{p}\B ig)
14601461```
14611462The disturbed input ``\m athbf{û_0}(k+j)`` is defined in [`f̂_input!`](@ref). The defects for
14621463the stochastic states ``\m athbf{s_s}`` are computed
0 commit comments