Important! Since the 12th of March, Swedish agencies stopped testing cases outside of at-risk population. Look for trends in hospitalization or intensive care instead.
The hospital care needs in this model builds on an extended SEIR-model that simulates an epidemic outbreak. People are divided into the groups S, E, Q, I, J, R, C and the flows inbetween the categories are decided by the parameters. The preset parameters are a qualified guess, but they could change with time. To change a parameter with time, please look at the code repo on github. For simplicity, we assume that people that are in intensive care have been hospitalized and that no one dies outside of intensive care. We also assume that the rate of becoming healthy again is the same regardless if you self-quarantine or not.