Commit 94a8e0ee authored by tobias schroedter's avatar tobias schroedter

Added demo for schedule

parent 9f7e1b9f
Pipeline #20500 passed with stages
in 10 minutes and 33 seconds
<?xml version="1.0" encoding="UTF-8" ?>
<JPScore project="JPS-Project" version="0.6"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="http://xsd.jupedsim.org/0.6/jps_events.xsd">
<groups>
<group id="0">
<member t_id="0"/>
<member t_id="2"/>
<member t_id="4"/>
</group>
<group id="1">
<member t_id="1"/>
<member t_id="3"/>
<member t_id="5"/>
</group>
<group id="2">
<member t_id="7"/>
<member t_id="9"/>
</group>
<group id="3">
<member t_id="6"/>
<member t_id="8"/>
</group>
</groups>
<times>
<time group_id="0" closing_time="20">
<t t="30"/>
<t t="80"/>
</time>
<time group_id="1" closing_time="20">
<t t="35"/>
<t t="85"/>
</time>
<time group_id="2" closing_time="5">
<t t="2"/>
<t t="50"/>
<t t="90"/>
</time>
<time group_id="3" closing_time="10">
<t t="10"/>
<t t="60"/>
<t t="90"/>
</time>
</times>
</JPScore>
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<geometry version="0.8" caption="corner" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://xsd.jupedsim.org/jps_geometry.xsd" unit="m">
<rooms>
<room id="0" caption="floor">
<subroom id="0" caption="Room 0" class="Not specified" A_x="0" B_y="0" C_z="0">
<polygon caption="wall">
<vertex px="0" py="0"/>
<vertex px="0" py="5"/>
</polygon>
<polygon caption="wall">
<vertex px="0" py="5"/>
<vertex px="5" py="5"/>
</polygon>
<polygon caption="wall">
<vertex px="5" py="5"/>
<vertex px="5" py="3.5"/>
</polygon>
<polygon caption="wall">
<vertex px="5" py="1.5"/>
<vertex px="5" py="0"/>
</polygon>
<polygon caption="wall">
<vertex px="5" py="0"/>
<vertex px="0" py="0"/>
</polygon>
</subroom>
</room>
<room id="1" caption="floor">
<subroom id="0" caption="Room 1" class="Not specified" A_x="0" B_y="0" C_z="0">
<polygon caption="wall">
<vertex px="5" py="3.5"/>
<vertex px="7" py="3.5"/>
</polygon>
<polygon caption="wall">
<vertex px="7" py="1.5"/>
<vertex px="5" py="1.5"/>
</polygon>
</subroom>
</room>
<room id="2" caption="floor">
<subroom id="0" caption="Room 2" class="Not specified" A_x="0" B_y="0" C_z="0">
<polygon caption="wall">
<vertex px="7" py="3.5"/>
<vertex px="7" py="5"/>
</polygon>
<polygon caption="wall">
<vertex px="7" py="5"/>
<vertex px="8" py="5"/>
</polygon>
<polygon caption="wall">
<vertex px="10" py="5"/>
<vertex px="11" py="5"/>
</polygon>
<polygon caption="wall">
<vertex px="13" py="5"/>
<vertex px="14" py="5"/>
</polygon>
<polygon caption="wall">
<vertex px="16" py="5"/>
<vertex px="17" py="5"/>
</polygon>
<polygon caption="wall">
<vertex px="17" py="5"/>
<vertex px="17" py="3.5"/>
</polygon>
<polygon caption="wall">
<vertex px="17" py="1.5"/>
<vertex px="17" py="0"/>
</polygon>
<polygon caption="wall">
<vertex px="17" py="0"/>
<vertex px="16" py="0"/>
</polygon>
<polygon caption="wall">
<vertex px="14" py="0"/>
<vertex px="13" py="0"/>
</polygon>
<polygon caption="wall">
<vertex px="11" py="0"/>
<vertex px="10" py="0"/>
</polygon>
<polygon caption="wall">
<vertex px="8" py="0"/>
<vertex px="7" py="0"/>
</polygon>
<polygon caption="wall">
<vertex px="7" py="0"/>
<vertex px="7" py="1.5"/>
</polygon>
</subroom>
</room>
<room id="3" caption="floor">
<subroom id="0" caption="Room 3" class="Not specified" A_x="0" B_y="0" C_z="0">
<polygon caption="wall">
<vertex px="17" py="3.5"/>
<vertex px="19" py="3.5"/>
</polygon>
<polygon caption="wall">
<vertex px="19" py="1.5"/>
<vertex px="17" py="1.5"/>
</polygon>
</subroom>
</room>
<room id="4" caption="floor">
<subroom id="0" caption="Room 4" class="Not specified" A_x="0" B_y="0" C_z="0">
<polygon caption="wall">
<vertex px="19" py="3.5"/>
<vertex px="19" py="5"/>
</polygon>
<polygon caption="wall">
<vertex px="19" py="5"/>
<vertex px="24" py="5"/>
</polygon>
<polygon caption="wall">
<vertex px="24" py="5"/>
<vertex px="24" py="0"/>
</polygon>
<polygon caption="wall">
<vertex px="24" py="0"/>
<vertex px="19" py="0"/>
</polygon>
<polygon caption="wall">
<vertex px="19" py="0"/>
<vertex px="19" py="1.5"/>
</polygon>
</subroom>
<crossings/>
</room>
</rooms>
<transitions>
<transition id="0" caption="NaN" type="NaN" room1_id="2" subroom1_id="0" room2_id="-1" subroom2_id="-1">
<vertex px="8" py="5"/>
<vertex px="10" py="5"/>
</transition>
<transition id="1" caption="NaN" type="NaN" room1_id="2" subroom1_id="0" room2_id="-1" subroom2_id="-1">
<vertex px="8" py="0"/>
<vertex px="10" py="0"/>
</transition>
<transition id="2" caption="NaN" type="NaN" room1_id="2" subroom1_id="0" room2_id="-1" subroom2_id="-1">
<vertex px="11" py="5"/>
<vertex px="13" py="5"/>
</transition>
<transition id="3" caption="NaN" type="NaN" room1_id="2" subroom1_id="0" room2_id="-1" subroom2_id="-1">
<vertex px="11" py="0"/>
<vertex px="13" py="0"/>
</transition>
<transition id="4" caption="NaN" type="NaN" room1_id="2" subroom1_id="0" room2_id="-1" subroom2_id="-1">
<vertex px="14" py="5"/>
<vertex px="16" py="5"/>
</transition>
<transition id="5" caption="NaN" type="NaN" room1_id="2" subroom1_id="0" room2_id="-1" subroom2_id="-1">
<vertex px="14" py="0"/>
<vertex px="16" py="0"/>
</transition>
<transition id="6" caption="NaN" type="NaN" room1_id="1" subroom1_id="0" room2_id="2" subroom2_id="0">
<vertex px="7" py="3.5"/>
<vertex px="7" py="1.5"/>
</transition>
<transition id="7" caption="NaN" type="NaN" room1_id="0" subroom1_id="0" room2_id="1" subroom2_id="0">
<vertex px="5" py="3.5"/>
<vertex px="5" py="1.5"/>
</transition>
<transition id="8" caption="NaN" type="NaN" room1_id="2" subroom1_id="0" room2_id="3" subroom2_id="0">
<vertex px="17" py="3.5"/>
<vertex px="17" py="1.5"/>
</transition>
<transition id="9" caption="NaN" type="NaN" room1_id="3" subroom1_id="0" room2_id="4" subroom2_id="0">
<vertex px="19" py="3.5"/>
<vertex px="19" py="1.5"/>
</transition>
</transitions>
</geometry>
<?xml version="1.0" encoding="UTF-8" ?>
<JuPedSim project="JPS-Project" version="0.7"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="http://134.94.2.137/jps_ini_core.xsd">
<!-- seed used for initialising random generator -->
<seed>12542</seed>
<!-- geometry file -->
<max_sim_time>110</max_sim_time>
<geometry>schedule_geo.xml</geometry>
<num_threads>1</num_threads>
<!-- traectories file and format -->
<trajectories format="xml-plain" fps="8">
<file location="schedule_traj.xml" />
</trajectories>
<!-- where to store the logs -->
<!--<logfile>log.txt</logfile>-->
<events_file>events.xml</events_file>
<schedule_file>schedule.xml</schedule_file>
<!-- traffic information: e.g closed doors or smoked rooms -->
<traffic_constraints>
</traffic_constraints>
<routing>
<goals>
<goal id="0" final="true" caption="goal 1">
<polygon>
<vertex px="8" py="6" />
<vertex px="10" py="6" />
<vertex px="10" py="7" />
<vertex px="8" py="7" />
<vertex px="8" py="6" />
</polygon>
</goal>
<goal id="1" final="true" caption="goal 1">
<polygon>
<vertex px="8" py="-1" />
<vertex px="10" py="-1" />
<vertex px="10" py="-2" />
<vertex px="8" py="-2" />
<vertex px="8" py="-1" />
</polygon>
</goal>
<goal id="2" final="true" caption="goal 1">
<polygon>
<vertex px="11" py="6" />
<vertex px="13" py="6" />
<vertex px="13" py="7" />
<vertex px="11" py="7" />
<vertex px="11" py="6" />
</polygon>
</goal>
<goal id="3" final="true" caption="goal 1">
<polygon>
<vertex px="11" py="-1" />
<vertex px="13" py="-1" />
<vertex px="13" py="-2" />
<vertex px="11" py="-2" />
<vertex px="11" py="-1" />
</polygon>
</goal>
<goal id="4" final="true" caption="goal 1">
<polygon>
<vertex px="14" py="6" />
<vertex px="16" py="6" />
<vertex px="16" py="7" />
<vertex px="14" py="7" />
<vertex px="14" py="6" />
</polygon>
</goal>
<goal id="5" final="true" caption="goal 1">
<polygon>
<vertex px="14" py="-1" />
<vertex px="16" py="-1" />
<vertex px="16" py="-2" />
<vertex px="14" py="-2" />
<vertex px="14" py="-1" />
</polygon>
</goal>
</goals>
</routing>
<!--persons information and distribution -->
<agents operational_model_id="3">
<agents_distribution>
<group group_id="1" agent_parameter_id="1" room_id="0" subroom_id="0" number="10" goal_id="0" router_id="2" />
<group group_id="2" agent_parameter_id="1" room_id="0" subroom_id="0" number="10" goal_id="2" router_id="2" />
<group group_id="3" agent_parameter_id="1" room_id="0" subroom_id="0" number="10" goal_id="4" router_id="2" />
<group group_id="4" agent_parameter_id="1" room_id="4" subroom_id="0" number="10" goal_id="1" router_id="2" />
<group group_id="5" agent_parameter_id="1" room_id="4" subroom_id="0" number="10" goal_id="3" router_id="2" />
<group group_id="6" agent_parameter_id="1" room_id="4" subroom_id="0" number="10" goal_id="5" router_id="2" />
</agents_distribution>
</agents>
<!-- These parameters may be overwritten -->
<operational_models>
<model operational_model_id="1" description="gcfm">
<model_parameters>
<solver>euler</solver>
<stepsize>0.01</stepsize>
<exit_crossing_strategy>3</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="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="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" 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>8</exit_crossing_strategy>
<linkedcells enabled="true" cell_size="2.2" />
<force_ped a="6" D="0.1" />
<force_wall a="8" D="0.01" />
</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="ff_global_shortest_trips">
<parameters>
</parameters>
</router>
<router router_id="3" description="ff_global_shortest">
<parameters>
</parameters>
</router>
</route_choice_models>
</JuPedSim>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment