Commit ab359c6a authored by Ulrich Kemloh's avatar Ulrich Kemloh

Test geometry for the hybrid simulation

parent 73d51314
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<geometry version="0.5" caption="hybrid test" unit="m" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://xsd.jupedsim.org/0.6/jps_geometry.xsd">
<rooms>
<room id="0" caption="hall">
<subroom id="0" closed="0" class="subroom">
<polygon caption="wall">
<vertex px="0.0" py="2.8" />
<vertex px="0.0" py="0.0" />
<vertex px="3.6" py="0.0" />
</polygon>
<polygon caption="wall">
<vertex px="5.2" py="0.0" />
<vertex px="9.2" py="0.0" />
<vertex px="9.2" py="2.8" />
</polygon>
<polygon caption="wall">
<vertex px="9.2" py="6.4" />
<vertex px="9.2" py="9.2" />
<vertex px="5.6" py="9.2" />
</polygon>
<polygon caption="wall">
<vertex px="3.2" py="9.2" />
<vertex px="0.0" py="9.2" />
<vertex px="0.0" py="6.4" />
</polygon>
</subroom>
</room>
<room id="1" caption="hall">
<subroom id="0" closed="0" class="subroom">
<polygon caption="wall">
<vertex px="3.6" py="-2.0" />
<vertex px="3.6" py="0.0" />
</polygon>
<polygon caption="wall">
<vertex px="5.2" py="-2.0" />
<vertex px="5.2" py="0.0" />
</polygon>
</subroom>
</room>
<room id="2" caption="hall">
<subroom id="0" closed="0" class="subroom">
<polygon caption="wall">
<vertex px="9.2" py="2.8" />
<vertex px="11.2" py="2.8" />
</polygon>
<polygon caption="wall">
<vertex px="9.2" py="6.4" />
<vertex px="11.2" py="6.4" />
</polygon>
</subroom>
</room>
<room id="3" caption="hall">
<subroom id="0" closed="0" class="subroom">
<polygon caption="wall">
<vertex px="3.2" py="9.2" />
<vertex px="3.2" py="11.2" />
</polygon>
<polygon caption="wall">
<vertex px="5.6" py="9.2" />
<vertex px="5.6" py="11.2" />
</polygon>
</subroom>
</room>
<room id="4" caption="hall">
<subroom id="0" closed="0" class="subroom">
<polygon caption="wall">
<vertex px="0.0" py="2.8" />
<vertex px="-2.0" py="2.8" />
</polygon>
<polygon caption="wall">
<vertex px="0.0" py="6.4" />
<vertex px="-2.0" py="6.4" />
</polygon>
</subroom>
</room>
</rooms>
<transitions>
<transition id="0" caption="exit" type="emergency" room1_id="0" subroom1_id="0" room2_id="1" subroom2_id="0">
<vertex px="3.6" py="0.0" />
<vertex px="5.2" py="0.0" />
</transition>
<transition id="1" caption="exit" type="emergency" room1_id="0" subroom1_id="0" room2_id="2" subroom2_id="0">
<vertex px="9.2" py="2.8" />
<vertex px="9.2" py="6.4" />
</transition>
<transition id="2" caption="exit" type="emergency" room1_id="0" subroom1_id="0" room2_id="3" subroom2_id="0">
<vertex px="3.2" py="9.2" />
<vertex px="5.6" py="9.2" />
</transition>
<transition id="3" caption="exit" type="emergency" room1_id="0" subroom1_id="0" room2_id="4" subroom2_id="0">
<vertex px="0.0" py="2.8" />
<vertex px="0.0" py="6.4" />
</transition>
<transition id="4" caption="exit" type="emergency" room1_id="1" subroom1_id="0" room2_id="-1" subroom2_id="-1">
<vertex px="3.6" py="-2.0" />
<vertex px="5.20" py="-2.0" />
</transition>
<transition id="5" caption="exit" type="emergency" room1_id="2" subroom1_id="0" room2_id="-1" subroom2_id="-1">
<vertex px="11.2" py="2.8" />
<vertex px="11.2" py="6.4" />
</transition>
<transition id="6" caption="exit" type="emergency" room1_id="3" subroom1_id="0" room2_id="-1" subroom2_id="-1">
<vertex px="3.2" py="11.2" />
<vertex px="5.6" py="11.2" />
</transition>
<transition id="7" caption="exit" type="emergency" room1_id="4" subroom1_id="0" room2_id="-1" subroom2_id="-1">
<vertex px="-2.0" py="2.8" />
<vertex px="-2.0" py="6.4" />
</transition>
</transitions>
</geometry>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8" ?>
<JuPedSim project="JPS-Project" version="0.6" 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 -->
<geometry>hybrid_hall_geo.xml</geometry>
<max_sim_time>300</max_sim_time>
<!-- trajectories file and format -->
<trajectories format="xml-plain" fps="8">
<file location="big_room_trajectories.xml" />
<socket hostname="127.0.0.1" port="8989" />
</trajectories>
<!-- Parameters for the hybrid mode -->
<hybrid_simulation server="localhost" port="9999" />
<!-- where to store the logs -->
<!--<logfile>outputfiles/log.txt</logfile> -->
<!-- traffic information: e.g closed doors or smoked rooms -->
<traffic_constraints>
<!-- doors states are: close or open -->
<doors>
</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="12" py="2.8" />
<vertex px="13" py="2.8" />
<vertex px="13" py="6.4" />
<vertex px="12" py="6.4" />
<vertex px="12" 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="2">
<agents_distribution>
<group group_id="0" room_id="0" subroom_id="0" number="0" router_id="1" agent_parameter_id="1" x_min="14" x_max="16" y_min="14" y_max="16" />
<group group_id="1" room_id="0" subroom_id="0" number="10" router_id="1" agent_parameter_id="1" goal_id="4"/>
</agents_distribution>
<agents_sources><!-- frequency in persons/seconds -->
<sources id="1" frequency="5" agents_max="15" group_id="0" caption="source 1" />
<sources id="1" frequency="5" agents_max="15" group_id="0" caption="source 1" />
</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>
</operational_models>
<route_choice_models>
<router router_id="1" description="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