Re: [sumo-user] Function "getTypeID"

2020-06-15 Thread Jakob Erdmann
After calling a traci.vehicle function that modifies type-specific attribute (i.e. traci.vehicle.setDeceleration), the original type of the vehicle is copied, modified and re-assigned to the vehicle. This is to ensure that all other vehicles with the same type are not affected. Thus, the type id 't

Re: [sumo-user] Question about the 2 lanes Vs 4 lanes traffic

2020-06-15 Thread Jakob Erdmann
By default, vehicles all start on the right side of the road and his limits their maximum flow. If you define departLane="free" you will get higher insertion flow. See https://sumo.dlr.de/docs/Definition_of_Vehicles,_Vehicle_Types,_and_Routes.html#departlane Am Mo., 15. Juni 2020 um 08:44 Uhr schr

Re: [sumo-user] repeating public transit routes

2020-06-15 Thread Jakob Erdmann
@Dillip Rout: Please take a look at https://github.com/eclipse/sumo/tree/master/tests/sumo/basic/routes/parsing/repeat_flow_busstop @Chris Weinhaupl: You need to add the 'repeat' attribute in your route definition to define additional laps Am Mo., 15. Juni 2020 um 08:30 Uhr schrieb Tripplanner Mum

Re: [sumo-user] Failed reading junction shape

2020-06-15 Thread zipfl
Hello, I'm currently running Sumo 1.6 and the TraCI Version is 20. This should be the latest Version, right? -- Sent from: http://sumo-user-mailing-list.90755.n8.nabble.com/ ___ sumo-user mailing list sumo-user@eclipse.org To unsubscribe from this lis

[sumo-user] Some ideas and proposals for repeated routes

2020-06-15 Thread Harald Schaefer
Hello here are some proposals for enhancing the repeated route stuff: a) change of attribute names     In route I would rename period to cycletime (German: Umlaufzeit)     In flow I would rename period to headway (German: Taktzeit) b) Can we add the repeat features to trips, if we want to spe

Re: [sumo-user] fundamental diagram

2020-06-15 Thread Jakob Erdmann
Hello, for density, you need to use the total lane-length of the network rather than the edge length (edges with more lanes have more space). Other than that, your formulas are okay. regards, Jakob Am So., 14. Juni 2020 um 19:17 Uhr schrieb Amirhosein Karbasi < amirhosein.karbas...@gmail.com>: >

[sumo-user] od2trips and vehicle types

2020-06-15 Thread Issa, Joshua
Hello, I am trying to use od2trips and duarouter to generate train paths. The issue is that od2trips doesn't want to recognize the rail type. [cid:image001.png@01D642F0.D8A3DC50] Here is the commands I used: [cid:image003.png@01D642F1.2D449830] Thank you __

Re: [sumo-user] Evolutionary Algorithm to remove jams (like MATSim)

2020-06-15 Thread Chris Abraham
Interesting. Thank you Jakob and Ilya for your comments. |@Ilya|: I don’t use public transport, but I do use parking areas. Will let you know if I have any progress. It seems that I have two options to systematically improve the traffic flow: 1. modify |duaiterate.py| and implement some basic

Re: [sumo-user] fundamental diagram

2020-06-15 Thread Amirhosein Karbasi
thank you so much dear Jakob On Mon, Jun 15, 2020 at 4:18 PM Jakob Erdmann wrote: > Hello, > for density, you need to use the total lane-length of the network rather > than the edge length (edges with more lanes have more space). > Other than that, your formulas are okay. > > regards, > Jakob >

Re: [sumo-user] fundamental diagram

2020-06-15 Thread Jakob Erdmann
Just a quick follow up: The issue is actually more complicated than it seems and there are different methods to compute the network-wide FD. I recommend https://www.researchgate.net/publication/260366746_Macroscopic_Fundamental_Diagrams_A_cross-comparison_of_estimation_methods Am Mo., 15. Juni 202

Re: [sumo-user] Evolutionary Algorithm to remove jams (like MATSim)

2020-06-15 Thread Jakob Erdmann
Netconvert can read and write matsim networks. Also, check out https://sumo.dlr.de/docs/Tools/Import/MATSim.html Am Mo., 15. Juni 2020 um 14:48 Uhr schrieb Chris Abraham < chrisb...@gmail.com>: > Interesting. Thank you Jakob and Ilya for your comments. @Ilya: I don’t > use public transport, but I

Re: [sumo-user] od2trips and vehicle types

2020-06-15 Thread Jakob Erdmann
define the rail type in an additional file like this: and then load this file into duarouter with option --additional-files Am Mo., 15. Juni 2020 um 14:44 Uhr schrieb Issa, Joshua < joshua.i...@nrc-cnrc.gc.ca>: > Hello, > > > > I am trying to use od2trips and duarouter to generate train path

[sumo-user] (no subject)

2020-06-15 Thread Aristide BAMAZI
Hello sumo users and developers, actually, i am using TRACI coupled with SUMO, and faced a problem. I add vehicles dynamically to the simulation with < traci.vehicle.add() > method. What I want to know, is it possible to retrieve each vehicle departure time from the simulation after adding it wi

Re: [sumo-user] od2trips and vehicle types

2020-06-15 Thread Issa, Joshua
I did this, but I still encountered the same problem. From: sumo-user-boun...@eclipse.org [mailto:sumo-user-boun...@eclipse.org] On Behalf Of Jakob Erdmann Sent: June 15, 2020 9:36 AM To: Sumo project User discussions Subject: Re: [sumo-user] od2trips and vehicle types define the rail type in a

Re: [sumo-user] (no subject)

2020-06-15 Thread Jakob Erdmann
Currently, the only method to determine departure times is to call traci.simulation.getDepartedIDList in every simulation step and check whether the vehicle of interest is part of that list. Am Mo., 15. Juni 2020 um 15:56 Uhr schrieb Aristide BAMAZI < aristide.bam...@imsp-uac.org>: > Hello sumo u

Re: [sumo-user] Some ideas and proposals for repeated routes

2020-06-15 Thread Tripplanner Mumbai
Hello Herald, Thanks for coming up with a proposal. In my opinion, the word route is ambiguous since it is used for defining a path as well as a public transit line (or route). Hence, a new class named line or ptLine should be formed. This class will contain all the properties of a public transit

Re: [sumo-user] od2trips and vehicle types

2020-06-15 Thread Aristide BAMAZI
OK! Thanks for your reply. On Mon, Jun 15, 2020, 15:27 Issa, Joshua wrote: > I did this, but I still encountered the same problem. > > > > *From:* sumo-user-boun...@eclipse.org [mailto: > sumo-user-boun...@eclipse.org] *On Behalf Of *Jakob Erdmann > *Sent:* June 15, 2020 9:36 AM > *To:* Sumo pro

[sumo-user] Induction Loop

2020-06-15 Thread grimm
Hello all, I'm processing induction loop data via TraCI, including entry time and leave time of each vehicle passing the induction loop detector, as well as the detector occupancy for each simulation step. With respect to this, I have a few questions: 1.) Which reference points of the vehicle are

Re: [sumo-user] Some ideas and proposals for repeated routes

2020-06-15 Thread Jakob Erdmann
Hello Harald, Thanks for your suggestions a) I agree that using the same attribute name for two related but subtly different things is adding unnecessary confusion (I fact, confusion was recently observed). Since the 'period' attribute of flows has a lot of history behind it I'll keep this unchang

Re: [sumo-user] repeating public transit routes

2020-06-15 Thread Tripplanner Mumbai
Hello Jakob, Thank you for your example, I tried to imitate it and it worked. Actually, my intuition was right, but I struggled in understanding the network properties. For instance, a connection from an edge to the same edge is not trivial, look at the below example. Just notice the bold edges whi

Re: [sumo-user] fundamental diagram

2020-06-15 Thread Amirhosein Karbasi
I requested this paper. thank you, dear Jakob On Mon, Jun 15, 2020 at 6:03 PM Jakob Erdmann wrote: > Just a quick follow up: The issue is actually more complicated than it > seems and there are different methods to compute the network-wide FD. > I recommend > https://www.researchgate.net/publica

Re: [sumo-user] Induction Loop

2020-06-15 Thread Jakob Erdmann
1) yes 2) 0 If you need detectors with non-zero length you can use laneAreaDetector or entryExitDetecor regards, Jakob Am Mo., 15. Juni 2020 um 18:05 Uhr schrieb grimm : > Hello all, > > I'm processing induction loop data via TraCI, including entry time and > leave time of each vehicle passing

Re: [sumo-user] repeating public transit routes

2020-06-15 Thread Jakob Erdmann
Possibly your simulation is running afoul of https://github.com/eclipse/sumo/issues/7036 (which I hope I mentioned already). A route with edges "22 59 53cd 53[0] 53[1][0] 53[1][1][0] 77[1][0] 77ab 77bc 21a 21b 103 14 9 211 45 44 38 15 24" should work with the latest development version (not 1.6.0).

[sumo-user] The mismatching of speed and coordinate in output file.

2020-06-15 Thread Fan Zuo
Hello all, We're found an interesting phenomenon during processing SUMO trajectory (from the fcd output file) as below: [image: image.png] As you can see, some times the vehicle stopped but the speed was not 0, and sometimes the vehicle moved when the speed was 0. Do you know the reason of this p

[sumo-user] traci slowDown method

2020-06-15 Thread Ishan Dindorkar
Dear Community, I had been exploring the use of slowDown() while using traci API to control the simulation. The description of the method says - "Changes the speed smoothly to the given value over the given amount of time in seconds (can also be used to increase speed)." While using the method,

Re: [sumo-user] The mismatching of speed and coordinate in output file.

2020-06-15 Thread Jakob Erdmann
I would guess that these are rounding errors. You can check this by running your simulation with higher output precision (option --precision). Am Mo., 15. Juni 2020 um 22:45 Uhr schrieb Fan Zuo : > Hello all, > > We're found an interesting phenomenon during processing SUMO trajectory > (from the

Re: [sumo-user] repeating public transit routes

2020-06-15 Thread Jakob Erdmann
The error is correct because each of the stops must fit into a single loop of the route. I think there is a misunderstanding on your part abut the nature of busStop definitions in SUMO: A defines a place and direction for stopping, (because it is on a specific lane and lanes are directional). You