tnoulas / UrbanEpidemicSim

5 stars 2 forks source link

SIR compartment-based modelling effort one #7

Open tnoulas opened 4 years ago

tnoulas commented 4 years ago

Hi,

I have made a first effort to add a more code effective representation of the SIR compartment-based model: https://github.com/tnoulas/UrbanEpidemicSim/blob/52e3061c2210d803d4b2bae182d9a90d0cd03332/Place.py#L50

This does not perform any integration over time as we are still in the epoch-based simulation approach, but at first I wanted some feedback because I am naive in the subject. Are the definitions of St+1, Rt+1 and It+1 correct here? What would be appropriate values for beta and mu?