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.57k stars 1.44k forks source link

setEmissionClass does not work correctly with PHEMlight #15761

Open Domsall opened 23 hours ago

Domsall commented 23 hours ago

I am currently using executeMove() and it works great with Emission-outputs using HBEFA. However, I am getting unrealistic results with PHEMlight.

Is PHEMlight output created earlier/differently?

Domsall commented 13 hours ago

@namdre After debugging, I think the issue is different. When I use traci and the command setEmissionClass, it seems that SUMO does not correctly import the PHEMlight-maps. I am working on it.

EDIT: When using setEmissionClass, the EmissionClass loads default values, which work with HBEFA, but not with PHEMlight.

I will load the EmissionClasses before simulation (in the route-file). That way, everything works fine. For resolving this issue: I can't find the part, where the default values are set...