Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[sumo-user] Help: Strange delays with triggered vehicles.

Dear All,

I have some strange simulation results.. My sim starts at time 18000.00 and I need to use TraCI to
retrieve some information.

In the summary, the first timestamp has meanWaitingTime="18000.00". 
<step time="18000.00" loaded="4" inserted="1" running="1" waiting="0" ended="0"
meanWaitingTime="18000.00" meanTravelTime="-1.00" halting="1" meanSpeed="0.00"
meanSpeedRelative="0.00" duration="1528567719873"/> 

The route file contains (among others): 
<person id="pedestrian_1_3456" depart="18002">
	<ride from="15583#1" to="15419#1" lines="pedestrian_1_3456_tr"/>
</person>
<vehicle id="pedestrian_1_3456_tr" type="bicycle" depart="triggered"> 
	<route edges="15583#1 15583#2 15583#3 15174 15416 15417#1 15417#2 15593#0
15593#1 15593#2 -15280 -15945#1 15418 15419#0 15419#1"/> 
</vehicle>

In the tripinfo, I can see:
<personinfo id="pedestrian_1_3456" depart="18002.00">
        <ride waitingTime="0.00" vehicle="pedestrian_1_3456_tr" depart="18002.00"
arrival="18147.00" arrivalPos="21.14" duration="145.00" routeLength="762.43"/>
    </personinfo>
    <tripinfo id="pedestrian_1_3456_tr" depart="18002.00" departLane="15583#1_1" departPos="1.70"
departPosLat="0.00" departSpeed="0.00" departDelay="18002.00" arrival="18147.00"
arrivalLane="15419#1_1" arrivalPos="21.14" arrivalPosLat="-1.02" arrivalSpeed="5.52"
duration="145.00" routeLength="761.58" waitingTime="0.00" waitingCount="0" stopTime="0.00"
timeLoss="7.08" rerouteNo="0" devices="vehroute_pedestrian_1_3456_tr tripinfo_pedestrian_1_3456_tr
fcd_pedestrian_1_3456_tr person_pedestrian_1_3456_tr" vType="bicycle" speedFactor="1.00"
vaporized=""/>

where I can see that the triggered vehicle has departDelay="18002.00".
Given that the person needed it at depart="18002.00", and you can see that the
vehicle is departing at depart="18002.00", shouldn't be the departure delay 0?

Is this intended? Am I doing something wrong?
I'm asking because this is messing up the computation of all my delays.

I'm using Debian Unstable and Eclipse SUMO Version 950502e87e.

Best Regards,
Lara

-- 
Lara CODECA
Postdoc
Tel : 04.93.00.81.51

EURECOM
Campus SophiaTech
http://www.eurecom.fr/


Back to the top