Skip to main content

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

Hello,
you can force a vehicle into the network using traci.vehicle.moveTo regardless of --max-num-vehicles
regards,
Jakob

2017-09-16 15:40 GMT+02:00 Luke Kakadukl <koseninc8@xxxxxxxxx>:
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

_______________________________________________
sumo-user mailing list
sumo-user@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/sumo-user



Back to the top