Dear SUMO community.

We were testing the KraussPS model in cities with high road slope such as
Medellin and San Francisco. We imported the height data using GeoTiff, as
explained in
http://www.sumo.dlr.de/2014/Presentation_Keynote_Open%20data%202014_MarioKrumnow.pdf
and found that, using this model, vehicles get stuck in the simulation if
the road slope is > 15.2789°, having into account a default max accel of
2.6 m/s2, as found in the maxNextSpeed method of the model:

const SUMOReal gravity = 9.80665;
const SUMOReal aMax = MAX2(0., getMaxAccel() - gravity *
sin(DEG2RAD(veh->getSlope())));
// assuming drag force is proportional to the square of speed
const SUMOReal vMax = sqrt(aMax / getMaxAccel()) * myType->getMaxSpeed();
return MIN2(speed + (SUMOReal) ACCEL2SPEED(aMax), vMax);

How can we fix this?

-- 
Andres Felipe Acosta Gil, MSc student - Software developer
Universidad Nacional de Colombia - Medellín
Facultad de Minas
Tel: +57 (4) 4255295
Institutional e-mail: [email protected]
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
sumo-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sumo-user

Reply via email to