Danke Jakob,

The program has creates the file results. There is a summary of the main xml 
files but I do not see the data on the simulation itself.
Do I have to do  something else ?
Regards

François
--------------------------------------------------------------------------------------------------
edge-data OUTPUT file

<!-- generated on sam 13 jun 2015 20:04:46 EDT by SUMO gui Version 0.23.0
<?xml version="1.0" encoding="UTF-8"?>
<configuration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; 
xsi:noNamespaceSchemaLocation="http://sumo.dlr.de/xsd/sumo-gui.exeConfiguration.xsd";>
    <input>
        <net-file value="data/TEST.net.xml"/>
        <route-files value="data/routes.rou.xml"/>
        <additional-files value="data/input_additional.add.xml"/>
    </input>
    <output>
        <save-state.prefix value="data/state"/>
    </output>
    <time>
        <begin value="0"/>
        <end value="3600"/>
    </time>
    <processing>
        <time-to-teleport value="-1"/>
    </processing>
    <emissions>
        <phemlight-path value="data/./PHEMlight/"/>
    </emissions>
    <traci_server>
        <remote-port value="8873"/>
    </traci_server>
</configuration>

----------------------------------------------------------------------------------------------------------------
____
De : Jakob Erdmann [[email protected]]
Date d'envoi : 13 juin 2015 15:53
À : François Vaudrin
Cc : sumo-user
Objet : Re: [sumo-user] Overall performance of a scenario (waiting time) - 
edge-based state dump

yes

2015-06-13 20:25 GMT+02:00 François Vaudrin 
<[email protected]<mailto:[email protected]>>:
Danke Jakob,

I think that should be fine for me so far. To generate the output file
do I have only to add a line in the additionnal-file?

Like this ?

   <edgeData id="mesure_1" file="result_edge.xml"/>

Regards

François

----------------------------------------------------------------------------

An edge-based state dump is defined within an additional-file as following:
<edgeData id="<MEASUREMENT_ID>" file="<OUTPUT_FILE>"/>

_______________________________
De : Jakob Erdmann 
[[email protected]<mailto:[email protected]>]
Date d'envoi : 13 juin 2015 11:54
À : François Vaudrin
Cc : sumo-user
Objet : Re: [sumo-user] Overall performance of a scenario (waiting time)

Hello,
the easiest way to measure performance is via the aggregated waitingTime of the 
edgeData output 
(http://sumo.dlr.de/wiki/Simulation/Output/Lane-_or_Edge-based_Traffic_Measures)
 or the timeLoss for each vehicle in the tripinfo output 
(http://sumo.dlr.de/wiki/Simulation/Output/TripInfo)

However, if you need these values at runtime I'm afraid you will have to 
aggregate the values manually by checking the speed of all running vehicles.

regards,
Jakob

2015-06-13 17:21 GMT+02:00 François Vaudrin 
<[email protected]<mailto:[email protected]><mailto:[email protected]<mailto:[email protected]>>>:
Hi,

I try to find a way to calculate the overall performance of a scenario of 
traffic lights based on waiting time but I do not see which function to use. I 
thought to use the function getWaitingTime(edgeID)
but I understand that this function adds the waiting time of each vehicle every 
second until it move. The number not only contains the waiting time of this 
step but also for previous steps.  So I can not add these waiting times at 
every step to calculate the total waiting time of the simulation. Maybe I do 
not see the problem, did anyone have an idea?

getWaitingTime(vehID)

The waiting time of a vehicle is defined as the time (in seconds) spent with a
speed below 0.1m/s since the last time it was faster than 0.1m/s.
(basically, the waiting time of a vehicle is reset to 0 every time it moves).


Thank you

François

----------------------------------------------------------------------------------------------------------------------------

Maybe I can use getCO2Emission(edgeID) to have a measurement of the 
effectiveness of a scenario. I guess that more CO2 Emission mean more waiting 
time.

------------------------------------------------------------------------------
_______________________________________________
sumo-user mailing list
[email protected]<mailto:[email protected]><mailto:[email protected]<mailto:[email protected]>>
https://lists.sourceforge.net/lists/listinfo/sumo-user


------------------------------------------------------------------------------
_______________________________________________
sumo-user mailing list
[email protected]<mailto:[email protected]>
https://lists.sourceforge.net/lists/listinfo/sumo-user


------------------------------------------------------------------------------
_______________________________________________
sumo-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sumo-user

Reply via email to