And when creating the Vehicle Type Distributions entry, I would have there
the probability of distribution. Do I still need probability entry in the
flow entry?

Best regards,
José

On Fri, 24 Aug 2018 at 15:37, Jose Monreal Bailey <[email protected]>
wrote:

> I just found out that the newTrips.trips.xml have the flow, but only if I
> have --period and --binomial parameters set, If those are not present then
> I get only trip entries.
>
> Thanks for all the help!
>
> Best regards,
> José
>
> On Fri, 24 Aug 2018 at 15:35, Jakob Erdmann <[email protected]> wrote:
>
>> the flows are inside the file newTrips.trips.xml.
>> You can load that directly into sumo.
>> The route file is generated by duarouter in the background and that
>> always expands flows into vehicles.
>> You should define the vTypeDistribution in an extra file just as it is
>> explained in the wiki (use a distribution instead of vType 'myType' as in
>> the example).
>>
>>
>> 2018-08-24 16:13 GMT+02:00 Jose Monreal Bailey <[email protected]>:
>>
>>> Hi Jakob,
>>>
>>> When I run randomTrips.py -n NETCONVERT.citycentreV2.net.xml -o
>>> newTrip.trips.xml -r newRoutes.rou.xml --weights-prefix=NEW
>>> --fringe-factor=100 --flows 100 --validate
>>> I get inside the newRoutes.rou.xml file just route entries, is there an
>>> option to generate the flow file?
>>>
>>> If that is supposed to be the file, then to that I should add the
>>> entries of vType and define the probability and distribution?
>>>
>>> Or am I missing something?
>>>
>>> Best regards,
>>> José
>>>
>>> On Fri, 24 Aug 2018 at 15:03, Jose Monreal Bailey <[email protected]>
>>> wrote:
>>>
>>>> Thanks Jakob I will take a look at it
>>>>
>>>> On Fri, 24 Aug 2018 at 15:01, Jakob Erdmann <[email protected]>
>>>> wrote:
>>>>
>>>>> When you set option --flows 100, the randomTrips should 100 flow
>>>>> entries.
>>>>> If you want to change the type proportions manually, then use a
>>>>> vTypeDistribution and generate trips / flows that reference the
>>>>> distribution.
>>>>> see
>>>>> http://sumo.dlr.de/wiki/Tools/Trip#Setting_a_vehicle_type_from_an_external_file
>>>>> You can then adapt the type probabilities in the distribution before
>>>>> you start the simulation:
>>>>>
>>>>> http://sumo.dlr.de/wiki/Definition_of_Vehicles,_Vehicle_Types,_and_Routes#Vehicle_Type_Distributions
>>>>>
>>>>>
>>>>> 2018-08-24 15:46 GMT+02:00 Jose Monreal Bailey <[email protected]>:
>>>>>
>>>>>> But with that option I do not have a flow entry.
>>>>>> I want to be able to tell to have a flow with 200 vehicles, where 10
>>>>>> percent are of Type A, 90 percent are Type C, and be able to change those
>>>>>> values every time.
>>>>>>
>>>>>>
>>>>>> On Fri, 24 Aug 2018 at 14:29, Jakob Erdmann <[email protected]>
>>>>>> wrote:
>>>>>>
>>>>>>> randomTrips.py supports option --flows
>>>>>>>
>>>>>>> 2018-08-24 14:36 GMT+02:00 Jose Monreal Bailey <[email protected]>:
>>>>>>>
>>>>>>>> Great! Thanks Jakob, and do you know if as for Trips, is it
>>>>>>>> possible to generate a flow file in the same way with a script from the
>>>>>>>> sumo tools directory or alike?
>>>>>>>>
>>>>>>>> Best regards,
>>>>>>>> José
>>>>>>>>
>>>>>>>> On Fri, 24 Aug 2018 at 13:02, Jakob Erdmann <[email protected]>
>>>>>>>> wrote:
>>>>>>>>
>>>>>>>>> see http://sumo.dlr.de/wiki/Tools/Trip#Arrival_rate
>>>>>>>>>
>>>>>>>>> 2018-08-24 11:50 GMT+02:00 Jose Monreal Bailey <[email protected]
>>>>>>>>> >:
>>>>>>>>>
>>>>>>>>>> Hey everyone,
>>>>>>>>>>
>>>>>>>>>> I was using some flow entries to define the amount of vehicles
>>>>>>>>>> taking certain route.
>>>>>>>>>> When creating a trip file with randomTrips, is it possible to
>>>>>>>>>> tell how many vehicles do I want to be generated in the network? 
>>>>>>>>>> This to
>>>>>>>>>> simulate heaving, medium and low traffic.
>>>>>>>>>>
>>>>>>>>>> Best regards,
>>>>>>>>>> José
>>>>>>>>>>
>>>>>>>>>> _______________________________________________
>>>>>>>>>> sumo-user mailing list
>>>>>>>>>> [email protected]
>>>>>>>>>> To change your delivery options, retrieve your password, or
>>>>>>>>>> unsubscribe from this list, visit
>>>>>>>>>> https://dev.eclipse.org/mailman/listinfo/sumo-user
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>> _______________________________________________
>>>>>>>>> sumo-user mailing list
>>>>>>>>> [email protected]
>>>>>>>>> To change your delivery options, retrieve your password, or
>>>>>>>>> unsubscribe from this list, visit
>>>>>>>>> https://dev.eclipse.org/mailman/listinfo/sumo-user
>>>>>>>>>
>>>>>>>>
>>>>>>>> _______________________________________________
>>>>>>>> sumo-user mailing list
>>>>>>>> [email protected]
>>>>>>>> To change your delivery options, retrieve your password, or
>>>>>>>> unsubscribe from this list, visit
>>>>>>>> https://dev.eclipse.org/mailman/listinfo/sumo-user
>>>>>>>>
>>>>>>>>
>>>>>>> _______________________________________________
>>>>>>> sumo-user mailing list
>>>>>>> [email protected]
>>>>>>> To change your delivery options, retrieve your password, or
>>>>>>> unsubscribe from this list, visit
>>>>>>> https://dev.eclipse.org/mailman/listinfo/sumo-user
>>>>>>>
>>>>>>
>>>>>> _______________________________________________
>>>>>> sumo-user mailing list
>>>>>> [email protected]
>>>>>> To change your delivery options, retrieve your password, or
>>>>>> unsubscribe from this list, visit
>>>>>> https://dev.eclipse.org/mailman/listinfo/sumo-user
>>>>>>
>>>>>>
>>>>> _______________________________________________
>>>>> sumo-user mailing list
>>>>> [email protected]
>>>>> To change your delivery options, retrieve your password, or
>>>>> unsubscribe from this list, visit
>>>>> https://dev.eclipse.org/mailman/listinfo/sumo-user
>>>>>
>>>>
>>> _______________________________________________
>>> sumo-user mailing list
>>> [email protected]
>>> To change your delivery options, retrieve your password, or unsubscribe
>>> from this list, visit
>>> https://dev.eclipse.org/mailman/listinfo/sumo-user
>>>
>>>
>> _______________________________________________
>> sumo-user mailing list
>> [email protected]
>> To change your delivery options, retrieve your password, or unsubscribe
>> from this list, visit
>> https://dev.eclipse.org/mailman/listinfo/sumo-user
>>
>
_______________________________________________
sumo-user mailing list
[email protected]
To change your delivery options, retrieve your password, or unsubscribe from 
this list, visit
https://dev.eclipse.org/mailman/listinfo/sumo-user

Reply via email to