PedestrianDynamics / jupedsim

JuPedSim is an open source pedestrian dynamics simulator
http://jupedsim.org
Other
41 stars 28 forks source link

Intersection of obstacles with subroom #471

Closed gjaeger closed 5 years ago

gjaeger commented 5 years ago

JuPedSim - JPScore

Current date : Aug 13 2019 08:14:37 Version : 0.8.4 Commit hash : v0.8.4-159-gbbe10374 Commit date : Wed Aug 7 16:16:48 2019 Branch : develop

Describe the bug With ini_UNI_CORR_500_05_om_3.xml.zip and geo_UNI_CORR_500_05.xml.zip, I get the following error message in the log file (log_UNI_CORR_500_05_om_3.txt):

ERROR:  the obstacle [0] intersects with subroom [0] in room [0]
     :  the triangulation will not work.
ERROR:  the obstacle [0] intersects with subroom [0] in room [0]
     :  the triangulation will not work.

Two agents are stuck in the corners of the obstacles: traj_UNI_CORR_500_05_om_3_travisto_snap_190813_08h_0

Without the obstacles, all agents leave the room.

Any suggestions?

chraibi commented 5 years ago

I think that according to this

Screenshot 2019-08-13 at 14 53 27

Maybe you try to edit the obstacles and move them a bit?

gjaeger commented 5 years ago

"should" doesn't mean "forbidden". That's why I tried it. ;-)

If I remove the obstacles, agents still get stuck in the corners.

tmp_0000169

if I move the obstacles or the walls of the room a little bit (geo_UNI_CORR_500_05.xml.zip), but nothing changes.

traj_UNI_CORR_500_05_om_3_travisto_snap_190813_09h_0

chraibi commented 5 years ago

You are using router global_shortest. This router needs convex subrooms/rooms. This means you need to add helplines.

If you use ff_global_shortest with <exit_crossing_strategy>8</exit_crossing_strategy>, then you should be able to evacuate them all.

gjaeger commented 5 years ago

You are using router global_shortest. This router needs convex subrooms/rooms. This means you need to add helplines.

Interesting. When I use ff_global_shortest with <exit_crossing_strategy>8</exit_crossing_strategy>, I get the following message:

WARNING:     Room [0] Subroom [0] is not convex!
             you might consider adding extra hlines in your routing.xml file

I'm getting 300 errors, like: ERROR: Could not find a route for pedestrian 229 in room 0 and subroom 0

log_UNI_CORR_500_05_om_3.txt

schroedtert commented 5 years ago

I'm getting 300 errors, like: ERROR: Could not find a route for pedestrian 229 in room 0 and subroom 0

This is due to the FF Router, nothing to worry about. When a ped leaves the building this message is generated, I’m working on removing this (see #374).

chraibi commented 5 years ago

@gjaeger close?

gjaeger commented 5 years ago

That would have been my suggestion now.