Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [sumo-user] Issues with Subway simulation and Intermodal Routing

The disappearing persons are a special case of having an unspecified arrivalPos and having boarding and deboarding defined on the same edge.
You can fix this by setting  arrivalPos="-1" in the final ride definition.

If you do not set an arrivalPos for a walk, the default is to always walk to the middle of the edge.
Access elements of stops are only used if the busStop is the destination of the preceeding walk or trip:
 <walk from="bike5_s" busStop="1352"/>
However, access are only intended to be used when the busStop is on a different edge than the last edge of the walk (i.e. a rail edge that is forbidden for persons).

Am Mi., 16. Apr. 2025 um 11:09 Uhr schrieb stavroskontorinis--- via sumo-user <sumo-user@xxxxxxxxxxx>:

Thank you again for your response.

The situation occurs with <personFlow> pf2, specifically after time 30750, at busStop 1352.
I’ve attached a .zip file containing all the necessary files, including the .sumocfg and .net.xml, for you to reproduce the issue.

 

Kind Regards,

Stavros Kontorinis

Centre for Research and Technology Hellas (CERTH)

Hellenic Institute of Transport (HIT)

 

 

 

 

From: sumo-user <sumo-user-bounces@xxxxxxxxxxx> On Behalf Of Jakob Erdmann via sumo-user
Sent: Wednesday, April 16, 2025 8:47 AM
To: Sumo project User discussions <sumo-user@xxxxxxxxxxx>
Cc: Jakob Erdmann <namdre.sumo@xxxxxxxxx>
Subject: Re: [sumo-user] Issues with Subway simulation and Intermodal Routing

 

Please include the .sumocfg for that simulation that shows the unexpected behavior and all files referenced therein (i.e. the .net.xml).

 

Am Di., 15. Apr. 2025 um 13:12 Uhr schrieb stavroskontorinis--- via sumo-user <sumo-user@xxxxxxxxxxx>:

Dear Jakob and SUMO team,

Thank you very much for the clarification!

I tried using the same edge as the to in the <ride> element, matching the last edge of the bus route as you suggested. The bus already had a <personFlow> of 5 persons that were supposed to get off and continue their trip on foot.

  • When the bus stopped, the people waiting at the stop boarded first, but as soon as the existing passengers got off, the newly boarded ones (who were supposed to stay on and exit with the vehicle) disappeared immediately. What could be the reason for this behaviour (attached the rou.xml file for buses and intermodal trips and the bus_stops add file)? Then, I switched them to board a different line (e.g., from bus 23 to bus 24) at the same stop, which is still the last stop of the route and in that case, everything worked without any issues.

 

  • Moreover, I’m facing another issue related to how persons approach the bus stop. Before stopping at the bus stop, the persons walk all the way to the middle of the edge and then appear in the bus stop, completely ignoring the access lane that’s supposed to guide them in directly. It seems like they’re not using the intended connection to the stop. Is there any solution in that problem?

Thanks again for your help and your time!

 

Kind Regards,

Stavros Kontorinis

Centre for Research and Technology Hellas (CERTH)

Hellenic Institute of Transport (HIT)

 

 

From: Jakob Erdmann <namdre.sumo@xxxxxxxxx>
Sent: Monday, April 14, 2025 4:02 PM
To: Sumo project User discussions <sumo-user@xxxxxxxxxxx>
Cc: stavroskontorinis@xxxxxxxx
Subject: Re: [sumo-user] Issues with Subway simulation and Intermodal Routing

 

Thank you for reporting.

and the load-state error was due to https://github.com/eclipse-sumo/sumo/issues/16526

you can download a fixed version starting tomorrow at https://sumo.dlr.de/docs/Downloads.php#nightly_snapshots

 

Regarding persons that leave the simulation in a vehicle: If you set the final vehicle edge as the 'to' edge of the ride, no warning will be given and the persons will finish their ride as intended even if the vehicle doesn't stop.  If there is a mismatch between the to-edge and the last vehicle edge, a warning will be given and the person will teleport to the 'to'-edge but no further problems should arise.

 

regards,

Jakob

 

Am Mo., 14. Apr. 2025 um 12:56 Uhr schrieb stavroskontorinis--- via sumo-user <sumo-user@xxxxxxxxxxx>:

Dear SUMO community,

 

I hope you’re doing well.

 

I'm working on a simulation involving a subway line, where subway vehicles are generated every 4 minutes using the <flow> element. Each subway train follows the same route and is scheduled to stop at several defined stops for a fixed duration.

 

To start the simulation with some warm-up traffic present, I use “load-state” to load a previously saved simulation state. However, after doing so, I’ve observed the following issues:

 

  • Some subway trains stop at the bus stops as expected while others do not stop at all, even though the stop definitions are identical.
  • Without the loaded state, in the west to east route the second vehicle (flow1.1) enters the simulation with a depart delay of 440 seconds. Only by applying insertionChecks= “none” it enters normally but then load-state gives the error: attribute 'insertionChecks' is not declared for element 'vehicle'.

 

The inconsistent behavior mentioned in the first point only occurs after loading the state. When running the simulation from the beginning (without loading a state), everything behaves correctly — all subway vehicles stop properly.

 

I am attaching a few example files (load-state, flow of subways, subway stops and net-file) that demonstrate the issue.

 

Moreover, I’ve encountered another issue. I’m also trying to simulate intermodal routing, where persons walk to a bus stop (which is the last stop of the bus route), board the bus there, and then exit the simulation while still on board — without specifying a further destination edge. However, when I define the trip (see screenshot) I receive an error indicating that a “to” attribute is expected in the <ride> element. However, since this is the last stop on the line and the last edge of the network, there is no next edge, and I intend for the person to board the bus there and leave the simulation inside the vehicle (as it exits).

Is there a way in SUMO to simulate this kind of behavior, where a person boards a bus at its final stop and exits the network on board without specifying a “to” edge?

 

Thank you in advance for your time and support.

 

 

Kind Regards,

 

Stavros Kontorinis

Centre for Research and Technology Hellas (CERTH)

Hellenic Institute of Transport (HIT)

 

_______________________________________________
sumo-user mailing list
sumo-user@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user

_______________________________________________
sumo-user mailing list
sumo-user@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user

_______________________________________________
sumo-user mailing list
sumo-user@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user

Back to the top