Commit 4faaf21b authored by Arne Graf's avatar Arne Graf

parallel to Wall Dir

parent 14cec38b
......@@ -25,8 +25,8 @@ logging.basicConfig(filename=logfile, level=logging.INFO, format='%(asctime)s -
# ============= some default dictionaries =============
default_value = {'tmax':1000, 'seed':1111, 'geometry':'', 'number':1, 'num_threads':1, 'file':'', 'model_id':1, 'exit_crossing_strategy':3, 'cell_size':2.2, 'operational_model_id':1}
tags = ['tmax', 'seed', 'geometry', 'exit_crossing_strategy', 'num_threads'] # only these tags can be multiplied
attributes = ['number', 'operational_model_id', 'cell_size', 'router_id'] # these attributes too, but
tags2attributes = ['group', 'agents', 'linkedcells', 'router' ] # only these corresponding to these tags
attributes = ['number', 'operational_model_id', 'cell_size', 'router_id', 'wall_avoid_distance'] # these attributes too, but
tags2attributes = ['group', 'agents', 'linkedcells', 'router', 'floorfield' ] # only these corresponding to these tags
input_tags = {}
# =======================================================
def getParserArgs():
......
Utest/test_13/flow.png

38.3 KB | W: | H:

Utest/test_13/flow.png

41.4 KB | W: | H:

Utest/test_13/flow.png
Utest/test_13/flow.png
Utest/test_13/flow.png
Utest/test_13/flow.png
  • 2-up
  • Swipe
  • Onion skin
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<geometry version="0.5" caption="Projectname" gridSizeX="20.000000"
gridSizeY="20.000000" unit="m"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="http://134.94.2.137/jps_geoemtry.xsd ">
<rooms>
<room id="0" caption="botleneck" zpos="0.000000">
<subroom id="0" closed="0" class="subroom">
<polygon caption="oben">
<vertex px="65.000000" py="104.000000" />
<vertex px="62.000000" py="104.000000" />
<vertex px="62.000000" py="102.500" />
</polygon>
<polygon caption="unten">
<vertex px="62.000000" py="101.500" />
<vertex px="62.000000" py="100.000000" />
<vertex px="65.000000" py="100.000000" />
</polygon>
</subroom>
<subroom id="1" closed="0" class="subroom">
<polygon caption="wall">
<vertex px="62.000000" py="102.500" />
<vertex px="60.000000" py="102.500" />
</polygon>
<polygon caption="wall">
<vertex px="60.000000" py="101.500" />
<vertex px="62.000000" py="101.500" />
</polygon>
</subroom>
<subroom id="2" closed="0" class="subroom">
<polygon caption="wall">
<vertex px="60.000000" py="102.500" />
<vertex px="60.000000" py="104.000000" />
<vertex px="56.000000" py="104.000000" />
</polygon>
<polygon caption="wall">
<vertex px="56.000000" py="100.000000" />
<vertex px="60.000000" py="100.000000" />
<vertex px="60.000000" py="101.500" />
</polygon>
</subroom>
<crossings>
<crossing id="0" subroom1_id="0" subroom2_id="1">
<vertex px="62.000000" py="102.500" />
<vertex px="62.000000" py="101.500" />
</crossing>
<crossing id="1" subroom1_id="1" subroom2_id="2">
<vertex px="60.000000" py="102.500" />
<vertex px="60.000000" py="101.500" />
</crossing>
</crossings>
</room>
<room id="1" caption="botleneckHolding" zpos="0.000000">
<subroom id="0" closed="0" class="subroom">
<polygon caption="wall">
<vertex px="56.000000" py="104.000000" />
<vertex px="50.000000" py="104.000000" />
<vertex px="50.000000" py="100.000000" />
<vertex px="56.000000" py="100.000000" />
</polygon>
</subroom>
</room>
</rooms>
<transitions>
<transition id="2" caption="No_Name" type="emergency"
room1_id="0" subroom1_id="0" room2_id="-1" subroom2_id="-1">
<vertex px="65.000000" py="104.000000" />
<vertex px="65.000000" py="100.000000" />
</transition>
<transition id="3" caption="No_Name" type="emergency"
room1_id="0" subroom1_id="2" room2_id="1" subroom2_id="0">
<vertex px="56.000000" py="104.000000" />
<vertex px="56.000000" py="100.000000" />
</transition>
</transitions>
</geometry>
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<geometry version="0.5" caption="Projectname" gridSizeX="20.000000"
gridSizeY="20.000000" unit="m"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="http://134.94.2.137/jps_geoemtry.xsd ">
<rooms>
<room id="0" caption="botleneck" zpos="0.000000">
<subroom id="0" closed="0" class="subroom">
<polygon caption="oben">
<vertex px="65.000000" py="104.000000" />
<vertex px="62.000000" py="104.000000" />
<vertex px="62.000000" py="102.700" />
</polygon>
<polygon caption="unten">
<vertex px="62.000000" py="101.300" />
<vertex px="62.000000" py="100.000000" />
<vertex px="65.000000" py="100.000000" />
</polygon>
</subroom>
<subroom id="1" closed="0" class="subroom">
<polygon caption="wall">
<vertex px="62.000000" py="102.700" />
<vertex px="60.000000" py="102.700" />
</polygon>
<polygon caption="wall">
<vertex px="60.000000" py="101.300" />
<vertex px="62.000000" py="101.300" />
</polygon>
</subroom>
<subroom id="2" closed="0" class="subroom">
<polygon caption="wall">
<vertex px="60.000000" py="102.700" />
<vertex px="60.000000" py="104.000000" />
<vertex px="56.000000" py="104.000000" />
</polygon>
<polygon caption="wall">
<vertex px="56.000000" py="100.000000" />
<vertex px="60.000000" py="100.000000" />
<vertex px="60.000000" py="101.300" />
</polygon>
</subroom>
<crossings>
<crossing id="0" subroom1_id="0" subroom2_id="1">
<vertex px="62.000000" py="102.700" />
<vertex px="62.000000" py="101.300" />
</crossing>
<crossing id="1" subroom1_id="1" subroom2_id="2">
<vertex px="60.000000" py="102.700" />
<vertex px="60.000000" py="101.300" />
</crossing>
</crossings>
</room>
<room id="1" caption="botleneckHolding" zpos="0.000000">
<subroom id="0" closed="0" class="subroom">
<polygon caption="wall">
<vertex px="56.000000" py="104.000000" />
<vertex px="50.000000" py="104.000000" />
<vertex px="50.000000" py="100.000000" />
<vertex px="56.000000" py="100.000000" />
</polygon>
</subroom>
</room>
</rooms>
<transitions>
<transition id="2" caption="No_Name" type="emergency"
room1_id="0" subroom1_id="0" room2_id="-1" subroom2_id="-1">
<vertex px="65.000000" py="104.000000" />
<vertex px="65.000000" py="100.000000" />
</transition>
<transition id="3" caption="No_Name" type="emergency"
room1_id="0" subroom1_id="2" room2_id="1" subroom2_id="0">
<vertex px="56.000000" py="104.000000" />
<vertex px="56.000000" py="100.000000" />
</transition>
</transitions>
</geometry>
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<geometry version="0.5" caption="Projectname" gridSizeX="20.000000"
gridSizeY="20.000000" unit="m"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="http://134.94.2.137/jps_geoemtry.xsd ">
<rooms>
<room id="0" caption="botleneck" zpos="0.000000">
<subroom id="0" closed="0" class="subroom">
<polygon caption="oben">
<vertex px="65.000000" py="104.000000" />
<vertex px="62.000000" py="104.000000" />
<vertex px="62.000000" py="102.800" />
</polygon>
<polygon caption="unten">
<vertex px="62.000000" py="101.200" />
<vertex px="62.000000" py="100.000000" />
<vertex px="65.000000" py="100.000000" />
</polygon>
</subroom>
<subroom id="1" closed="0" class="subroom">
<polygon caption="wall">
<vertex px="62.000000" py="102.800" />
<vertex px="60.000000" py="102.800" />
</polygon>
<polygon caption="wall">
<vertex px="60.000000" py="101.200" />
<vertex px="62.000000" py="101.200" />
</polygon>
</subroom>
<subroom id="2" closed="0" class="subroom">
<polygon caption="wall">
<vertex px="60.000000" py="102.800" />
<vertex px="60.000000" py="104.000000" />
<vertex px="56.000000" py="104.000000" />
</polygon>
<polygon caption="wall">
<vertex px="56.000000" py="100.000000" />
<vertex px="60.000000" py="100.000000" />
<vertex px="60.000000" py="101.200" />
</polygon>
</subroom>
<crossings>
<crossing id="0" subroom1_id="0" subroom2_id="1">
<vertex px="62.000000" py="102.800" />
<vertex px="62.000000" py="101.200" />
</crossing>
<crossing id="1" subroom1_id="1" subroom2_id="2">
<vertex px="60.000000" py="102.800" />
<vertex px="60.000000" py="101.200" />
</crossing>
</crossings>
</room>
<room id="1" caption="botleneckHolding" zpos="0.000000">
<subroom id="0" closed="0" class="subroom">
<polygon caption="wall">
<vertex px="56.000000" py="104.000000" />
<vertex px="50.000000" py="104.000000" />
<vertex px="50.000000" py="100.000000" />
<vertex px="56.000000" py="100.000000" />
</polygon>
</subroom>
</room>
</rooms>
<transitions>
<transition id="2" caption="No_Name" type="emergency"
room1_id="0" subroom1_id="0" room2_id="-1" subroom2_id="-1">
<vertex px="65.000000" py="104.000000" />
<vertex px="65.000000" py="100.000000" />
</transition>
<transition id="3" caption="No_Name" type="emergency"
room1_id="0" subroom1_id="2" room2_id="1" subroom2_id="0">
<vertex px="56.000000" py="104.000000" />
<vertex px="56.000000" py="100.000000" />
</transition>
</transitions>
</geometry>
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<geometry version="0.5" caption="Projectname" gridSizeX="20.000000"
gridSizeY="20.000000" unit="m"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="http://134.94.2.137/jps_geoemtry.xsd ">
<rooms>
<room id="0" caption="botleneck" zpos="0.000000">
<subroom id="0" closed="0" class="subroom">
<polygon caption="oben">
<vertex px="65.000000" py="104.000000" />
<vertex px="62.000000" py="104.000000" />
<vertex px="62.000000" py="103.100" />
</polygon>
<polygon caption="unten">
<vertex px="62.000000" py="100.900" />
<vertex px="62.000000" py="100.000000" />
<vertex px="65.000000" py="100.000000" />
</polygon>
</subroom>
<subroom id="1" closed="0" class="subroom">
<polygon caption="wall">
<vertex px="62.000000" py="103.100" />
<vertex px="60.000000" py="103.100" />
</polygon>
<polygon caption="wall">
<vertex px="60.000000" py="100.900" />
<vertex px="62.000000" py="100.900" />
</polygon>
</subroom>
<subroom id="2" closed="0" class="subroom">
<polygon caption="wall">
<vertex px="60.000000" py="103.100" />
<vertex px="60.000000" py="104.000000" />
<vertex px="56.000000" py="104.000000" />
</polygon>
<polygon caption="wall">
<vertex px="56.000000" py="100.000000" />
<vertex px="60.000000" py="100.000000" />
<vertex px="60.000000" py="100.900" />
</polygon>
</subroom>
<crossings>
<crossing id="0" subroom1_id="0" subroom2_id="1">
<vertex px="62.000000" py="103.100" />
<vertex px="62.000000" py="100.900" />
</crossing>
<crossing id="1" subroom1_id="1" subroom2_id="2">
<vertex px="60.000000" py="103.100" />
<vertex px="60.000000" py="100.900" />
</crossing>
</crossings>
</room>
<room id="1" caption="botleneckHolding" zpos="0.000000">
<subroom id="0" closed="0" class="subroom">
<polygon caption="wall">
<vertex px="56.000000" py="104.000000" />
<vertex px="50.000000" py="104.000000" />
<vertex px="50.000000" py="100.000000" />
<vertex px="56.000000" py="100.000000" />
</polygon>
</subroom>
</room>
</rooms>
<transitions>
<transition id="2" caption="No_Name" type="emergency"
room1_id="0" subroom1_id="0" room2_id="-1" subroom2_id="-1">
<vertex px="65.000000" py="104.000000" />
<vertex px="65.000000" py="100.000000" />
</transition>
<transition id="3" caption="No_Name" type="emergency"
room1_id="0" subroom1_id="2" room2_id="1" subroom2_id="0">
<vertex px="56.000000" py="104.000000" />
<vertex px="56.000000" py="100.000000" />
</transition>
</transitions>
</geometry>
......@@ -2,10 +2,10 @@
<!-- <JuPedSim project="JPS-Project" version="0.5" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="ini.xsd"> -->
<JuPedSim project="JPS-Project" version="0.5" xmlns:xsi="http://xsd.jupedsim.org/jps_ini_core.xsd" xsi:noNamespaceSchemaLocation="ini.xsd">
<seed>linspace(1,10000,3)</seed>
<seed>linspace(1,10000,1)</seed>
<!-- <seed>1</seed> -->
<num_threads>4</num_threads>
<max_sim_time unit="sec">100</max_sim_time>
<max_sim_time unit="sec">150</max_sim_time>
<!-- geometry file -->
<geometry>test_13/geometries/</geometry>
<!-- traectories file and format -->
......@@ -14,7 +14,7 @@
</trajectories>
<!-- where to store the logs -->
<!--logfile>log</logfile-->
<show_statistics>true</show_statistics>
<!-- traffic information: e.g closed doors or smoked rooms -->
<traffic_constraints>
<!-- room states are: good or smoked -->
......@@ -30,7 +30,7 @@
<routing>
<goals>
<goal id="0" final="true" caption="goal 0">
<!--goal id="0" final="true" caption="goal 0">
<polygon>
<vertex px="11.0" py="2.0" />
<vertex px="11.0" py="3.0" />
......@@ -38,15 +38,15 @@
<vertex px="12.0" py="2.0" />
<vertex px="11.0" py="2.0" />
</polygon>
</goal>
</goal-->
</goals>
</routing>
<!--persons information and distribution -->
<agents operational_model_id="2">
<agents operational_model_id="3">
<agents_distribution>
<group group_id="0" agent_parameter_id="0" room_id="1" subroom_id="0" number="60" goal_id="-1" router_id="1"/>
<group group_id="0" agent_parameter_id="0" room_id="1" subroom_id="0" number="180" goal_id="-1" router_id="1"/>
</agents_distribution>
<!-- frequency in persons/minute -->
......@@ -91,6 +91,27 @@
<atau mu="0.23" sigma="0.001" />
</agent_parameters>
</model>
<model operational_model_id="3" description="gradnav">
<model_parameters>
<solver>euler</solver>
<stepsize>0.01</stepsize>
<exit_crossing_strategy>6</exit_crossing_strategy>
<floorfield delta_h="0.0625" wall_avoid_distance="linspace(0.5,1.0,2)" use_wall_avoidance="true" />
<linkedcells enabled="true" cell_size="4.2" />
<force_ped nu="3" b="1.0" c="3.0" />
<force_wall nu="1" b="0.70" c="3.0" />
<anti_clipping slow_down_distance=".5" />
</model_parameters>
<agent_parameters agent_parameter_id="0">
<v0 mu="1.34" 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.23" sigma="0.001" />
</agent_parameters>
</model>
</operational_models>
<route_choice_models>
......
......@@ -3,16 +3,19 @@ import numpy as np
import os, argparse, logging, time, sys
from os import path, system
from sys import argv ,exit
from sets import Set
import subprocess, glob
import multiprocessing
from matplotlib.pyplot import *
import re
widths = [ 1.0, 1.2, 1.4, 1.6, 2.0, 2.2, 2.5 ]
#widths = [ 1.2, 1.4, 1.6, 2.0, 2.2, 2.5 ]
widths = [ 1.2, 2.0, 2.5 ]
#lid_w = np.array([ 0.9, 1., 1.1, 1.2, 1.4, 1.6, 1.8, 2., 2.2, 2.5])
#lid_f = np.array([ 1.70998632, 2.02483801, 2.19426565, 2.53207292, 2.91149068, 3.11461794, 3.90625, 3.91032325, 4.52352232, 5.54733728])
lid_w = widths
lid_f = np.array([ 2.02483801, 2.19426565, 2.53207292, 3.11461794, 3.91032325, 4.52352232, 5.54733728])
#lid_f = np.array([2.53207292, 2.91149068, 3.11461794, 3.91032325, 4.52352232, 5.54733728])
lid_f = np.array([2.53207292, 3.91032325, 5.54733728])
#=========================
testnr = 13
#========================
......@@ -52,6 +55,7 @@ if __name__ == "__main__":
logging.info("change directory back to %s"%DIR)
flows = {}
WADs = Set([]) #set of wall_avoid_distances
tolerance = 0.5# todo: maybe too large
time1 = time.clock()
for e in ["png", "txt"]:
......@@ -75,12 +79,15 @@ if __name__ == "__main__":
exit(FAILURE)
print inifile
width_size = float(inifile.split("geometry_")[1].split("_")[0])
cmd = "%s --inifile=%s"%(executable, inifile)
wall_avoid_distance = float(inifile.split("avoid_distance_")[1].split(".xml")[0])
WADs.add("%f"%wall_avoid_distance)
#cmd = "%s --inifile=%s"%(executable, inifile)
#--------------------- SIMULATION ------------------------
#os.chdir(TRUNK) #cd to the simulation directory
cmd = "%s --inifile=%s"%(executable, inifile)
logging.info('\n--------------\n start simulating with exe=<%s>'%(cmd))
logging.info('width_size = <%.2f>'%width_size)
#logging.info('\n--------------\n start simulating with exe=<%s>'%(cmd))
#logging.info('width_size = <%.2f>'%width_size)
#------------------------------------------------------
subprocess.call([executable, "--inifile=%s"%inifile])
#------------------------------------------------------
......@@ -94,17 +101,18 @@ if __name__ == "__main__":
maxtime = get_maxtime(inifile)
fps, N, traj = parse_file(trajfile)
J = flow(fps, N, traj, 61)
if not flows.has_key(width_size):
flows[width_size] = [J]
if not flows.has_key("%f"%width_size + "_" + "%f"%wall_avoid_distance):
flows["%f"%width_size + "_" + "%f"%wall_avoid_distance] = [J]
else:
flows[width_size].append(J)
flows["%f"%width_size + "_" + "%f"%wall_avoid_distance].append(J)
logging.info("W = %f; Flow = %f"%(width_size, J))
logging.info("W = %f; WAD = %f; Flow = %f"%(width_size, wall_avoid_distance, J))
#logging.debug("flows: (%s)"%', '.join(map(str, flows)))
#------------------------------------------------------------------------------
logging.debug("flows: (%s)"%', '.join(map(str, flows)))
logging.debug("WADs: (%s)"%', '.join(WADs))
# ----------------------- PLOT RESULTS ----------------------
#sey = np.loadtxt("bck-b-scaling/seyfried-j-b.dat")
#kretz = np.loadtxt("bck-b-scaling/kretz-j-b.dat")
......@@ -115,31 +123,52 @@ if __name__ == "__main__":
# lid_f = 150.0/(lid[:,4]-lid[:,1])
# flows = np.array(flows)
flow_file = "flow.txt"
ff = open(flow_file, "w")
logging.info('write flow values in \"%s\"'%flow_file)
for key, value in flows.items():
print >>ff, key, ":", value
ff.close
err = 0.
floatflowsWAD = [el.split("_")[1] for el in flows.keys()]
floatflowsWAD = [float(el) for el in floatflowsWAD]
floatflowsWAD = np.array(floatflowsWAD)
floatflowsWidth = [el.split("_")[0] for el in flows.keys()]
floatflowsWidth = [float(el) for el in floatflowsWidth]
floatflowsWidth = np.array(floatflowsWidth)
M = np.array([np.mean(i) for i in flows.values()]) # std pro CPU
S = np.array([np.std(i) for i in flows.values()]) # std pro CPU
print >>ff, "==========================="
print >>ff, "==========================="
print >>ff, "Means "
print >>ff, M
print >>ff, "==========================="
print >>ff, "Std "
print >>ff, S
print >>ff, "==========================="
color = ['blue', 'red', 'green', 'cyan', 'magenta']
cnt = 0
clf()
for wad in WADs:
flow_file = "flowWAD%s.txt"%wad
ff = open(flow_file, "w")
#flow_file = "flow.txt"
#ff = open(flow_file, "w")
logging.info('write flow values in \"%s\"'%flow_file)
for key, value in flows.items():
if wad in key.split("_")[1]:
print >>ff, key.split("_")[0], ":", value
ff.close
#M = np.array([np.mean(i) for i in flows.values()]) # std pro CPU
#S = np.array([np.std(i) for i in flows.values()]) # std pro CPU
#print >>ff, "==========================="
#print >>ff, "==========================="
#print >>ff, "Means "
#print >>ff, M
#print >>ff, "==========================="
#print >>ff, "Std "
#print >>ff, S
#print >>ff, "==========================="
#########################################################################
ms = 8
#plot(widths, flows, "o-b", lw = 2, ms = ms, label = "simulation")
indexsort = np.argsort( flows.keys() )
F = np.array( flows.keys() )[indexsort]
plot(F, np.array(M)[indexsort], "o-", lw=2, label='Mean', color='blue')
errorbar(F , np.array(M)[indexsort] , yerr=np.array(S)[indexsort], fmt='-o')
ms = 8
#plot(widths, flows, "o-b", lw = 2, ms = ms, label = "simulation")
condition = floatflowsWAD == float(wad)
subpart = floatflowsWidth[condition]
indexsort = np.argsort( subpart )
logging.debug(indexsort)
F = np.array(subpart)[indexsort]
plot(F, (np.array(M)[condition])[indexsort], "o-", lw=2, label='Mean WAD: %s'%wad, color=color[cnt])
cnt = cnt + 1
if cnt == len(color):
cnt = 0
err += np.sqrt( sum(((M[condition])[indexsort]-lid_f)**2) )
#errorbar(F , np.array(M)[indexsort] , yerr=np.array(S)[indexsort], fmt='-o')
plot(lid_w , lid_f, "D-k", lw=2, ms = ms, label = "experiment")
axes().set_aspect(1./axes().get_data_ratio())
......@@ -149,14 +178,14 @@ if __name__ == "__main__":
ylabel(r'$J\; [\, \frac{1}{\rm{s}}\, ]$',fontsize=18)
#xticks([0.8, 1.0, 1.2, 1.4, 1.6, 1.8, 2.0, 2.3, 2.5])
xticks(widths)
xlim([0.7, 2.6])
ylim([1, 6])
err = np.sqrt( sum((M-lid_f)**2) )
xlim([1.1, 2.6])
ylim([0, 6])
title(r"$\sqrt{{\sum_w {(\mu(w)-E(w)})^2 }}=%.2f\; (tol=%.2f)$"%(err, tolerance), y=1.02)
savefig("flow.png")
#show()
show()
#########################################################################
time2 = time.clock()
......
......@@ -40,7 +40,7 @@
</routing>
<!--persons information and distribution -->
<agents operational_model_id="2">
<agents operational_model_id="3">
<agents_distribution>
<group group_id="0" agent_parameter_id="0" room_id="0" subroom_id="0" number="1" start_x="2" start_y="2.2" goal_id="0" router_id="1" />
<group group_id="0" agent_parameter_id="1" room_id="0" subroom_id="0" number="1" start_x="4" start_y="2" goal_id="0" router_id="1" />
......@@ -104,6 +104,27 @@
<atau mu="0.5" sigma="0.001" />
</agent_parameters>
</model>
<model operational_model_id="3" description="gradnav">
<model_parameters>
<solver>euler</solver>
<stepsize>0.01</stepsize>
<exit_crossing_strategy>6</exit_crossing_strategy>
<floorfield delta_h="0.0625" wall_avoid_distance="1.5" use_wall_avoidance="true" />
<linkedcells enabled="true" cell_size="4.2" />
<force_ped nu="5" b="0.3" c="3.0" />
<force_wall nu="1" b="0.70" c="3.0" />
<anti_clipping slow_down_distance=".2" />
</model_parameters>
<agent_parameters agent_parameter_id="1">
<v0 mu="1.2" 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.1" sigma="0.001" />
</agent_parameters>
</model>
</operational_models>
<route_choice_models>
......
......@@ -2,7 +2,7 @@
<JuPedSim project="JPS-Project" version="0.5" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="ini.xsd">
<max_sim_time>90</max_sim_time>
<max_sim_time>20</max_sim_time>
<!-- seed used for initialising random generator -->
<seed>1</seed>
<!-- geometry file -->
......@@ -40,10 +40,10 @@
</routing>
<!--persons information and distribution -->
<agents operational_model_id="[1,2]">
<agents operational_model_id="3">
<agents_distribution>
<group group_id="0" agent_parameter_id="0" room_id="0" subroom_id="0" number="1" start_x="2" start_y="2.2" goal_id="0" router_id="1" />
<group group_id="0" agent_parameter_id="1" room_id="0" subroom_id="0" number="1" start_x="4" start_y="2" goal_id="0" router_id="1" />