Hello,
The followign steps can help to investigate the issue:
- observe traffic in sumo-gui and figure out where vehicles are waiting for
insertion:
https://sumo.dlr.de/wiki/Simulation/VehicleInsertion#Investigating_insertion_delay.
Possibly some downstream jam is responsible.
- count the number of vehicles that are to be inserted on this edge and
compare this value to the detector count:
https://sumo.dlr.de/wiki/Tools/Routes#showDepartsAndArrivalsPerEdge

One reason for reduced insertion flow might be due to the default insertion
speed of 0. You can change this by setting dfrouter option --departspeed
max.

However, I suspect that there is some other issue at play here. If you
cannot figure it out, try to reproduce the problem with a simplified
version of your scenario (e.g. only using 1 detector) and then send the
files to the mailing list so others can help out.

regards,
Jakob

Am Fr., 9. Aug. 2019 um 14:12 Uhr schrieb Evans, Barry <[email protected]
>:

> Hi there,
>
>
>
> I’m trying to generate realistic traffic flows within a city based on
> traffic data obtained from detectors. I’ve tried following the examples in
> demand from observation points (
> https://sumo.dlr.de/wiki/Demand/Routes_from_Observation_Points) and
>  Tutorials/HighwayDetector (
> https://sumo.dlr.de/wiki/Tutorials/HighwayDetector) but not had much
> success.
>
>
>
> I used the “Locating detectors” script with my net file to generate the
> detector information (based on my detector lat lon coordinates) and I
> created a flow file with the count and average speed of vehicles across
> each detector. I then run the dfrouter script referencing the input files
> and ask it to output a route file and emitter file.
>
>
>
> When I try running sumo only a few vehicles are added to the network even
> though I’m getting a lot of messages saying “vehicle is inserted in
> emergency situation” with the majority of vehicles in my summary output
> showing as “waiting”.
>
>
>
> To give some information about my input data for dfrouter my flow values
> in my flow file are aggregated to 5 minute intervals so my flow file looks
> like this:
>
>
>
> Detector;Time;qPKW;qLKW;vPKW;vLKW
>
> Detector1;0.0;9;0;22.98;0
>
> Detector2;0.0;13;0;12.42;0
>
> Detector1;5.0;8;0;20.5;0
>
> Detector2;5.0;51;0;29.81;0
>
>
>
> And detector data is like:
>
>
>
> <e1Detector id=" Detector1" lane="-25118551#3_1" pos="18.72243033159732"
> freq="60" file="NUL" friendlyPos="True"/>
>
> <e1Detector id=" Detector2" lane="-25118551#3_1" pos="25.050468409043802"
> freq="60" file="NUL" friendlyPos="True"/>
>
>
>
>
>
> I tried changing the frequency (freq=”60”) to freq=”300” as thought maybe
> it was setting emitter probability to high but this doesn’t fix things.
> I’ve also tried changing the “departLane” parameter to departLane=“allowed”
> and set departPos=”random_free” to see if that would add vehicles to an
> unoccupied location but that also doesn’t work.
>
>
>
> Could someone give me some advice as to what the potential issue is please
> or if I’m completely misunderstanding the use of dfrouter (which is likely
> the case) and point me in direction of tutorial or documentation I can look
> at to build realistic traffic flows within a city area based on count data.
>
>
>
> Thank you in advance.
>
>
>
> Kind regards,
>
>
>
> Barry
> _______________________________________________
> 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