Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [sumo-user] Go off vehicles and go back to home

It's not clear to me what kind of confirmation you seek. Removing stages and adding new stages is an intended way to modify person plans.
- use sumo-gui to check whether the person behaves as expected
- use vehroute-output and tripinfo-output to check the sequence of stages recorded for the person

regards,
Jakob

Am Di., 7. Dez. 2021 um 18:08 Uhr schrieb Arbi Alaouy <estdoctor@xxxxxxxxx>:
Hi everyone,
If I have the below person plan, and I get persons from the vehicles when it is in the
busStop(=-1311863524), what I manage to let a person go off the vehicle
and go back to his first edge -256119176#1 is as below:

* remove remaining stages
* add stop stage
* add walk stage to the origin (edge -256119176#1)
* traci.simulation.finIntermodalRoute call
* and finally append returned edges

I'm working on it, I will really appreciate your confirmation.

<person id="-99757_-99825_185" type="pedestrian" depart="11956.51">
    <walk edges="-256119176#1 -256119176#0 -34922929#0" busStop="-1385129016" />
    <walk edges="34922929#0 34922929#2 34922929#3 34922929#4 34922929#5 34922929#6 34922929#7 34922929#8 48541123#0 584347412#1 272967664#2 208303957#5 208303957#4 208303957#3 279122032" busStop="-1654142232" />
    <ride busStop="-1311863524" lines="1:0" intended="pt_tram_1:0.17" depart="15798.0" />
    <ride busStop="-1653197101" lines="2:0" intended="pt_tram_2:0.18" depart="16852.0" />
    <walk edges="743449053#3 743449053#2 -40292570#1 -40292570#2 -336649188#12 -324803741 -324493907#4 -324493907#3 324493907#2 -324493907#1 -255403565#1 -324492514#1 -324492514#2 -255452697#1 -255452697#0 -255452700 255399942#0" arrivalPos="20.84181405688052" />
    <stop lane="255399942#0_0" duration="25200.97136585413" actType="P-Day" />
    <walk edges="255399942#0 -255452700 255452697#0 255452697#1 -324492514#4 -324492514#5 324492514#6 324492514#7 -324492514#8 255403596#3 255403596#2 255403596#1 255403596#0 40292554#8 40292554#7 -40292554#6 -40292554#5 -40292554#4 -40292554#2 -40292554#0 -336649188#0 336649188#0" busStop="-1653197107" />
    <ride busStop="-1385129016" lines="2:0" intended="pt_tram_2:0.48" depart="44188.0" />
    <walk edges="-34922929#0 -256119176#0 -256119176#1" arrivalPos="17.3048604978609" />
    <stop lane="-256119176#1_0" duration="1.0" actType="Home" />    
</person>

Thank you in advance for your answers.

Best regards.

--
El-arbi El-alaouy


_______________________________________________
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