Re: [sumo-user] Generating routes from many trip files

2021-03-18 Thread Chris Abraham
, all the other vehicles did not make any stops, since the time of the timesteps did not reset after the first vehicle was finished. I gave it some thought, but I can't figure out a way to simulate all the 2000 routes with their stops, without reloading the network each time... Regards, Chris Abraham

Re: [sumo-user] Generating routes from many trip files

2021-03-09 Thread Chris Abraham
redecessor has arrived). Am Di., 9. März 2021 um 12:43 Uhr schrieb Chris Abraham mailto:chrisb...@gmail.com>>: Thank you Jakob! I wish I had thought of that! Alas, I already implemented it with net.getShortestPath. However, now that I've generated the 2000 route files, I am facing a

Re: [sumo-user] Generating routes from many trip files

2021-03-09 Thread Chris Abraham
in your network. You can also build routes using traci.simulation.findRoute regards, Jakob Am Mo., 8. März 2021 um 13:06 Uhr schrieb Chris Abraham mailto:chrisb...@gmail.com>>: After scouring the docs the whole day, the only solution I can think of is to use getShortestPath() from sumolib.n

Re: [sumo-user] Generating routes from many trip files

2021-03-08 Thread Chris Abraham
wanted to double check that the function is maintained before I start coding. Chris On Mon, 8 Mar, 2021 at 07:37, Chris Abraham wrote: Hello all, I currently have around 2000 trip files, each describing the trip that a vehicle makes via a series of stops, as follows: to="

[sumo-user] Generating routes from many trip files

2021-03-07 Thread Chris Abraham
Hello all, I currently have around 2000 trip files, each describing the trip that a vehicle makes via a series of stops, as follows: to="802374502#1"> ⋮ Each trip file has around 750 stops. My aim is to generate a simulation corresponding to each trip file, which

Re: [sumo-user] xsd module in xml2csv.py

2021-01-18 Thread Chris Abraham
Hi there. The 'xsd' module should be in the same folder as the xml2csv.py script, so I'm not sure why Python isn't able to find it. Did you maybe download the script on its own without installing SUMO? If so, you can download the xsd module from Github:

Re: [sumo-user] Changing access permissions of all edges of a particular edge type

2021-01-12 Thread Chris Abraham
/sumo.dlr.de/docs/Netedit/editModesCommon.html#match_attribute) > - use inspect mode and click on any edge of the selection to inspect the > whole selection at once > - set the desired allow attribute to change the value for the whole > selection > > Am Mo., 11. Jan. 2021 um 18:28 Uhr schrieb Chris

[sumo-user] Changing access permissions of all edges of a particular edge type

2021-01-11 Thread Chris Abraham
Hi there, I imported a map from OSM using the WebWizard. However, I find that all the edges of the `highway.service` edge-type have the wrong access permissions. I would like to change all of them. I would like all edges to *inherit* their permissions from `highway.service`, so that I can

Re: [sumo-user] Lane choice when stopping beside the road

2020-11-20 Thread Chris Abraham
> > ------ > > *Von:* sumo-user-boun...@eclipse.org im > > Auftrag von Chris Abraham > > *Gesendet:* Donnerstag, 19. November 2020 23:05:48 > > *An:* sumo-user@eclipse.org > > *Betreff:* [sumo-user] Lane choice when stopping besi

[sumo-user] Lane choice when stopping beside the road

2020-11-19 Thread Chris Abraham
Hi all, I would like define a taxi which make a few stops *beside* some edges. So I defined my stops with `parking="true"` as shown below: `< stop lane="edge_0" until="50.00" parking="true" />` However, when I ran the simulation, I got an error saying that the taxi is not allowed to stop on

Re: [sumo-user] Simulation of GPS Trajectories

2020-11-17 Thread Chris Abraham
Hi Alemu, I see that the dataset you linked to is *very* big. If you are planning to convert the whole dataset to SUMO routes, then I would recommend that you use Sumolib, as it is faster than TraCI. Sumolib can locate the nearest edge from a given gps-coordinate (see [1]). You can therefore

[sumo-user] Add power-limiting to electric-vehicle model

2020-10-14 Thread Chris Abraham
still uses more than the value I specify. Additionally I would like this `maximumPower` to limit the regeneration power. Chris Abraham ___ sumo-user mailing list sumo-user@eclipse.org To unsubscribe from this list, visit https://www.eclipse.org

Re: [sumo-user] Using GPS Trace Data for Route Definition

2020-08-27 Thread Chris Abraham
very close to each other). > > Am Di., 25. Aug. 2020 um 08:52 Uhr schrieb Chris Abraham < > chrisb...@gmail.com>: > > > Hi all, > > > > I am trying to define a vehicle in SUMO using GPS trace data. I have GPS > > datapoints of a vehicle, measured at 1 minute

Re: [sumo-user] Vertical movement of vehicles

2020-08-27 Thread Chris Abraham
-changing_models Chris Abraham On Thursday, 27 August 2020 05:33 MohamadReza wrote: > Hi, > > I have encountered some situations in the simulation in which vehicles move > vertically to change lane. This happens mostly in congested areas. I was > wondering to know how I can prevent it. Pleas

[sumo-user] Using GPS Trace Data for Route Definition

2020-08-25 Thread Chris Abraham
Hi all, I am trying to define a vehicle in SUMO using GPS trace data. I have GPS datapoints of a vehicle, measured at 1 minute intervals. I want `duarouter` to automatically route between each of the datapoints to create 1 long route file. I tried creating multiple `trip` definitions with

[sumo-user] Duarouter arguments from documentation not working

2020-08-11 Thread Chris Abraham
Hi all. I’m trying to use Duarouter with two arguments from the documentation (namely: |--mapmatch.distance| and |--mapmatch.junctions|). However, |duaIterate.py| gives an error, saying that the arguments do not exist. Are they not implemented yet? I’m running Sumo 1.6.0. ​

[sumo-user] Using crowd-sourced GPS data for generating simulation

2020-07-02 Thread Chris Abraham
Are there any tools available that make it possible to generate a simulation using crowd-sourced GPS movement data (e.g. Google Maps or Tom-Tom)? I find this to be more appealing than using ActivityGen or SAGA, as the simulation is using directly measured data, rather than using survey data.

[sumo-user] Simplifying Activity-Based Demand Generation

2020-07-02 Thread Chris Abraham
Hi everyone. I am fairly new to Sumo, and would like to know if the approach I am taking is correct. I am trying to generate a simulation of a city using `ActivityGen`. I have most of the statistics needed for the stat file. However, I am struggling to fill in one part of the stat file - the

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

2020-06-15 Thread Chris Abraham
If you will successfully use duaiterate it will be great to see how to fix file-chaos and problem with pt and parking. вс, 14 июн. 2020 г., 23:23 Chris Abraham mailto:chrisb...@gmail.com>>: Hi everyone. MATSim (another agent-based simulator like SUMO)

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

2020-06-14 Thread Chris Abraham
Hi everyone. MATSim (another agent-based simulator like SUMO) makes use of an Evolutionary Algorithm to optimise the demand to prevent unrealistic traffic jams. The software runs the simulation multiple times, and in each iteration, it slightly adjusts the times and routes of the trips,