eclipse-sumo / sumo

Eclipse SUMO is an open source, highly portable, microscopic and continuous traffic simulation package designed to handle large networks. It allows for intermodal simulation including pedestrians and comes with a large set of tools for scenario creation.
https://eclipse.dev/sumo
Eclipse Public License 2.0
2.49k stars 1.41k forks source link

Trying to modify the Parameters of W99 from Traci #15421

Open Mujeebabiola opened 1 week ago

Mujeebabiola commented 1 week ago

Hi everyone, I'm trying to apply genetic algorithm to calibrate the parameters of W-99 model (from CC0 to CC9). I've tried getparam, getparameterwithkey, and others. It kept returning empty space. I'd be glad if anyone could help with this.

namdre commented 1 week ago

This isn't supported at the moment. The proper API syntax would be traci.vehicle.setParameter(vehID, "carFollowModel.cc1") but the functions MSCFModel_W99::getParameter and MSCFModel_W99::setParameter are missing.