Hello,

I thought of another option to make sure that dfrouter only creates
vehicles for routes that end at sink detectors: delete all unwanted routes
from the route file. I can manage to do this, but the question is how to
provide an existing route file to dfrouter as input? I would expect the
behavior to be similar as for the detector definition file: dfrouter does
not recompute detectors that are already given. A similar option exists for
routes: "--revalidate-routes". However, if I do not set this option and I
provide an existing route file to dfrouter to save to, then it adds the
routes again that I just deleted. Is this intended or is it a bug?

So is there are way to make sure dfrouter only computes traffic for the
routes given in a route file, without recomputing / adding routes?

Greetings,
Pieter


On 25 April 2014 16:17, Pieter Loof <[email protected]> wrote:

> Hello,
>
> I'm trying to simulate a simple highway scenario based on detector
> measurements using dfrouter. I have a highway piece in two directions with
> halfway an on-ramp and off-ramp for both directions. Detectors are located
> on the highway before, in between and after the two ramps for each driving
> direction. I found out that a significant amount of vehicles leave the
> highway at the off-ramps, which causes the number of vehicles that is
> measured at downstream detectors to be far too low.
>
> I was expecting that dfrouter only computes routes between source and sink
> detectors, but apparently it also adds routes that do not end at sink
> detectors. Is there a way to have dfrouter only compute routes that end at
> sink detectors? I don't like it that dfrouter exits a lot of vehicles
> prematurely without me having any control over it.
>
> So if there's a simple fix, please advise me. I can come up with some
> solutions that are not really pleasing because they are not neat and
> require more time:
> 1. Add dummy sink detectors at off-ramps that measure 0 cars. I wonder
> whether this would actually work.
> 2. List all off-ramp edges and give them to dfrouter with
> option "--disallowed-edges".
>
> Best regards,
> Pieter
>
------------------------------------------------------------------------------
"Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
Instantly run your Selenium tests across 300+ browser/OS combos.  Get 
unparalleled scalability from the best Selenium testing platform available.
Simple to use. Nothing to install. Get started now for free."
http://p.sf.net/sfu/SauceLabs
_______________________________________________
sumo-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sumo-user

Reply via email to