FMPy
FMPy copied to clipboard
Set maxsteps of the CVode solver
I need to change the maxsteps parameter of the CVode solver. Is it possible to do it using FMPy?
If you're comfortable hacking the source code you can set maxNumSteps in https://github.com/CATIA-Systems/FMPy/blob/main/fmpy/simulation.py#L997:
solver = CVodeSolver(..., maxNumSteps=1000)
I will do this. Thank you very much. It would be helpful if we could set this input for the simulate_fmu function.