Proposal about automated initial civilian allocation

From: Ikuo Takeuchi (nue@nue.org)
Date: Mon 15 Dec 2003 - 13:51:39 GMT


My undergraduate student Noriki Nishimura has been working on
augmenting the reality of the misc-simulator that deals mainly with
parameters about victims. He investigated extensively a number of
literatures on the human damage under big earthquakes and related
topics.

He proposes an automated initial civilian allocation program which
allocates civilians in the map according to various parameters
specified by the user. His work also concerns the health point decay
of buried persons, which, under his investigation, turns out to be
too quick in the current regulation, but related proposal is not
included here. However, DaiDaiToku (Japanese national project on
Earthquake Disaster Mitigation) will adopt his coming proposal because
it is not intended for competition use.

       Ikuo Takeuchi (Prof., The University of Electro-Communications)

 *******************************************************************

[A proposal on the initial civilian allocation on the disaster map]

                                                     Noriki Nishimura

1. Objectives

In the present RoboCupRescue, the initial arrangement of platoon
agents and civilians should be written by hand one by one in the file
gsinit.txt in the map directory. Hence, it is tedious to allocate
civilians in a realistic manner that reflects, say,

  (1) genders and ages of civilians; for example, there are more children
      near school at daytime, and there are more homemakers in the shopping
      town before evening.
  (2) different population density among maps;
  (3) fluctuated population density; for example, almost all people are
      sleeping in their houses in the midnight, but many working people
      are outside the town, and some residents are outside their houses.

The objectives of our proposal is to make gisini.txt more realistic by
reflecting temporal and regional characteristics.

Revised rescue-0_43-unix package is here:
http://ne.cs.uec.ac.jp/~noriki/rescue-0_43-unix-with-mapdata.tar.gz

2. Automatic creation of gisini.txt

Gender and age properties are added to civilian class.

      property value range explanation
      gender 0〜2 0:unknown 1:male 2:female
      age 0〜104

The file gisini.txt is automatically generated from the following input.

  (1) Time when the earthquake happens

          gis -starttime [time]

  (2) mapdata.txt in the map directory

     This file holds information about the regional population as follows.

    civilian_num (integer)

      The number of people in the map. If not specified, it is
      calculated automatically from population_density and the area.
      
    civilian_reduction_ratio (floating point number 0.0 to 1.0)

      The actual number of people allocated in the map is reduced by
      this ratio from civilian_num, because real civilian_num overloads
      the system. (If this value comes closer to 1, the simulation will
      be more realistic.)

    map_dimension (floating point number)

      This specifies the area of the map by the unit of square kilometer.
      If not specified, it is automatically calculated from the
      coordinates of all nodes. This value is not referred if
      civilian_num is explicitly specified.

    population_density (floating point number)

      This denotes the population per square kilometer. This value is
      not referred if civilian_num is explicitly specified.

    daytime_population_ratio (floating point number)

      The ratio between daytime population and night population. If
      the time earthquake happens is between 7:00 and 17:59, the population
      is reduced by this ratio.

    male_num_ratio , female_num_ratio (floating point numbers)
    
      The ratio of male civilians and female civilians.
    
    male_age_ratios , female_age_ratios (floating point numbers)

      Each parameter consists of 21 floating point numbers separated by
      comma, which denote population ratios of generations: ages 0 to 4,
      ages 5 to 9, ages 10 to 14, ..., ages 100 to 104, respectively.
      
    interior_ratios (floating point numbers)

      This parameter consists of 96 floating point numbers separated by
      comma, which denote ratios of people who are inside houses at every
      15 minute interval.

    set_allocation (rule description) end_set_allocation

      This description allows finer specification about civilian allocation.
      For example, most children are inside the school building from 8:30 to
      15:00, or a street is always crowded with homemakers in the afternoon.
      However, there is no such property as "homemaker", an approximate
      expression should be used in the following format.

      In the following, IDs of buildings and roads are those specified in
      building.bin and road.bin. Each line of rule description is in the
      following format:

      [time range] [building/road ID] [gender] [age range] [allocation ratio]

      where

       time range is in HH:MM-HH:MM format as 9:00-12:00,
       building/road ID is Building:ID1(:ID2:...), or Road:ID1(:ID2...), or
        Building:WOOD, Building:STEEL, Building:RC
       gender is male, female, or all
       age range is in Lowest-Highest format as 20-45,
       allocation ratio is a floating point number between 0.0 and 1.0.
  
      <Example 1> In 9:00-15:00, all elementary students are in the school
       (Building ID=334).

           17:00-5:00 Building:334 all 10-15 1.0

      <Example 2> In 13:00-16:30, half of homemakers are shopping malls (Road
       ID=60, 648, and 354).

           13:00-16:30 Road:60:648:354 female 25-70 0.5

      <Example 3> In 19:00-9:00, 70 percent of university students are
       inside fragile wooden houses. This actually happened in the
       Hanshin-Awaji Great Earthquake.

           19:00-9:00 Building:WOOD all 19-23 0.7

    If contradicting set_allocations take place, (presumably more specific
    later specification will get precedence. Civilians which are not
    specified by set_allocation is allocated at random by the default rule
    based upon daytime_population_ratio, interior_ratio etc.

3. A complete example of mapdata.txt

# civilian_num 100

civilian_reduction_ratio 0.1
 
# map_dimension 0.25

population_density 9186.76

daytime_population_ratio 0.69

# The following ratios are borrowed from a recent Japanese census.

male_num_ratio 0.47
male_age_ratios
0.041, 0.039, 0.044, 0.053, 0.064, 0.078, 0.068, 0.058,
0.053, 0.068, 0.087, 0.077, 0.075, 0.072, 0.056, 0.035,
0.019, 0.010, 0.003, 0.000, 0.000

female_num_ratio 0.53
female_age_ratios
0.035, 0.033, 0.041, 0.048, 0.064, 0.070, 0.058, 0.051,
0.050, 0.058, 0.080, 0.080, 0.081, 0.079, 0.064, 0.049,
0.031, 0.019, 0.007, 0.002, 0.000

# The following interior_ratios are borrowed from the report of NHK (Public
# broadcast organization of Japan).

interior_ratios
99.4, 99.3, 100, 100, 99.7, 99.9, 99.4, 99.5, 99.5, 99.2, 98.9, 98.9,
98.7, 98.8, 99, 99, 99, 98.6, 99, 98.3, 98, 97.4, 98.1, 97.1, 94.2,
93.7, 93.1, 91.8, 87.1, 83.4, 74.6, 68.8, 66.4, 72.6, 84.4, 88.3,
93.2, 94, 94.9, 94.4, 91.7, 92.8, 92.9, 93, 93, 92.9, 91.3, 90.9,
61.9, 61.4, 62.5, 67.5, 88.2, 90.8, 92.7, 93, 94, 94.6, 93.8, 92.9,
89.5, 89.9, 89.8, 91.5, 89.9, 89.8, 91.6, 91.6, 85.8, 85.4, 87.5,
88.7, 87.6, 85.5, 89.7, 92, 90.2, 92, 91.7, 92.5, 95.6, 96.6, 97.4,
98.8, 99.3, 99, 99.7, 100, 99.8, 100, 100, 100, 100, 100, 99.5, 98.9

set_allocation
9:00-15:00 Building:431 all 16-18 0.95
9:00-16:00 Building:323 all 19-22 0.95
13:00-16:00 Road:60:648:354 female 34-56 0.7
19:00-7:20 Building:WOOD all 19-23 0.7
end_set_allocation



This archive was generated by hypermail 2.1.3 : Mon 15 Dec 2003 - 13:52:24 GMT