Skip to content

Commit 4354b06

Browse files
committed
doc: minor comment on operating point
1 parent 5a18a72 commit 4354b06

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

src/controller/transcription.jl

+4-3
Original file line numberDiff line numberDiff line change
@@ -42,9 +42,10 @@ operating point ``\mathbf{x̂_{op}}`` (see [`augment_model`](@ref)):
4242
\mathbf{x̂}_i(k+H_p) - \mathbf{x̂_{op}} \end{bmatrix}
4343
```
4444
where ``\mathbf{x̂}_i(k+j)`` is the state prediction for time ``k+j``, estimated by the
45-
observer at time ``i=k`` or ``i=k-1`` depending on its `direct` flag. This transcription
46-
method is generally more efficient for large control horizon ``H_c``, unstable or highly
47-
nonlinear plant models/constraints.
45+
observer at time ``i=k`` or ``i=k-1`` depending on its `direct` flag. Note that
46+
``\mathbf{X̂_0 = X̂}`` if the operating points is zero, which is typically the case in
47+
practice for [`NonLinModel`](@ref). This transcription method is generally more efficient
48+
for large control horizon ``H_c``, unstable or highly nonlinear plant models/constraints.
4849
4950
Sparse optimizers like `OSQP` or `Ipopt` are recommended for this method.
5051
"""

0 commit comments

Comments
 (0)