Hi Pieter,

Am 04.02.2014 15:03, schrieb Pieter Loof:
> When I use the detector speed measurements as departure speed of cars, the
> simulation quits with an error on startup, because DFRouter created trucks
> with a departure speed that is higher than the maximum speed of trucks. An
> alternative to avoid this error is to use the flag "--departspeed max", but
> then SUMO will ignore the speeds from the detector measurement files, right?

That's right.

> So I hope that a solution will be implemented which uses the detector
> readings for the depart speed of vehicles, but with automatic fixes for the
> maximum speed of vehicles. The actual vehicle types are decided when
> running SUMO or SUMO-GUI, so on the moment of insertion the maximum of the
> stored speed and the vehicle's maximum speed should be taken instead of
> quitting with an error.

There is already a method to achieve something similar, which includes
using speed distributions. If you specify in the vehicle type a
speedFactor (which acts as a multiplier to allowed speed on the lane)
and a speedDeviation (acting as a relative standard deviation to the
value above), sumo will calculate a vehicle specific factor how the
vehicle tends to obey the speed limits. If this factor does not fit the
departure speed it is recalculated.

The reason why we probably won't implement the direct fix you mentioned
is, that if your vehicle has a departure speed which is higher than
its maximum speed then there is obviously something wrong with your
configuration because the vehicle's maximum speed should never be
exceeded. We should implement something which draws again from the
vehicle distribution if the depart speed does not match the maximum
speed, but for the moment it is probably easier if you run a little
script on the generated route file which fixes the vehicle type
depending on the depart speed. (In fact, we already have this script, if
you want we can share it.)

Best regards,
Michael


------------------------------------------------------------------------------
Android apps run on BlackBerry 10
Introducing the new BlackBerry 10.2.1 Runtime for Android apps.
Now with support for Jelly Bean, Bluetooth, Mapview and more.
Get your Android app in front of a whole new audience.  Start now.
http://pubads.g.doubleclick.net/gampad/clk?id=124407151&iu=/4140/ostg.clktrk
_______________________________________________
sumo-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sumo-user

Reply via email to