Hi, José,
One possibility is using calibrator to create a fow based on vehsPerHour and it allows vehicle type of distribution.
For example,
<calibrator id="calibtest_edge" edge="191906575" pos="20" output="detector_edge.xml">
<flow begin="0" end="100" route="routedist1" vehsPerHour="2500" type="dist" departLane="best" departPos="free" departSpeed="max"/>
<flow begin="100" end="200" route="routedist1" vehsPerHour="3500" type="dist" departLane="best" departPos="free" departSpeed="max"/>
</calibrator>
Best regards,
Kailin
From: sumo-user-bounces@xxxxxxxxxxx <sumo-user-bounces@xxxxxxxxxxx>
On Behalf Of Jose Monreal Bailey
Sent: Wednesday, October 24, 2018 2:55 PM
To: Sumo project User discussions <sumo-user@xxxxxxxxxxx>
Subject: [sumo-user] Vehicles Distribution vs Flows
Hey everyone,
I have been using vehicles distribution with vehicles type, to distribute the percentage of type of vehicles in my simulation.
But I am interested in using the attribute vehsPerHour from flows.
Is there a way to do that using distribution? or is better to use flows, and change the amount the amount of vehsPerHour depending on the percentage of each vehicle?