set_param

Class method.

do_mpc.simulator.Simulator.set_param(self, **kwargs)

Set the parameters for the simulator. Setting the simulation time step t_step is necessary for setting up the simulator via setup_simulator.

Parameters:
  • integration_tool (string) – Sets which integration tool is used, defaults to cvodes (only continuous)
  • abstol (float) – gives the maximum allowed absolute tolerance for the integration, defaults to 1e-10 (only continuous)
  • reltol – gives the maximum allowed relative tolerance for the integration, defaults to 1e-10 (only continuous)
  • t_step (float) – Sets the time step for the simulation
Returns:

None

Return type:

None

This page is auto-generated. Page source is not available on Github.