Hello, I was trying to implement dynamic flows where I wanted to *change the vehsPerHour mid-simulation*.
Example flow: <flow arrivalLane="current" arrivalPosLat="center" begin="0" departLane="random" departPosLat="center" departSpeed="max" id="flow_btt" number="100" route="bottom_to_top" type="veh" vehsPerHour="6000" /> I couldn't find a way to *dynamically set/update flows using TraCI*, so I assume I have to add vehicles using TraCI to simulate a particular type of flow? 1. So *if I wanted to insert vehicles at a rate of 6000 vehs/Hour, I need to insert 6000 / (60 x 60) = 1.6667 vehs/Second or 2 vehs/Second? (assuming 1 second = 1 TraCI simulationStep()?* 2. There seem to be limitations to 1. For example, *if there is a road with only a single lane, then there is a maximum vehicle flow that it can tolerate, beyond which there is no effect. Is that correct? So I would have to have multiple lanes to increase the flow?* 3. Assuming 2 is correct, *since 1 lane cannot have a flow higher than 1 vehs/Second, I will need as many lanes 'x' to accommodate the desired flow [x] vehs/Second? If not, then what are the other ways apart from increasing number of lanes that can increase the capacity of the road to tolerate more vehsPerHour or flow?* Please advise. Thank you, Sincerely, Hriday
_______________________________________________ sumo-user mailing list [email protected] To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user
