Research Article

Emergency Evacuation of Hazardous Chemical Accidents Based on Diffusion Simulation

Algorithm 3

The simulating calculation (part).
  % According to the hypothetical situation in this article, carries on the simulating calculation
  %   represents the average wind speed, the unit is m/s
  %   represents the capacity of liquid chlorine tank trucks, represents the liquid chlorine leakage, the unit is kg
  %   represents the time interval of measurement
  %   represents the stop time of measurement
  %   represents the initial pressure in the liquid chlorine tank trucks
  %   represents the real-time pressure inside the liquid chlorine tank trucks
  ;
  ;
  ; ;
  ;
  ;
  ;
  % Calculate the liquid chlorine leakage at every moment
  while
   ;
   ;
   ;
   ;
    = Q-deltaQPerMin;
end
  % Calculate the concentration on some point at some moment
for ::
   ;
end
for ::
   ;
  for :
    ;
  end
end