Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [sumo-user] Lenght - Internal Lanes

Hi, Jakob.

Now I am using the SUMO gui Version dev-SVN-r25627. Is this the last one?
Because the error is still ocurring.

To give you more informations about my problem:


When my simulation ends at 19s, my vehicle is on -Lane1 and travelled
64,52m. Both tripinfo-output and netstate-dump (organizing data on excel
file) shows 64,52m.
When my simulation ends at 20s, my vehicle is on No8_3_0 (Just to remember:
the route is: -Lane1 > No8_1_0 > No8_3_0 > Lane17). By tripinfo-output the
vehicle travelled 66.28m. But, looking on netstate-dump it should be at
69,37m.

Detailing a little bit more:

Vehicle enters the simulation at -Lane1 at 5.10.

-Lane1 length:70.25m
No8_1_0 length: 3.09m
No8_3_0 length: 4.79

Time: 19s
Final lane: -Lane1 at 69.62m
Distance travelled by tripinfo output: 64.52m.
Distance travelled by netstate dump: 64.52m. (69.62 - 5.10)

Time: 20s
Final lane: No8_3_0 at 1.13m
Distance travelled by tripinfo output: 66.28m
Distance travelled by netstate dump: 69.37m (64.52 + (70.25 - 69.62) + 3.09
+ 1.13).

(Accumulated travel distance on 19s + missing "-Lane1" length(total
"-Lane1" length - position on 19s) + No8_1_0 length + distance travelled on
No8_3_0).

The distance travelled by tripinfo output (66.28) is exactly the sum above
except for the No8_1_0 length (3.09): 69.37 - 3.09: 66.28m.

The vehicle cannot jump No8_1_0, right?

Many thanks,


2017-08-16 10:00 GMT-03:00 Jakob Erdmann <namdre.sumo@xxxxxxxxxxxxxx>:

> Hello,
> you have discovered a bug in SUMO. Thank you bringing it to my attention.
> The issue (http://sumo.dlr.de/trac.wsgi/ticket/3355) has been fixed in
> the latest development version (http://sumo.dlr.de/wiki/
> Downloads#SUMO_-_Latest_Development_Version).
>
> regards,
> Jakob
>
> 2017-08-16 9:11 GMT+02:00 Jakob Erdmann <namdre.sumo@xxxxxxxxxxxxxx>:
>
>> Hello,
>> 1) Please define how you compute accumulated distance from the netstate
>> dump
>> 2) When you define a vehicle trip from -Lane1 to Lane17, does the
>> tripinfo output give the expected length?
>> 3) What sumo options are you using?
>> regards,
>> Jakob
>>
>> 2017-08-16 5:51 GMT+02:00 Paula Naomi via sumo-user <
>> sumo-user@xxxxxxxxxxxxxxxxxxxxx>:
>>
>>> hello
>>> i built a network using NETEDIT and it created some junction, connections
>>> and intersecctions.
>>>
>>> In one interseccion (No8), I identified 4 internal junctions (No8_0_0,
>>> No8_1_0, No8_2_0 and No8_3_0).
>>>
>>> In this part of my network the vehicle travel in this way:
>>> -Lane1 > No8_1_0 > No8_3_0 > Lane17
>>>
>>> -Lane1: length 70.25
>>> No8_1_0: length 3.09
>>> No8_3_0: lenght  4.79
>>> Lane17: lenght 40.5
>>>
>>>
>>>
>>> To analyze accumulated distance, second by second, of a vehicle, im using
>>> netstate-dump output. And to analyze the total lenght travelled im using
>>> the tripinfo-output.
>>>
>>> So, i notice that when a vehicle is at No8_3_0, the distance accumulated
>>> doesnt consider the No8_1_0 lenght.
>>>
>>> When my vehicle is at Lane17, the lenght that it traveled passing trought
>>> No8_1_0 and No8_3_0 is 3.09, but it should be 7.88 (3.09 + 4.79).
>>>
>>> Is is correct?
>>>
>>>
>>> I dont know if it helps, but the junctions are writted like:
>>>
>>>     <junction id="No8" type="priority" x="0.00" y="75.00"
>>> incLanes="-Lane1_0 Lane2_0" intLanes=":No8_0_0 :No8_3_0 :No8_2_0"
>>> shape="-3.25,76.50 3.25,76.50 4.75,74.95 4.75,71.75 3.25,70.25
>>> -3.25,70.25">
>>>         <request index="0" response="000" foes="000" cont="0"/>
>>>         <request index="1" response="100" foes="100" cont="1"/>
>>>         <request index="2" response="000" foes="010" cont="0"/>
>>>     </junction>
>>>
>>>
>>>     <junction id=":No8_3_0" type="internal" x="0.05" y="74.11"
>>> incLanes=":No8_1_0 Lane2_0" intLanes=":No8_2_0"/>
>>>
>>>     <connection from=":No8_1" to="Lane17" fromLane="0" toLane="0"
>>> via=":No8_3_0" dir="s" state="m"/>
>>>
>>> --
>>> *Paula Naomi - **(11) 97211 4554*
>>> Engenheira Civil e Mestranda em Engenharia de Sistemas LogĂ­sticos
>>> ------------------------------------------------------------
>>> ------------------
>>> Check out the vibrant tech community on one of the world's most
>>> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
>>> _______________________________________________
>>> sumo-user mailing list
>>> sumo-user@xxxxxxxxxxxxxxxxxxxxx
>>> https://lists.sourceforge.net/lists/listinfo/sumo-user
>>>
>>
>>
>


-- 
*Paula Naomi - **(11) 97211 4554*
Engenheira Civil e Mestranda em Engenharia de Sistemas LogĂ­sticos
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
sumo-user mailing list
sumo-user@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/sumo-user

Back to the top