”fast”: perform direct integration, without accounting for events. Recommended when simulating a drive cycle or other simulation where no events should be triggered.
”safe”: perform step-and-check integration, checking whether events have been triggered. Recommended for simulations of a full charge or discharge.
rtol (float, optional) – The relative tolerance for the solver (default is 1e-6).
atol (float, optional) – The absolute tolerance for the solver (default is 1e-6).
root_method (str, optional) – The method to use for finding consistend initial conditions. Default is ‘lm’.
root_tol (float, optional) – The tolerance for root-finding. Default is 1e-6.
max_step_decrease_counts (float, optional) – The maximum number of times step size can be decreased before an error is
raised. Default is 5.
extra_options (keyword arguments, optional) – Any extra keyword-arguments; these are passed directly to the CasADi integrator.
Please consult CasADi documentation for
details.