Yes, I got this finally. Thank you very much Jacob for your quick reply.
Regards, Sona On Wed, Sep 28, 2022 at 5:34 PM Jakob Erdmann <[email protected]> wrote: > The version should be something like "v1_14_1-1305-gedd6026" so if you > still see 1.14.1 then you still have the old version and the > vehroute-output.internal opton will simply be ignored. > > Am Mi., 28. Sept. 2022 um 14:02 Uhr schrieb Sona S <[email protected]>: > >> Thanks Jakob for your reply but it's not working. I tried both ways >> giving xml file name and also setting boolean value. >> <output> >> <!-- <netstate-dump value="lt outpt1 gt" /> --> >> <!-- <emission-output value="lt emivalue gt" /> --> >> <netstate-dump.precision value="netprecision.xml" /> >> <vehroutes value="vehirout.xml" /> >> <vehroute-output.exit-times value="True" /> >> <vehroute-output.stop-edges value="True" /> >> <vehroute-output.internal value="True" /> >> </output> >> Am I missing something? >> One more thing, how to check that sumo version has upgraded as version >> name is still same 1.14.1 >> >> Regards, >> Sona >> >> >> On Wed, Sep 28, 2022 at 4:34 PM Jakob Erdmann <[email protected]> >> wrote: >> >>> 1. upgrade to the development version ( >>> https://sumo.dlr.de/docs/Downloads.php#nightly_snapshots) >>> 2. set option --vehroute-output.internal >>> >>> Am Mi., 28. Sept. 2022 um 12:23 Uhr schrieb Sona S <[email protected] >>> >: >>> >>>> Hi Jacob, >>>> vehroute-output.exit-times output shows the time when vehicle arrived >>>> at the first edge and when vehicle leaves the simulation. >>>> I want to know for each edge when the vehicle arrived and departed. >>>> Basically I want to know at what time a vehicle approaches the intersection >>>> area as well as when a vehicle leaves the intersection area. So I can >>>> calculate the delay associated with crossing the intersection area. How to >>>> do that? >>>> herewith attached output of "vehiroute-exit-times". >>>> >>>> <?xml version="1.0" encoding="UTF-8"?> >>>> >>>> <!-- generated on 2022-09-28 15:21:58 by Eclipse SUMO GUI Version 1.14.1 >>>> <configuration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" >>>> xsi:noNamespaceSchemaLocation=" >>>> http://sumo.dlr.de/xsd/sumoConfiguration.xsd"> >>>> >>>> <input> >>>> <net-file >>>> value="C:\Users\student\Downloads\hellosumo-master\Vehiget\vehiget.net.xml"/> >>>> <route-files >>>> value="C:\Users\student\Downloads\hellosumo-master\Vehiget\vehiget.rou.xml"/> >>>> </input> >>>> >>>> <output> >>>> <vehroute-output >>>> value="C:\Users\student\Downloads\hellosumo-master\Vehiget\vehirout.xml"/> >>>> <vehroute-output.exit-times value="true"/> >>>> </output> >>>> >>>> <gui_only> >>>> <gui-settings-file >>>> value="C:\Users\student\Downloads\hellosumo-master\Vehiget\gui-settings.cfg"/> >>>> </gui_only> >>>> >>>> </configuration> >>>> --> >>>> >>>> <routes xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" >>>> xsi:noNamespaceSchemaLocation="http://sumo.dlr.de/xsd/routes_file.xsd"> >>>> <vehicle id="1.0" depart="0.00" departLane="0" color="yellow" >>>> arrival="18.00"> >>>> <route edges="E0 E1" exitTimes="10.00 18.00"/> >>>> </vehicle> >>>> >>>> <vehicle id="3.0" depart="6.00" departLane="0" color="magenta" >>>> arrival="24.00"> >>>> <route edges="E0 E1" exitTimes="17.00 24.00"/> >>>> </vehicle> >>>> >>>> <vehicle id="2.0" depart="3.00" departLane="0" color="cyan" >>>> arrival="25.00"> >>>> <route edges="E0 E2" exitTimes="14.00 25.00"/> >>>> </vehicle> >>>> >>>> <vehicle id="4.0" depart="9.00" departLane="0" color="red" >>>> arrival="29.00"> >>>> <route edges="E0 E2" exitTimes="20.00 29.00"/> >>>> </vehicle> >>>> >>>> <vehicle id="5.0" depart="12.00" departLane="0" color="green" >>>> arrival="30.00"> >>>> <route edges="E0 E1" exitTimes="22.00 30.00"/> >>>> </vehicle> >>>> >>>> <vehicle id="6.0" depart="15.00" departLane="0" color="blue" >>>> arrival="38.00"> >>>> <route edges="E0 E2" exitTimes="27.00 38.00"/> >>>> </vehicle> >>>> >>>> </routes> >>>> >>>> Regards, >>>> Sona >>>> >>>> >>>> On Wed, Sep 28, 2022 at 11:47 AM Jakob Erdmann <[email protected]> >>>> wrote: >>>> >>>>> The config you provided is not the same config that you used to start >>>>> your traci simulation (the output file that you sent earlier, indicates >>>>> that some options such as 'fcd-output' and 'vehroute-output.exit-times' >>>>> were not given when starting your traci simulation) >>>>> >>>>> Note, that >>>>> - the option vehroute-output.exit-times is a boolean option (it does >>>>> not require a file name argument) >>>>> - using spaces in output file names will complicate post-processing >>>>> since some sumo tools assume that lists of file names are separated by >>>>> spaces and this will require additional quotation marks to clear >>>>> ambiguities >>>>> - using the file name suffix '.xml' is recommended for all sumo output >>>>> files since many tools use these endings when deciding how to interpret a >>>>> file (and all these files are xml files) >>>>> >>>>> >>>>> Am Mi., 28. Sept. 2022 um 07:26 Uhr schrieb Sona S < >>>>> [email protected]>: >>>>> >>>>>> <?xml version="1.0" encoding="UTF-8"?> >>>>>> >>>>>> <!-- generated on 2022-09-20 17:54:30 by Eclipse SUMO GUI Version >>>>>> 1.14.1 >>>>>> --> >>>>>> >>>>>> <configuration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" >>>>>> xsi:noNamespaceSchemaLocation=" >>>>>> http://sumo.dlr.de/xsd/sumoConfiguration.xsd"> >>>>>> >>>>>> <input> >>>>>> <net-file value="vehiget.net.xml"/> >>>>>> <route-files value="vehiget.rou.xml"/> >>>>>> </input> >>>>>> <gui-settings-file value="gui-settings.cfg"/> >>>>>> <output> >>>>>> <!-- <netstate-dump value="lt outpt1 gt" /> --> >>>>>> <!-- <emission-output value="lt emivalue gt" /> --> >>>>>> <netstate-dump.precision value ="It netprecision gt" /> >>>>>> <vehroutes value="lt vehirout gt" /> >>>>>> <!-- vehroute-output vehroutes.xml /> --> >>>>>> <vehroute-output.exit-times value="lt exit time gt" /> >>>>>> <fcd-output value="lt fcd gt"/> >>>>>> </output> >>>>>> </configuration> >>>>>> >>>>>> Thanks for your reply. >>>>>> >>>>>> >>>>>> >>>>>> On Mon, Sep 26, 2022 at 6:15 PM Jakob Erdmann <[email protected]> >>>>>> wrote: >>>>>> >>>>>>> post the command-line you used for starting sumo and the contents of >>>>>>> the .sumocfg file (if any). >>>>>>> >>>>>>> Am Mo., 26. Sept. 2022 um 11:58 Uhr schrieb Sona S < >>>>>>> [email protected]>: >>>>>>> >>>>>>>> Hi Jacob, >>>>>>>> I have tried "vehiroute-exit-times" to get the value when a vehicle >>>>>>>> leaves an edge. But the output file is not showing the values. I want >>>>>>>> to >>>>>>>> know the arrival and departure time of a vehicle at the intersection >>>>>>>> area >>>>>>>> including the time it spent in the intersection area. I have attached >>>>>>>> the >>>>>>>> output file herewith for reference. >>>>>>>> >>>>>>>> Regards, >>>>>>>> Sona >>>>>>>> >>>>>>>> On Fri, Sep 23, 2022 at 12:22 PM Sona S <[email protected]> >>>>>>>> wrote: >>>>>>>> >>>>>>>>> Hi Jacob, >>>>>>>>> I have tried "vehiroute-exit-times" to get the value when a >>>>>>>>> vehicle leaves an edge. But the output file is not showing the >>>>>>>>> values. I >>>>>>>>> want to know the arrival and departure time of a vehicle at the >>>>>>>>> intersection area including the time it spent in the intersection >>>>>>>>> area. I >>>>>>>>> have attached the output file herewith for reference. >>>>>>>>> >>>>>>>>> Regards, >>>>>>>>> Sona >>>>>>>>> >>>>>>>>> On Wed, Sep 21, 2022 at 3:20 PM Sona S <[email protected]> >>>>>>>>> wrote: >>>>>>>>> >>>>>>>>>> Thank you, Jacob, for your reply. >>>>>>>>>> >>>>>>>>>> On Tue, Sep 20, 2022 at 1:58 PM Jakob Erdmann < >>>>>>>>>> [email protected]> wrote: >>>>>>>>>> >>>>>>>>>>> The options starting with -- are meant for the commandline. In a >>>>>>>>>>> config file it looks like <vehroute-output.exit-times value="true"/> >>>>>>>>>>> See https://sumo.dlr.de/docs/Simulation/Output/VehRoutes.html >>>>>>>>>>> >>>>>>>>>>> Am Mo., 19. Sept. 2022 um 13:31 Uhr schrieb Sona S < >>>>>>>>>>> [email protected]>: >>>>>>>>>>> >>>>>>>>>>>> Thanks for reply. >>>>>>>>>>>> I want arrival/departure time of each vehicle when it is moving >>>>>>>>>>>> on lane and also in the intersection area. So basically I want >>>>>>>>>>>> time when it >>>>>>>>>>>> enters and leaves lane as well as intersection area. How to do >>>>>>>>>>>> that? >>>>>>>>>>>> >>>>>>>>>>>> Do I need to write "--vehroute-output.exit-times, >>>>>>>>>>>> vehroute-output.internal" in configuration file as output ? >>>>>>>>>>>> >>>>>>>>>>>> Regards, >>>>>>>>>>>> Sona >>>>>>>>>>>> >>>>>>>>>>>> On Mon, Sep 19, 2022 at 12:50 PM Jakob Erdmann < >>>>>>>>>>>> [email protected]> wrote: >>>>>>>>>>>> >>>>>>>>>>>>> The easiest solution is to log the edges that the vehicle is >>>>>>>>>>>>> on (traci.vehicle.get RoadID) and trigger on leaving edge before >>>>>>>>>>>>> the >>>>>>>>>>>>> intersection / entering beyond the intersection. >>>>>>>>>>>>> If you need sub-step timing data you can use >>>>>>>>>>>>> traci.inductionloop.getVehicleData for appropriately placed >>>>>>>>>>>>> detectors. >>>>>>>>>>>>> >>>>>>>>>>>>> Note, that the latest development version also supports xml >>>>>>>>>>>>> outputs for this (--vehroute-output.exit-times, >>>>>>>>>>>>> vehroute-output.internal). >>>>>>>>>>>>> >>>>>>>>>>>>> Am So., 18. Sept. 2022 um 13:18 Uhr schrieb Sona S < >>>>>>>>>>>>> [email protected]>: >>>>>>>>>>>>> >>>>>>>>>>>>>> Hi everyone, >>>>>>>>>>>>>> I wanted to know the arrival time and departure time >>>>>>>>>>>>>> of each vehicle at the intersection using python. Can anyone >>>>>>>>>>>>>> help me to get >>>>>>>>>>>>>> the values of that? >>>>>>>>>>>>>> >>>>>>>>>>>>>> Regards, >>>>>>>>>>>>>> Sona >>>>>>>>>>>>>> _______________________________________________ >>>>>>>>>>>>>> sumo-user mailing list >>>>>>>>>>>>>> [email protected] >>>>>>>>>>>>>> To unsubscribe from this list, visit >>>>>>>>>>>>>> https://www.eclipse.org/mailman/listinfo/sumo-user >>>>>>>>>>>>>> >>>>>>>>>>>>> _______________________________________________ >>>>>>>>>>>>> sumo-user mailing list >>>>>>>>>>>>> [email protected] >>>>>>>>>>>>> To unsubscribe from this list, visit >>>>>>>>>>>>> https://www.eclipse.org/mailman/listinfo/sumo-user >>>>>>>>>>>>> >>>>>>>>>>>> _______________________________________________ >>>>>>>>>>>> sumo-user mailing list >>>>>>>>>>>> [email protected] >>>>>>>>>>>> To unsubscribe from this list, visit >>>>>>>>>>>> https://www.eclipse.org/mailman/listinfo/sumo-user >>>>>>>>>>>> >>>>>>>>>>> _______________________________________________ >>>>>>>>>>> sumo-user mailing list >>>>>>>>>>> [email protected] >>>>>>>>>>> To unsubscribe from this list, visit >>>>>>>>>>> https://www.eclipse.org/mailman/listinfo/sumo-user >>>>>>>>>>> >>>>>>>>>> _______________________________________________ >>>>>>>> sumo-user mailing list >>>>>>>> [email protected] >>>>>>>> To unsubscribe from this list, visit >>>>>>>> https://www.eclipse.org/mailman/listinfo/sumo-user >>>>>>>> >>>>>>> _______________________________________________ >>>>>>> sumo-user mailing list >>>>>>> [email protected] >>>>>>> To unsubscribe from this list, visit >>>>>>> https://www.eclipse.org/mailman/listinfo/sumo-user >>>>>>> >>>>>> _______________________________________________ >>>>>> sumo-user mailing list >>>>>> [email protected] >>>>>> To unsubscribe from this list, visit >>>>>> https://www.eclipse.org/mailman/listinfo/sumo-user >>>>>> >>>>> _______________________________________________ >>>>> sumo-user mailing list >>>>> [email protected] >>>>> To unsubscribe from this list, visit >>>>> https://www.eclipse.org/mailman/listinfo/sumo-user >>>>> >>>> _______________________________________________ >>>> sumo-user mailing list >>>> [email protected] >>>> To unsubscribe from this list, visit >>>> https://www.eclipse.org/mailman/listinfo/sumo-user >>>> >>> _______________________________________________ >>> sumo-user mailing list >>> [email protected] >>> To unsubscribe from this list, visit >>> https://www.eclipse.org/mailman/listinfo/sumo-user >>> >> _______________________________________________ >> sumo-user mailing list >> [email protected] >> To unsubscribe from this list, visit >> https://www.eclipse.org/mailman/listinfo/sumo-user >> > _______________________________________________ > sumo-user mailing list > [email protected] > To unsubscribe from this list, visit > https://www.eclipse.org/mailman/listinfo/sumo-user >
_______________________________________________ sumo-user mailing list [email protected] To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user
