-
Notifications
You must be signed in to change notification settings - Fork 15
Open
Labels
bugSomething isn't workingSomething isn't working
Description
The congestion update does nothing currently, so travel costs stay free flow costs even if the user enables congestion for CarMode and sets n_iter_per_cost_update to more than zeo.
The bug was introduced here when working on the flows contamination issue between runs that we had at the moment.
The problem was that I used the old way of accessing the congestion parameter: getattr(m, "congestion", False) instead of m.inputs["parameters"].congestion.
I have a fix locally, and a test to avoid regressions on congestion calculations such as this one in the future.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working