Hans ten Dam - 2022-03-17

Hi Daniel,

I am using python scripting to implement a Pressure Swing Adsorption dynamic simulation model with the use of the ODE-solver of DOT numerics. When I want to go to high accurate solutions (low tolerance), the solver cannot solve the equations within the fixed amount of steps (500) causing the following error:

Exeption: Excessive amount of work (more than MXSTEP steps) was done on this call, before the requested task, but the integration was otherwise succesful as far as T.

In the class library documentation I found that the value of MXSTEP can be increased. The field is however private and I can't figure out how I can acces and change it within the python scripting. Do you have any idea how to do this?

Regards,
Hans