-
Notifications
You must be signed in to change notification settings - Fork 41
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update to MATSim 15 #173
Update to MATSim 15 #173
Conversation
@Nitnelav Could you please check emissionsConfig.setHbefaRoadTypeSource(EmissionsConfigGroup.HbefaRoadTypeSource.fromLinkAttributes); Could you please have a look? |
Yes i'll check, this week is quite busy though. So probably next week. |
Ok great, thanks! Either that, or I also just added you to the project, so you should be able to add commits here directly. |
FYI the method was deprecated and removed in matsim 15, the behavior is hard coded as 'fromLinkAttribute' now |
@Nitnelav Ok I see, so it is |
Yes i need to check that. Maybe the type was never taken into account 😬 And I agree, a test is needed here, I'll try to write something. And I think the code could be place in the core package, since it is not related to IdF no ? |
For the moment, the best would be if you take a look in examples, there we have the Corsica test scenario. But we're currently replacing this with a very small Melun scenario, so it might be worth waiting. And yes, might make sense to move it to core in some way, but I would leave it here for the time being. Step by step :) |
* update IdF emission to matsim 15 * update log4j import * make sure Osm mapping is used on osm:way:highway tag * add matsim-examples to pom to get hbefa-41 sample for emissions tests * make the desired pollutant list defined in the commandline * test the emissions part
Ok I wrote the test. It takes a while but it works. I had to fetch some HBEFA sample csv from matsim-examples to make it work. I found a few bugs/improvements on the way also |
thanks! we'll merge a couple of other things before we merge the matsim 15 PR |
Yes ! I should update the CHANGELOG and some README also |
Everything is fine here now, should we merge @sebhoerl ? |
Running the pipeline with the latest commit to check compatibility right now. |
Update to MATSim 15