Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [sumo-user] car following model

Hello V.H.Pradeep,

in your SUMO configuration (.sumocfg file) you will normally define a <route-files> node, eg. like this:

<configuration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://sumo.dlr.de/xsd/sumoConfiguration.xsd">
    ....
    <input>
        <net-file value="test.net.xml"/>
        <additional-files value="test.add.xml" />
        <route-files value="vehicle_types.xml,trips_motorized.xml,trips_bus.xml,trips_truck.xml,trips_cyclists.xml"/>
    </input>
    ....
</configuration>

Note the "vehicle_types.xml" file. In there you will specify vehicle types for your simulation. Per type, you could set the car following model. An example (without any detailed car following model values set, but you'll get the idea):

<routes xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://sumo.dlr.de/xsd/routes_file.xsd">
    ....
    <vType carFollowModel="Krauss" vClass="bus" id="4" length="12" sigma="0.8" tau="1.8" guiShape="bus" decel="2.4" maxSpeed="12.25" jmDriveAfterYellowTime="0" />
    ....
</routes>

Hope this helps,

Greets, Menno

On 24-9-2021 03:27, Pradeep Viyaluru Harinath wrote:

Hello all,

 

I have been trying to use the default values of ACC and CACC but I would not see it in the netedit and I am not sure if specifying in route file gives any sense to it. I want to edit parameters such as “gapControlGainSpeed, collisionAvoidanceGainSpace” etc. Please let me know how to modify the values of these parameters

 

Thanks and regards,

V.H.Pradeep

 


_______________________________________________
sumo-user mailing list
sumo-user@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user

Back to the top