set_initial_guess¶
Class method.
-
do_mpc.simulator.Simulator.
set_initial_guess
(self)¶ Initial guess for DAE variables. Use the current class attribute
z0
to create the initial guess for the DAE algebraic equations.The simulator uses “warmstarting” to solve the continous/discrete DAE system by using the previously computed algebraic states as an initial guess. Thus, this method is typically only invoked once.
Warning
If no initial values for
z0
were supplied during setup, they default to zero.
This page is auto-generated. Page source is not available on Github.