ContinousSimulatorSettings#
- class ContinousSimulatorSettings(t_step=None)[source]#
Bases:
SimulatorSettings
Settings for
Simulator
for continous-time systems.An instance of this class is automatically generated as the attribute
settings
when creating theSimulator
.Example:
simulator = do_mpc.simulator.Simulator(model) simulator.settings.t_step = 0.5
- Parameters:
t_step (
float
) –
Methods#
check_for_mandatory_settings#
- check_for_mandatory_settings(self)#
Method to assert the necessary settings required to design
do_mpc.controller
Attributes#
abstol#
-
ContinousSimulatorSettings.abstol:
float
= 1e-10# Absolute tolerance for the integrator
integration_tool#
-
ContinousSimulatorSettings.integration_tool:
str
= 'cvodes'# Integration tool to be used. Options are ‘cvodes’ and ‘idas’
reltol#
-
ContinousSimulatorSettings.reltol:
float
= 1e-10# Relative tolerance for the integrator
t_step#
-
ContinousSimulatorSettings.t_step:
float
= None# Timestep of the Simulator