Dear,
maybe I didn’t write fine my question. I run this command:
> dfrouter -n demo.net.xml -d detect.xml -f data.csv -o demo.rou.xml
--emitters-output demo.emit.xml
Sumo creates 2 files: routes and emitters (vehicles); my first question is
about probabilty: how could I change it?
<routeDistribution id="det_IN">
<route refId="OD1_in_to_OD2_out" probability="1.00"/>
<route refId="OD1_in_to_OD3_out" probability="1.00"/>
<route refId="OD1_in_to_OD1_out" probability="1.00"/>
</routeDistribution>
Second question is: how I could create vehicles that runs TO sink detector
from centroids OD2 and OD3 wiht different probaility?
<detectors>
<detectorDefinition id="det_IN" lane="OD1_in_0" pos="200.00"
type="source" />
<detectorDefinition id="det_OUT" lane="OD1_out_0" pos="200.00"
type="sink" />
</detectors>
Many thanks
Andrea
2017-06-14 8:03 GMT+02:00 Jakob Erdmann <[email protected]>:
> Hello,
> 2) to obtain the vehicle as well you need to add option --emitter-output,
> see http://sumo.dlr.de/wiki/Demand/Routes_from_Observation_Points#Saving_
> Flows_and_other_Values
> 1) additional probability values are generated for the emitter output. See
> if that matches your expectations.
> regards,
> Jakob
>
> 2017-06-14 0:13 GMT+02:00 Andrea Marella <[email protected]>:
>
>> Dear Sumo users,
>>
>> I’d like to simulate a network with routes from two observation points
>> from 2 detector (det_IN,det_OUT) as image attached.
>>
>> 1)I’d like to simulate 100 vehicles from det_IN to det2_OUT and 200
>> vehicles from det_IN to det3_OUT. Result: I run simulation but in rou.xml
>> output file I read that probabilty are the same for all route. How I can
>> change that before create rou.xml file with DFROUTER command?
>>
>> <routeDistribution id="det_IN">
>>
>> <route refId="OD1_in_to_OD2_out" probability="1.00"/>
>>
>> <route refId="OD1_in_to_gneE6" probability="1.00"/>
>>
>> <route refId="OD1_in_to_OD1_out" probability="1.00"/>
>>
>> </routeDistribution>
>>
>> 2)On the other side, I have more problem with det_OUT. My goal is to
>> simulate 50 vehicles from OD2 and 100 from OD3 to det_OUT. Currently no
>> vehicles are assigned.
>>
>> My detector file:
>>
>> <detectors>
>>
>> <detectorDefinition id="det_IN" lane="OD1_in_0" pos="200.00"
>> type="source" />
>>
>> <detectorDefinition id="det_OUT" lane="OD1_out_0" pos="200.00"
>> type="sink" />
>>
>> </detectors>
>>
>> My data file:
>>
>> Detector;Time;qPKW;qLKW;vPKW;vLKW
>>
>> det_IN;1020;10;0;20;0
>>
>> det1_OUT;1020;20;0;20;0
>>
>>
>> Obviously, I want use DFROUTER and not OD2TRIPS.
>>
>> Thanks for support.
>>
>> --
>> *Andrea*
>>
>>
>> ------------------------------------------------------------
>> ------------------
>> Check out the vibrant tech community on one of the world's most
>> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
>> _______________________________________________
>> sumo-user mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/sumo-user
>>
>>
>
--
*Ing. Andrea Marella*
Socio Progectolab - Studio di progettazione integrata
phone +39 0173 290 588
fax +39 0173 064 789
cel +39 338 190 1680
Visit my blog www.trafficlab.eu
RISPETTA L'AMBIENTE: SE NON TI È NECESSARIO NON STAMPARE QUESTA EMAIL.
THIS E-MAIL AND ANY ATTACHED FILES ARE CONFIDENTIAL, PROTECTED BY COPYRIGHT
AND MAY BE LEGALLY PRIVILEGED.
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
sumo-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sumo-user