当前位置:网站首页>[Cellular Automata] Simulation of emergency evacuation of disaster personnel under social force factors based on cellular automata with matlab code attached
[Cellular Automata] Simulation of emergency evacuation of disaster personnel under social force factors based on cellular automata with matlab code attached
2022-08-09 01:03:00 【Matlab research studio】
1 Introduction
Analyzes the difficulties of personnel evacuation in emergency situations, proposes personnel evacuation strategies for emergency systems, and designs a CA-based personnel evacuation model. Through model simulation, the influence of relevant parameters in the model on the evacuation effect is analyzed.The field method in the personnel evacuation model is improved on the above. The simulation results show that the emergency evacuation simulation based on CA can well simulate the emergency evacuation behavior of people in the building and the development of emergency events. At the same time, the simulation method is intuitive and flexible.It provides a good research idea for emergency management research.
2 Emulation code
clear all;
close all
W = 0;
B = 1; %number booths
L = 1; %number lanes in highway before and after plaza
T = 1; % # hrs to simulate
global plazalength;
plazalength = 101;
plaza = create_plaza(B,L);
%======================================================
h = show_plaza(plaza,B,NaN); % %
%======================================================
entry_vector = create_entry(T,L);
waiting_time = 0;
output = 0;
for i = 1:T*1440
plaza = move_forward(plaza); %move cars forward
plaza = new_cars(plaza, entry_vector(i)); %allow new cars to enter
plaza = switch_lanes(plaza); %allow lane changes
waiting_time = waiting_time + compute_wait(plaza); %compute waiting time during timestep i
output = output + compute_output(plaza);
%=================================================
h = show_plaza(plaza,B,h); % %
drawnow
%pause(0.2)
%=================================================
plaza = clear_boundary(plaza);
plaza(1:20,1:40)=[-888];
plaza(1:20,60:101)=[-888];
plaza(21:50,1:45)=[-888];
plaza(21:50,55:101)=[-888];
plaza(60:101,1:45)=[-888];
plaza(60:101,55:101)=[-888];
end
show_plaza(plaza,B,h);
3 Run Results
4 References
[1]Bai Yang, Li Xingli, & Guo Fang. (2018). Simulation research on emergency evacuation of primary school students based on cellular automata. Journal of Taiyuan University of Science and Technology.
[2] Zhao Shuying, Su Guojun, He Yun, Xu Xinhe. Simulation Research of Emergency Evacuation System Based on Cellular Automata [J]. Small Microcomputer System, 2007, 28(12):5.
Blogger profile: Good at intelligent optimization algorithm, neural network prediction, signal processing, cellular automata, image processing, path planning, UAV and other fields of Matlab simulation, related matlab code questions can be communicated privately.
Some theories refer to online literature. If there is any infringement, contact the blogger to delete it.
边栏推荐
猜你喜欢
【学习-目标检测】目标检测之——YOLO v3
EfficientNet v2网络学习记录--更小更快
Sencha Touch页面跳转创建返回上一级按钮的设计思路
Sencha Touch页面跳转创建返回上一级按钮的设计思路
A double non-programmer interviewed Ant, Meituan, Ctrip and other big companies with offers to share the interview process
网络安全基础-基本dos命令(一)
Region Proposal Network(RPN)
Unity3D小白学习日记(01):如何把物体移动到鼠标点击处
插值拟合——数据处理或预测
4-4 Matplotlib库 直方图
随机推荐
笔记&代码 | 统计学——基于R(第四版) 第九章一元线性回归
425 Can‘t open data connection for transfer of “/“
等到中心化的平台不再,衍生于这个平台的一切都将化作泡影
Using MySQL on Windows: Automatic Scheduled Backups
【学习-目标检测】目标检测之——YOLO v3
关于cordova的InAppBrowser插件的几点问题
轻量化网络ChannelNet--channel-wize Conv在channel维度卷积
Sencha Touch延迟加载模块中的小类提高程序进入每个模块时性能
JSON基础,传递JSON数据,介绍jackson、gson、fastjson、json-lib四种主流框架!
安装wcf框架
【信号去噪】基于Sage-Husa自适应卡尔曼滤波器实现海浪磁场噪声抑制及海浪磁场噪声的产生附matlab代码
When the centralized platform is gone, everything derived from this platform will be in vain
低代码接口开发平台——YesApi(API+数据表单)
4-9 Matplotlib图结构分析
LeetCode精选200道--双指针篇
ffplay播放控制
数学建模美赛题型分类
利用Ehcache分布式缓存,轻松打造商业级高并发、高性能API接口!
Sencha Touch页面跳转创建返回上一级按钮的设计思路
轻量级网络ESPNet系列 空洞卷积简介