Hi Pieter, Am 2014-01-11 13:49, schrieb Pieter Loof: > Question: is it true that the only way to get my own vehicle types on > the > road using DFRouter is by putting my vehicle types in one or two > vTypeDistributions which I name PKW and LKW?
Yes it is. > But there is a problem with this: > 1. (option A) When I put all normal cars in a vTypeDistribution called > PKW > and all trucks in a distribution called LKW, then in the generated > flow > every x-th vehicle will be a truck. So the randomization on the > occurance > time of trucks is lost. True > 1. (option B) When I put all vehicle types in one vTypeDistribution > called > PKW, then there is a problem with the insertion speed. On a non-jammed > highway, cars could be inserted with 120 km/h but trucks should be > inserted > with 80 km/h. But this is not possible since only one value can be > given in > the 'vPKW' column of the detector readings. It can even result in > errors > when loading Sumo because trucks might have a lower maxSpeed than the > insert speed. true as well > 2. In the csv-file with detector information, maximally two different > starting speeds can be defined: vPKW and vLKW. When I apply > randomization > in the desired speed of the generated vehicles, then this should have > an > effect on their starting speed, but I don't know how. Currently, when > loading sumo-gui I see a list of warnings which tell that the > vehicle's > speedFactor is altered to match the starting speed (although vehicles > still > have their unique speedFactor, which can be different from 1.00). But > I > would like to see the starting speed altered to match the desired > vehicle > speed. Your assumption on the speedFactor is wrong. It does not affect the starting speed when the departSpeed is given as a fixed number (as it is the default when using dfrouter). Only the check whether the starting speed fits the maximum speed is performed. If you want the vehicle to start with the maximum achievable speed, use "--departspeed max" with the dfrouter. Best regards, Michael ------------------------------------------------------------------------------ CenturyLink Cloud: The Leader in Enterprise Cloud Services. Learn Why More Businesses Are Choosing CenturyLink Cloud For Critical Workloads, Development Environments & Everything In Between. Get a Quote or Start a Free Trial Today. http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk _______________________________________________ sumo-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/sumo-user
