matsim-libs
matsim-libs copied to clipboard
Emissions: new consitency check for tables with different vehicle categories
As mentioned in #1226 there is a problem with the existing consistency checks, if the lookup table includes data for different vehicle types.
As solution there will be added a new level for the consistency check, that will check the tables consistency for each VehicleCategory
independently: HbefaTableConsistencyCheckingLevel.perVehCat
Thanks to @Jonas116 for doing the work during the MATSim advanced class.
Before we can merge it, I have to look into it and clean up a bit.
closes #1226
Open points remaining:
- We should also have a similar test for the cold emissions calculation
- Cleaning up and reduce duplicated lines of code inside the consistency check
@kt86 are you still working on this PR?
More or less yes. It is still on my desk and I should bring it to a qualified end :) But still do not know when :(