master_ini.xml 4.21 KB
Newer Older
Mohcine Chraibi's avatar
Mohcine Chraibi committed
1 2
<?xml version="1.0" encoding="UTF-8" ?>

3
<JuPedSim project="JPS-Project" version="0.8" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="ini.xsd">
Mohcine Chraibi's avatar
Mohcine Chraibi committed
4 5

  <!-- seed used for initialising random generator -->
Mohcine Chraibi's avatar
Mohcine Chraibi committed
6 7
  <seed>1234</seed>
  <num_threads>[1, 2, 4, 8, 16, 24]</num_threads>
Mohcine Chraibi's avatar
Mohcine Chraibi committed
8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45
  <max_sim_time unit="sec">900</max_sim_time>
  <!-- geometry file -->
  <geometry>../geometry.xml</geometry>
  <!-- traectories file and format -->
  <trajectories format="xml-plain" embed_mesh="false" fps="8">
    <file location="trajectories.xml"/>
  </trajectories>
  <!-- where to store the logs -->
  <logfile>log</logfile>

  <!-- traffic information: e.g closed doors or smoked rooms -->
  <traffic_constraints>
    <rooms>
      <room room_id="0" state="good" />
    </rooms>
    <rooms>
      <room room_id="1" state="good" />
    </rooms>
    <!-- doors states are: close or open -->
    <doors>
      <door trans_id="2" caption="" state="open" />
    </doors>
  </traffic_constraints>
  <routing>
    <goals>
      <goal id="0" final="true" caption="goal 1">
        <polygon>
          <vertex px="70" py="101" />
          <vertex px="70" py="103" />
          <vertex px="75" py="103" />
          <vertex px="75" py="101" />
          <vertex px="70" py="101" />
        </polygon>
      </goal>
    </goals>
  </routing>

  <!--persons information and distribution -->
46
  <agents operational_model_id="3">
Mohcine Chraibi's avatar
Mohcine Chraibi committed
47
    <agents_distribution>
Mohcine Chraibi's avatar
Mohcine Chraibi committed
48
      <group group_id="2" agent_parameter_id="0" room_id="1" subroom_id="0" number="40" goal_id="0" router_id="1" route_id=""/>
Mohcine Chraibi's avatar
Mohcine Chraibi committed
49 50 51 52 53 54 55 56
    </agents_distribution>

    <!-- frequency in persons/minute -->
    <agents_sources/>
  </agents>

  <!-- These parameters may be overwritten -->
  <operational_models>
57 58 59 60 61 62 63 64 65
    <model operational_model_id="3" description="Tordeux2015">
      <model_parameters>
        <solver>euler</solver>
        <stepsize>0.05</stepsize>
        <exit_crossing_strategy>3</exit_crossing_strategy>
        <linkedcells enabled="true" cell_size="2.2" />
        <force_ped  a="5" D="0.1"/>
        <force_wall a="5" D="0.02"/>
      </model_parameters>
Mohcine Chraibi's avatar
Mohcine Chraibi committed
66
      <agent_parameters agent_parameter_id="0">
67 68 69 70 71 72 73 74 75 76
        <v0 mu="1.34" sigma="0.001" />
        <bmax mu="0.15" sigma="0.00000" /> <!-- this is l, assuming peds are circles with constant radius-->
        <bmin mu="0.15" sigma="0.00000" />
        <amin mu="0.15" sigma="0.00000" />
        <tau mu="0.5" sigma="0.001" />
        <atau mu="0.0" sigma="0.00000" />
        <T mu="1" sigma="0.001"/>
      </agent_parameters>
    </model>

Mohcine Chraibi's avatar
Mohcine Chraibi committed
77
    <model operational_model_id="1" description="gcfm">
78
      <model_parameters>
Mohcine Chraibi's avatar
Mohcine Chraibi committed
79 80
        <solver>euler</solver>
        <stepsize>0.001</stepsize>
81
        <exit_crossing_strategy>4</exit_crossing_strategy>
Mohcine Chraibi's avatar
Test 11  
Mohcine Chraibi committed
82
        <linkedcells enabled="true" cell_size="2.2" />
83 84 85 86
        <force_ped nu="0.2" dist_max="3" disteff_max="2" interpolation_width="0.1" />
        <force_wall nu="0.2" dist_max="3" disteff_max="2" interpolation_width="0.1" />
      </model_parameters>
      <agent_parameters agent_parameter_id="0">
Mohcine Chraibi's avatar
Mohcine Chraibi committed
87 88 89 90 91 92
        <v0 mu="1.34" sigma="0.001" />
        <bmax mu="0.25" sigma="0.001" />
        <bmin mu="0.20" sigma="0.001" />
        <amin mu="0.18" sigma="0.001" />
        <tau mu="0.5" sigma="0.001" />
        <atau mu="0.23" sigma="0.001" />
93
      </agent_parameters>
Mohcine Chraibi's avatar
Mohcine Chraibi committed
94
    </model>
95 96 97 98
    <model operational_model_id="2" description="gompertz">
      <model_parameters>
        <solver>euler</solver>
        <stepsize>0.01</stepsize>
99
        <exit_crossing_strategy>3</exit_crossing_strategy>
100 101 102 103 104 105 106 107 108 109 110 111 112 113
        <linkedcells enabled="true" cell_size="2.2" />
        <force_ped nu="3"  b="0.25" c="3.0"/>
        <force_wall nu="10" b="0.70" c="3.0"/>
      </model_parameters>
      <agent_parameters agent_parameter_id="0">
        <v0 mu="1" sigma="0.0" />
        <bmax mu="0.25" sigma="0.001" />
        <bmin mu="0.20" sigma="0.001" />
        <amin mu="0.18" sigma="0.001" />
        <tau mu="0.01" sigma="0.001" />
        <atau mu="0.5" sigma="0.001" />
      </agent_parameters>
    </model>

Mohcine Chraibi's avatar
Mohcine Chraibi committed
114 115 116 117 118 119 120 121 122 123 124 125

  </operational_models>

  <route_choice_models>
    <router router_id="1" description="global_shortest">
      <parameters>
        <!-- <navigation_lines file="routing.xml" /> -->
      </parameters>
    </router>
  </route_choice_models>

</JuPedSim>