Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[sumo-user] Adding vehicle via Traci

I have build simulation where traffic signal preemption for emergency vehicles is simulated. 
Before simulation starts randomTrips.py generates trips to perform random road traffic.
Simulation is started with setting where max number of vehicles in each time step is defined
During simulation emergency vehicles are inserted at random time step, there the problem occurs.
Max number of vehicles might be reach and emergency vehicle will not be inserted

Is there any possible way to do simulation with specified max number of vehicles and insert emergency vehicle regardless if then max number of vehicles exceeds the defined number?
Or could someone suggests better solution?

Max number of vehicles is defined to prevent grid lock -> too much vehicles in the simulation.

Best regards,
Luka

Back to the top