当前位置:网站首页>Crowd simulation
Crowd simulation
2022-06-27 02:38:00 【Zhangchuncheng】
Crowd simulation
It seems that humans are really right COVID-19 There's no way , It's really annoying .
So we might as well change our mind , Think about how to minimize its harm .
Computational simulation
I have a front-end tool at hand , be called ATOMIC AGENTS
Atomic Agents Spatial agent-based modeling in JavaScriptDocsExamples This module was written for the Visualising Contact Networks in Response to COVID-19 UKRI-funded project (University of Warwick and Swansea University). It is still under active development — contributions are welcome.

Its advantages are high efficiency and simplicity , It is especially suitable for repeatable and interactive epidemiological analysis simulation . I am based on the official sample , Constructed its own analysis program . The code is visible in my front-end repository
This is a diagram of the main program

The lower part represents a simulation scenario , There's... In the scene 1000 Members , Red represents the infected person (Infect), Green represents rehabilitation (Recover) personnel , Blue represents uninfected persons . Some of these people are free to move (Move), Others need to stay at home (Still).
The upper part is the real-time statistics of various indicators , That means we can know in real time
How many people are infected ; How many of them are still , How many people are athletic ; In the whole communication process , What is the peak value of each value .
In this way, we can get a dynamic simulation of epidemiology , That is, how infection spreads in society . As shown in the video .
【】
The results of the analysis
Next , We make simple statistics and analysis of the results .
First, let's see how effective the home isolation policy is , We adjust Move and Still The ratio between
When the proportion of home isolation is 0.8 when , The proportion of people infected at the same time in the total population is 0.04 and 0.12; When the proportion of home isolation is 0.6 when , The proportion of people infected at the same time in the total population is 0.21 and 0.27; When the proportion of home isolation is 0.2 when , The proportion of people infected at the same time in the total population is 0.34 and 0.35.
This shows that even if the home isolation policy can not stop the virus infection forever , But it has at least one effect , That is to reduce the number of simultaneous infections to a very low level , From a utilitarian point of view , It can avoid the run on medical resources caused by the simultaneous infection of too many people to the greatest extent .

StillProb0.8

StillProb0.6

StillProb0.2
Next, we will examine the way of regional isolation , The parameters of previous area isolation are large . Shown on the graph is left 、 The passage between the two areas on the right is wide . We'll narrow it down next ,
The proportion of home isolation is still set at 0.2, It means that there is little need for people to stay still , To the left 、 After the passage between the right areas narrows , The peak proportion of people infected at the same time increased to 0.48 and 0.49; In addition, we set the proportion of home isolation at 0.8, Represents the need for personnel to remain stationary , After narrowing , At the same time, the peak proportion of infected persons is still 0.06 and 0.12.
This may be due to increased intra regional action , It is easy to cause cross infection ; And when most people are still , Zone isolation has little additional effect .

StillProb0.2Narrow

StillProb0.8Narrow
边栏推荐
- C # check whether the date is in the correct format
- Oracle/PLSQL: Replace Function
- Summer planning for the long river
- Shell script series (1) getting started
- Learning Tai Chi Maker - mqtt Chapter 2 (II) esp8266 QoS application
- 455. distribute biscuits [distribution questions]
- Web development framework - Express (installation and use, static hosting, routing processing, use of Middleware)
- Oracle/PLSQL: Lpad Function
- 学习太极创客 — MQTT 第二章(二)ESP8266 QoS 应用
- 企业数字化转型:信息化与数字化
猜你喜欢

Constraintlayout Development Guide

学习太极创客 — MQTT 第二章(三)保留消息

ConstraintLayout(约束布局)开发指南

消费者追捧iPhone,在于它的性价比超越国产手机

DAMA、DCMM等数据管理框架各个能力域的划分是否合理?有内在逻辑吗?

Detailed explanation of ThreadLocal

Look! In June, 2022, the programming language ranking list was released! The first place is awesome

Learn from Taiji Maker - mqtt Chapter 2 (I) QoS service quality level

TopoLVM: 基于LVM的Kubernetes本地持久化方案,容量感知,动态创建PV,轻松使用本地磁盘

执念斩长河暑期规划
随机推荐
解决cherry pick提交报错问题
YaLM 100B:来自俄罗斯Yandex的1000亿参数开源大模型,允许商业用途
Oracle/PLSQL: Translate Function
流沙画模拟器源码
Flink learning 1: Introduction
Learn Tai Chi Maker - mqtt (VI) esp8266 releases mqtt message
Oracle/PLSQL: HexToRaw Function
Flink学习3:数据处理模式(流批处理)
Learn Tai Chi Maker - mqtt (VIII) esp8266 subscribe to mqtt topic
lottie.js创意开关按钮动物头像
Sample development of WiFi IOT Hongmeng development kit
平均风向风速计算(单位矢量法)
paddlepaddle 21 基于dropout实现用4行代码dropblock
LeetCode 785:判断二分图
pytorch 23 hook的使用与介绍 及基于hook实现即插即用的DropBlock
我是怎样简化开源系统中的接口的开发的?
Paddlepaddle 20 implementation and use of exponentialmovingaverage (EMA) (support static graph and dynamic graph)
Parameter estimation -- Chapter 7 study report of probability theory and mathematical statistics (point estimation)
Oracle/PLSQL: Lpad Function
Memcached basics 15