Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [sumo-user] Simple Traffic Lights Simulation

That's brilliant, thank you. Is it then possible to export the full output from a simulation (position/speed/acceleration of all vehicles at all times).

On Fri, 7 Jan 2022 at 14:47, Jakob Erdmann <namdre.sumo@xxxxxxxxx> wrote:
the simplest way to define a flow with a given rate is with the <flow> element  (fixed and random insertion headways are possible):

The next step up is to define multiple flows to systematically vary the arrival rate over time.

You can use netedit to define traffic (vehicles, trips, flows, ...) graphically:


Am Fr., 7. Jan. 2022 um 15:19 Uhr schrieb Ste Millington <stemillington@xxxxxxxxx>:

I'm totally new to Sumo and trying to work out how to create a very simple microscopic simulation of traffic flowing through a set of lights.

The simple setup I'm after is a single road (possibly with multiple lanes) with a set of lights midway along it. I want to send a stream of traffic down the road towards the lights. The traffic enters the system at random times but following an overall average flow rate. There may be a mix of different vehicle types of differing lengths and speeds.

I want to be able to vary the flow rates and signal timings to observe how it affects queue lengths and average speed.

I've successfully installed Sumo and managed to setup a simple network (without lights) with a fixed set of vehicles but I can't work out how to autogenerate a constant flow of traffic so I can analyse long term averages.

Any help or pointers to relevant examples would be massively appreciated.
sumo-user mailing list
To unsubscribe from this list, visit
sumo-user mailing list
To unsubscribe from this list, visit

Back to the top