火灾烟雾环境下人员逃生行为仿真研究

火灾烟雾环境下人员逃生行为仿真研究

ID:15048420

大小:46.00 KB

页数:18页

时间:2018-08-01

火灾烟雾环境下人员逃生行为仿真研究_第1页
火灾烟雾环境下人员逃生行为仿真研究_第2页
火灾烟雾环境下人员逃生行为仿真研究_第3页
火灾烟雾环境下人员逃生行为仿真研究_第4页
火灾烟雾环境下人员逃生行为仿真研究_第5页
资源描述:

《火灾烟雾环境下人员逃生行为仿真研究》由会员上传分享,免费在线阅读,更多相关内容在行业资料-天天文库

1、火灾烟雾环境下人员逃生行为仿真研究importjava.awt.*;importjava.awt.event.*;importjavax.swing.*;importjavax.swing.event.*;publicclassxsextendsFrameimplementsRunnable{privatestaticintzsdleft,zsdright,zsdbefore,zsdafter,zsdopen;privatestaticintfzrs;privatestaticdoublefztime;privatestaticdoubletime=0;privatesta

2、ticdoublesteptime;privatestaticdoublePerspective;privatestaticdoubledynamicPlungerArea;privatestaticdoublev0[];privatestaticdoubleex[];privatestaticdoubleey[];privatestaticintr1;privatestaticintr=1;privatestaticintdr=20;privatestaticintx[]=newint[3600];privatestaticinty[]=newint[3600];priv

3、atestaticintqx[]={50,50,950,950,100};privatestaticintqy[]={50,700,700,50,50};privatestaticintxposition[];privatestaticintyposition[];privatestaticdoubled[][];privatestaticdoublem[];privatestaticdoublesmoke[][];privatestaticdoubledsmoke[][];privatestaticdoubledvision[];privatestaticdoubledi

4、ndicator[][];privatestaticdoubleangleindicator[][];privatestaticdoublevision[];privatestaticStringpedestrianStatus[];//墙和行人之间的质心距离与半径和的差privatestaticdoubledq[][];privatefinaldoubleA=2;privatefinaldoubleB=0.08*20;privatestaticfinaldoubleLAIMUDA=0.5;//行人的身体半径为10像素privatefinaldoubleR=10;priva

5、tefinaldoubleK=12;privatestaticdoublepaichixishu[][];privatestaticdoublepaichilix[][];privatestaticdoublepaichiliy[][];privatestaticdoublenx[][];privatestaticdoubleny[][];privatestaticdoublevx[];privatestaticdoublevy[];privatestaticdoublepAndPLx[];privatestaticdoublepAndPLy[];privateString

6、xiancheng;publicvoidxrts(){for(inti=0;i10)&(time<=20)){pedestrianStatus[i]="B";}else{pedestrianStatus[i]="C";}}//行人与其他行人的形成的力的计算for(inti=0;i

7、[i]-xposition[j])*(xposition[i]-xposition[j])+(yposition[i]-yposition[j])*(yposition[i]-yposition[j]));if((2*R-d[i][j])>=0.01){paichixishu[i][j]=2*R-d[i][j];}else{paichixishu[i][j]=0;}nx[i][j]=-(yposition[i]-yposition[j])/d[i][j];ny[i][j]=(xposition[i]-xpositi

当前文档最多预览五页,下载文档查看全文

此文档下载收益归作者所有

当前文档最多预览五页,下载文档查看全文
温馨提示:
1. 部分包含数学公式或PPT动画的文件,查看预览时可能会显示错乱或异常,文件下载后无此问题,请放心下载。
2. 本文档由用户上传,版权归属用户,天天文库负责整理代发布。如果您对本文档版权有争议请及时联系客服。
3. 下载前请仔细阅读文档内容,确认文档内容符合您的需求后进行下载,若出现内容与标题不符可向本站投诉处理。
4. 下载文档时可能由于网络波动等原因无法下载或下载错误,付费完成后未能成功下载的用户请联系客服处理。