Show HN: Epidemic Simulator
adewes.github.io
adewes.github.io
It's a cool visualization, but I want to be clear that, even plugging in exact values (if we knew them) for Rt and time to recovery will yield very different behavior than anything even close to the true distribution.
Please note that the transmission rates are not fixed, the model assumes that an infected person makes random connections to other people from the population (so not small world but not far-fetched for a small country like Germany), the more people are already infected or cured from those people, the smaller the effective transmission rate (hence not all people end up infected).
You could of course improve this by using a network model or a much more complex social simulation, most of the dynamics will be qualitatively (not quantitatively) very similar though.
You can see e.g. that as of now, despite the boggling complexity of the real world the number of infections almost perfectly follows an exponential function. So even a simple model can sometimes give you qualitative insights into a problem. I am sure that the epidemology institutes like the Robert-Koch-Institut have much much more powerful models to predict the spread of the disease, this here is just a toy.
I am curious how something like population distribution over geography would affect a model like this (obviously it would become a lot more complicated).
My understanding is, at least in the U.S., the goal of public health officials is to stagger the COVID-19 infection rate to draw it out over a long period of time. Given that there is no vaccine, the best they can do is prevent it from spreading as quickly. If 100% of 330 million Americans suddenly got sick, if ~16% of them need hospitalization, we'd run out of beds, and if ~6% needed critical respiratory care, it would be a catastrophe (one of my family members who is a medical doctor estimates there are roughly 70,000 ventilators in the country). So by slowing it down they can stagger the rate at which our medical facilities are impacted.
That said for a small countrly like Germany the spread seems to even out pretty quickly, two weeks ago we just had some cases localized in a small region and now almost every state reports many new cases daily.
Also, I have no idea what the numbers on the X axis represent for the first few graphs. It seems like it should be "days", but the numbers are all over the place.
Most modern browsers have really good support for JS and CSS so you don't need any additional libraries.
It's the date on the first graph, I'll add a more obvious format that will be readable for English/US speakers as well (in Germany/Europe the date format is often dd.mm).
Edit: separate HN discussion: https://news.ycombinator.com/item?id=22520152
Or can one never be counted as Healthy People once one has been Sick People?