PedestrianDynamics / jupedsim

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

Make escalators direction-dependent #362

Closed chraibi closed 5 years ago

chraibi commented 5 years ago

In Gitlab by @bsmoehring on Mar 26, 2018, 16:23 [origin]

Short description of suggestion

JuPedSim allows us to define subrooms as "stairs" or "escalators". So far the escalator only influences an agent's speed, defined by the parameters

However, the direction of an escalator isn't considered in the routing. This mean that agents can take escalators in the wrong direction.

How to change this:

Talking to Arne and Mohcine, we figured out a way that could possibly work.

has to be further specified by:

After initializing the distance_matrix the distance value in the forbidden direction has to be changed to a very large value for each escalator. The subroom is then unlikely to be chosen.

Best, Benni

chraibi commented 5 years ago

In Gitlab by @bsmoehring on Mar 26, 2018, 16:24

changed the description

chraibi commented 5 years ago

In Gitlab by @bsmoehring on Mar 28, 2018, 17:44

The following example illustrates how things should be working.

There is

Agents walking downstairs should take the detour via the stair instead of the direct way via the escalator_up.

jps_log.P0.dat

jps_geo.xml

jps_traj.xml

jps_ini.xml

chraibi commented 5 years ago

In Gitlab by @bsmoehring on Mar 28, 2018, 17:53

Screenshot_from_2018-03-28_17-52-16

chraibi commented 5 years ago

In Gitlab by @chraibi on Apr 25, 2018, 14:56

assigned to @schroedtert

chraibi commented 5 years ago

In Gitlab by @bsmoehring on Apr 25, 2018, 14:57

Is there any additional data or example that I can provide?

chraibi commented 5 years ago

In Gitlab by @bsmoehring on May 3, 2018, 10:50

The documentation says:

class optional parameter defining the type of the subroom. At the moment two classes are defined:

  • floor

  • stairs take additionally up px="-5.0" py="2" and down px="0.0" py="2", which are used for visualisation purposes.

@chraibi : Do you know if the point up and down are somehow used elsewhere? Does it matter if they're placed on a center point of a line or on a vertex?

Just trying to find out if we destroy something when using these points in the context of escalators.

chraibi commented 5 years ago

In Gitlab by @chraibi on May 3, 2018, 11:07

No, they are not used in jpscore.

chraibi commented 5 years ago

In Gitlab by @chraibi on May 15, 2018, 19:59

Can we close this?

chraibi commented 5 years ago

In Gitlab by @bsmoehring on May 16, 2018, 09:02

yes. 13509c03a5b078e79f8460f0eb8ff4ab2e5e2c2f did its job.

I will provide some documentation for it.

chraibi commented 5 years ago

In Gitlab by @bsmoehring on May 16, 2018, 09:02

closed