Epidemic Simulator

栏目: IT技术 · 发布时间: 5年前

内容简介:Hi! This is a simple, cohort-based epidemic simulation. More details.The simulation starts with a given pool of infected people, which fall sick for a given amount of days and have a given chance of dying during their sickne

Epidemic Simulator

Hi! This is a simple, cohort-based epidemic simulation. More details.

Day Total sick Total healthy Total cured Total deceased

Sick People

Healthy People

Cured People

Deceased People

Age Cohorts: Sick People

Age Cohorts: Deceased People

Age Cohorts: Sick People People (with reference)

Age Cohorts: Deceased People (with reference)

Age-Related Mortality (percent)

Simulation Details

The simulation starts with a given pool of infected people, which fall sick for a given amount of days and have a given chance of dying during their sickness, with a mortality that depends on their age (see above). A sick person will infect a given number of other people while sick, the total number of infections over the course of the sickness is given as the infection rate (you can tune this parameter). Only healthy people can be infected, i.e. once someone is cured we assume that person cannot be infected again. Also, we assume that the infection rate is based on the number of interactions with other people from the population, hence when the number of healthy vs. cured and infected people decreases in a given age cohort, the chance of infecting someone from that cohort also decreases.

We use the age distribution of the German population to evaluate the effect of the infection on different age cohorts. By varying the infection rate you can get a feeling for how different rates affect the number of deceased people, the speed of the spreading of the infection and the maximum number of infected people.

Feel free to suggest improvements and contribute to this project on Github .

This is not a realistic simulation, it only provides a (hopefully) intuitive way to visualize the relationship between infection rate and the spreading of the infection through the population.


以上就是本文的全部内容,希望对大家的学习有所帮助,也希望大家多多支持 码农网

查看所有标签

猜你喜欢:

本站部分资源来源于网络,本站转载出于传递更多信息之目的,版权归原作者或者来源机构所有,如转载稿涉及版权问题,请联系我们

驾驭未来:抓住奇点冲击下的商机

驾驭未来:抓住奇点冲击下的商机

[日]斋藤和纪 / 南浩洁 / 中国友谊出版公司 / 2018-9 / 52.00元

2020年左右,AI(人工智能)将超越人类的智力水平。2045年,人类将迎来“奇点”——科技进步的速度达到无限大。 所有技术都在以空前的速度向前发展。同时,以往带来巨大财富的众多技术将走向“非货币化”。当下,人类正面临着被AI夺去工作的危机。许多传统行业(例如汽车制造业)将被彻底颠覆,但新的机会也在酝酿,技术的进步使得带宽成本、计算成本、存储成本等创新成本趋近于0,创业不再是资本、技术或信息......一起来看看 《驾驭未来:抓住奇点冲击下的商机》 这本书的介绍吧!

在线进制转换器
在线进制转换器

各进制数互转换器

HEX HSV 转换工具
HEX HSV 转换工具

HEX HSV 互换工具

HSV CMYK 转换工具
HSV CMYK 转换工具

HSV CMYK互换工具