Closed sdwfrost closed 2 years ago
@sdwfrost thanks for sharing your code on how to simulate until a steady-state has been reached. I have now added an example on how to implement such a scenario using PyRoss for an arbitrary model at: https://github.com/rajeshrinet/pyross/blob/master/examples/others/simulate_until_steady-state.ipynb
Thanks @rajeshrinet! Much appreciated.
If I just use
solve_ivp
in SciPy, I can run until steady state using callbacks. See this SO post and the following code for an SIR model. Can I do this in Pyross too?