scipy.integrate.solve_ivp Solver
- class gym_electric_motor.physical_systems.solvers.ScipySolveIvpSolver(**kwargs)[source]
Bases:
OdeSolver
Wrapper class for all ode-solvers in the scipy.integrate.solve_ivp function
https://docs.scipy.org/doc/scipy/reference/generated/scipy.integrate.solve_ivp.html
- set_f_params(*args)
Set further arguments for the systems function call like input quantities.
- Parameters:
args (list) – Additional arguments for the next function calls.
- set_initial_value(initial_value, t=0)
Set the new initial system state after reset.
- property t
Returns: float: Current system time t
- property y
Returns: float: Current system state y