Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [sumo-user] Vehicles Distribution vs Flows

Hi Kailin,

I finally managed to do it using just setting in the vType attributes of vehicle, which to my surprise were applied satisfactorily.

Best regards
José

On Thu, 25 Oct 2018 at 12:13, Tong, Kailin <Kailin.Tong@xxxxxxx> wrote:

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?

 

Best regards,

José

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

Back to the top