matsim-org / matsim-libs

Multi-Agent Transport Simulation
www.matsim.org
490 stars 452 forks source link

HBEFA 4.1 documentation for emissions module #984

Open markusstraub opened 4 years ago

markusstraub commented 4 years ago

In pull request https://github.com/matsim-org/matsim-libs/pull/801 support for HBEFA 4.x was added. However, the documentation only explains how to export of HBEFA 3.x data: http://ci.matsim.org:8080/job/MATSim_contrib_M2/ws/contribs/emissions/target/site/apidocs/org/matsim/contrib/emissions/package-summary.html

It would be great if the doc could be updated.

Janekdererste commented 4 years ago

I guess @kt86 could help with this, since he introduced support for HBEFA 4.x

kt86 commented 4 years ago

Yes, I think I have to do it. So thanks for the hint! Unfortunately, I'm currently running out of time.

In principle exporting the values from the HBEFA-database and storing them is quite similar to Hbefa3.1. In HBEFA4 some have changed (e.g. "removing" of the engine size class -> set to non-specified) and some new values were added (e.g. new pollutants and their emission factors). Some part of supporting HBEFA4.1 is more internal behaviour, to handle this new values and have some internal converters.

What I may also add or update is the new way of defining the vehicleType with attributes as shown below instead of the using the vehicle description. grafik