springer-math / Mathematics-of-Epidemics-on-Networks

Source code accompanying 'Mathematics of Epidemics on Networks' by Kiss, Miller, and Simon http://www.springer.com/us/book/9783319508047 . Documentation for the software package is at https://epidemicsonnetworks.readthedocs.io/en/latest/
MIT License
150 stars 61 forks source link

Steady state calculations #34

Open debmalya191 opened 5 years ago

debmalya191 commented 5 years ago

Is there any way to see the SIR models in steady state? Since right now we have to give it a time t variable?

joelmiller commented 5 years ago

I'm not quite sure what you're asking. Can you give a bit of the code you're trying to use so that I know what exactly you're using to see it?

The steady state for SIR in a static population is that the disease has eventually died out, so you're looking at the end of the outbreak. If the simulation has run until this point, then the steady state will be at the final time.

debmalya191 commented 5 years ago

Lets say the tmax is 100 days and the all the infected nodes have converted to recovered at time t=20 days. so steady state is 20 days. Right now there is no function to get this steady state time and do analysis and visualization on this time.