In my traffic simulation network, I have a several segments of highway consisting of ten connected roads (e.g., id from 1 to 10). I want to randomly generate a flow satisfying the following requirement as many as possible:
- The total number of vehicles is fixed, e.g., 1000.
- The departure time of vehicles is random within the simulation time.
- All vehicles are expected to begin at road 1, and end at road 10 (they don't have to arrive if the simulation time is reached).
- It would be better if the type of vehicle can also be randomized.
I have read the documentation of SUMO Simulation/Randomness, but still get no clue how to satisfy the above requirements. Any suggestion is appreciated.