inifile.xml 6.91 KB
Newer Older
Mohcine Chraibi's avatar
Mohcine Chraibi committed
1 2 3 4 5 6 7
<?xml version="1.0" encoding="UTF-8" ?>

<JuPedSim project="JPS-Project" version="0.8" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://xsd.jupedsim.org/0.6/jps_ini_core.xsd">

  <!-- seed used for initialising random generator -->
  <seed>12542</seed>
  <!-- geometry file -->
8
  <geometry>geometry.xml</geometry>
Mohcine Chraibi's avatar
Mohcine Chraibi committed
9 10 11 12 13 14 15 16 17 18 19 20 21
  <max_sim_time>5000</max_sim_time>

  <!-- trajectories file and format -->
  <trajectories format="xml-plain" fps="16" color_mode="final_goal">
	    <file location="hybrid_hall_traj_bi.xml" />
    <socket_ hostname="127.0.0.1" port="8989" />
  </trajectories>

  <!-- Parameters for the hybrid (matsim) server mode -->
  <hybrid_simulation_ server="zam763" port="9999" />
  <!--<hybrid_simulation server="zam597" port="9999" />-->

  <!-- where to store the logs -->
22
  <!-- <logfile>log.txt</logfile> -->
Mohcine Chraibi's avatar
Mohcine Chraibi committed
23 24 25 26 27

  <!-- traffic information: e.g closed doors or smoked rooms -->
  <traffic_constraints>
    <!-- doors states are: close or open -->
    <doors>
28
	<!-- <door trans_id="1" caption="exit" state="open" /> -->
Mohcine Chraibi's avatar
Mohcine Chraibi committed
29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81
    </doors>
  </traffic_constraints>

  <routing>
    <goals>
      <goal id="3" final="true" caption="goal3">
        <polygon>
          <vertex px="3.2" py="12.0" />
          <vertex px="3.2" py="13.0" />
          <vertex px="5.6" py="13.0" />
          <vertex px="5.6" py="12.0" />
          <vertex px="3.2" py="12.0" />
        </polygon>
      </goal>
      <goal id="1" final="true" caption="goal1">
        <polygon>
          <vertex px="3.6" py="-3.0" />
          <vertex px="3.6" py="-4.0" />
          <vertex px="5.2" py="-4.0" />
          <vertex px="5.2" py="-3.0" />
          <vertex px="3.6" py="-3.0" />
        </polygon>
      </goal>
      <goal id="2" final="true" caption="goal2">
        <polygon>
          <vertex px="18" py="2.8" />
          <vertex px="19" py="2.8" />
          <vertex px="19" py="6.4" />
          <vertex px="18" py="6.4" />
          <vertex px="18" py="2.8" />
        </polygon>
      </goal>
      <goal id="4" final="true" caption="goal4">
        <polygon>
          <vertex px="-3.0" py="2.8" />
          <vertex px="-4.0" py="2.8" />
          <vertex px="-4.0" py="6.4" />
          <vertex px="-3.0" py="6.4" />
          <vertex px="-3.0" py="2.8" />
        </polygon>
      </goal>
    </goals>
  </routing>

  <!--persons information and distribution -->
  <agents operational_model_id="3">
    <agents_distribution>
      <group group_id="0" room_id="0" subroom_id="0" number="0" router_id="1" agent_parameter_id="1" x_min="3" x_max="5" y_min="3" y_max="5" />
      <group group_id="1" room_id="1" subroom_id="0" number="0" router_id="1" agent_parameter_id="1" goal_id="2" />
      <group group_id="2" room_id="2" subroom_id="0" number="0" router_id="1" agent_parameter_id="1" />
      <group group_id="3" room_id="3" subroom_id="0" number="0" router_id="1" agent_parameter_id="1" goal_id="2" />
      <group group_id="4" room_id="4" subroom_id="0" number="0" router_id="1" agent_parameter_id="1" goal_id="2" />
      <!-- real start group -->
82
      <group group_id="5" room_id="0" subroom_id="0" number="0" router_id="1" agent_parameter_id="1" goal_id="2" y_min="5.2"/>
Mohcine Chraibi's avatar
Mohcine Chraibi committed
83 84 85 86 87
      <group group_id="6" room_id="2" subroom_id="0" number="0" router_id="1" agent_parameter_id="1" goal_id="4" />
      <group group_id="7" room_id="1" subroom_id="0" number="0" router_id="1" agent_parameter_id="1" start_x="4.5" start_y="-1.63" goal_id="4" />
    </agents_distribution>

    <agents_sources><!-- frequency in persons/seconds -->
88 89 90
      <source id="1" frequency="2" agents_max="2" group_id="6" caption="source 1" />
      <source id="2" agent_id="26" time="5" group_id="5" caption="source 2" />
      <source_ id="3" agent_id="27" time="3" group_id="5" caption="source 3" />
Mohcine Chraibi's avatar
Mohcine Chraibi committed
91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180
    </agents_sources>

  </agents>

  <operational_models>
    <model operational_model_id="1" description="gcfm">
      <model_parameters>
        <solver>euler</solver>
        <stepsize>0.001</stepsize>
        <exit_crossing_strategy>4</exit_crossing_strategy>
        <linkedcells enabled="true" cell_size="2.2" />
        <force_ped nu="0.3" 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="1">
        <v0 mu="0.5" 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.5" sigma="0.001" />
        <atau mu="0.5" sigma="0.001" />
      </agent_parameters>
      <agent_parameters agent_parameter_id="2">
        <v0 mu="0.5" 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.5" sigma="0.001" />
        <atau mu="0.5" sigma="0.001" />
      </agent_parameters>
    </model>

    <model operational_model_id="2" description="gompertz">
      <model_parameters>
        <solver>euler</solver>
        <stepsize>0.01</stepsize>
        <exit_crossing_strategy>3</exit_crossing_strategy>
        <linkedcells enabled="true" cell_size="3.4" />
        <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="1">
        <v0 mu="1.0" 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.5" sigma="0.001" />
        <atau mu="0.5" sigma="0.001" />
      </agent_parameters>
      <agent_parameters agent_parameter_id="2">
        <v0 mu="1.3" 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.5" sigma="0.001" />
        <atau mu="0.5" sigma="0.001" />
      </agent_parameters>
    </model>
     <model operational_model_id="3" description="Tordeux2015">
      <model_parameters>
        <solver>euler</solver>
        <stepsize>0.01</stepsize>
        <exit_crossing_strategy>2</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>
      <agent_parameters agent_parameter_id="1">
        <v0 mu="1.0" 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>
  </operational_models>

  <route_choice_models>
    <router router_id="1" description="global_shortest">
      <parameters></parameters>
    </router>
    <router router_id="2" description="quickest">
      <parameters></parameters>
    </router>

  </route_choice_models>

</JuPedSim>