Dfrouter requires unambiguous source and sink detectors. It is not suited
to your circular network topology.
You can try flowrouter.py instead e.g.:

sumo/tools/detector/flowrouter.py -n MTVstadion.net.xml -d detectors.xml -f
flows.txt -o out.add.xml -e out.rou.xml -v  --vclass passenger
--source-sink-output sourceSink.xml --revalidate-detectors

regards,
Jakob


Am Fr., 12. Apr. 2019 um 16:26 Uhr schrieb kathy <[email protected]>:

> Dear SUMO-community,
>
> I am working on how to generate a simulation with vehicle flow data in
> sumo.
> The area is a region of a city in Germany, the flow data of main streets in
> 24h are given. The road network of this area I have exported from
> Openstreetmap and converted to SUMO net file. I thought it could be
> simulated through DFROUTER, but I cannot get through. I have already run
> through the dfrouter example in "Sumo\doc\examples\dfrouter", it works.
> What
> I have done is:
> 1. define detectors and flow as the example does
> 2. write a dfrouter cfg file to generate route file and emitter file
> 3. run the sumo-gui
> The simulation ends at time 0.00, so I checked the emitter file and found
> the vehicles don't exist. And during dfrouter runs, a lot of errors poped
> out showing "Waring: could not close routes for *"(* means detecor id)", it
> was very slow but at end it can success. Then I tried to:
> 1.narrow down the size of the network and reduce the number of detectors to
> simplify the problem, to simulate as much as possible to the dfrouter
> example.
> 2.modify the parameters in flow file definition, flow data of streets,
> quantity of PKW, velocity etc.
> 3.add -detector-output in dfrouter.
> 4.add detector Type in definition
> From detector output I found most of the detectors that I defined were
> discarded. It still didn't work and poped out warning like before. I
> uploaded the files and one diagram for the detectors. Could anyone help me
> to get through this please?  Sumo_dfrouter_Kathy.7z
> <
> http://sumo-user-mailing-list.90755.n8.nabble.com/file/t159/Sumo_dfrouter_Kathy.7z>
>
> Thank you in advance!
>
> best regards,
>
> Kathy
>
>
>
> --
> Sent from: http://sumo-user-mailing-list.90755.n8.nabble.com/
> _______________________________________________
> sumo-user mailing list
> [email protected]
> To change your delivery options, retrieve your password, or unsubscribe
> from this list, visit
> https://www.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://www.eclipse.org/mailman/listinfo/sumo-user

Reply via email to