Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [sumo-user] Adding vType when using turn count data

The tutorial from the SUMO User Conference of 2020 explains how to define turn-counts with netedit data-edgeRelation mode.
See https://sumo.dlr.de/docs/Tutorials/index.html#videos
These files are suitable for use with jtcrouter.py and routeSampler.py
Note, that option turn-output is only useful if turn-counts are embedded within the .net.xml file (in an obsolete manner) and the data shall be extracted in a more appropriate format (edgeRelation data).

regards,
Jakob


Am Mo., 6. Sept. 2021 um 18:17 Uhr schrieb Thenuwan Jayasinghe <thenuwan.jayasinghe@xxxxxxxxx>:
Hi Jakob,

Thank you very much for the input.I did some work with this and found a way to create a route file with different vehicle types (my original issue is solved). 

However, during the process I found out that --turn-output (in jtcrouter.py) does not output the Intermediate turn-ratio-file. Therefore, I had to manually create a turn ratio file and input it to jtrrouter. Kindly assist me to identify a solution to get the output from --turn-output argument. I have attached a minimum working example. I installed sumo latest version using sumo-win64-1.10.0.msi

Thank you in advance,
Thiranjaya

On Mon, 6 Sept 2021 at 02:37, Jakob Erdmann <namdre.sumo@xxxxxxxxx> wrote:
Hello,
you may embed a type name into the jtcrouter output with option
--attributes="type=\"customType\"" 
The type can then be defined in an additional xml file which is passed to sumo with option --additional-files.

regards,
Jakob

Am So., 5. Sept. 2021 um 19:58 Uhr schrieb Thenuwan Jayasinghe <thenuwan.jayasinghe@xxxxxxxxx>:
Hello,

I have a traffic count file that contains data about 1. Time interval, 2. Movement (from-to) 3. Count, and 4. Vehicle Type

As I think, it is not possible to define the vType in the turn-count file

Is there a way to add the vType when using jtcrouter.py (or another sumo script) so that the output route file has different vTypes so that the count and vehicle type is accurately represented in the simulation?

Thank you in advance,
Thiranjaya Jayasinghe
_______________________________________________
sumo-user mailing list
sumo-user@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user
_______________________________________________
sumo-user mailing list
sumo-user@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user
_______________________________________________
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