Skip to content

Python module to calculate vehicle emissions based on the 2016 EU EEA guidebook: http://www.eea.europa.eu/publications/emep-eea-guidebook-2016. The module lets you calculate routes between two points in Norway and sort them based on the total emission for various types of pollutants.

License

Notifications You must be signed in to change notification settings

NPRA/EmissionCalculatorLib

Repository files navigation

EmissionCalculatorLib

This python library uses formulas and factors from EU to calculate the emission(s) from personal cars, busses to trailers of various sizes give a start and stop point (see 'examples/simple_planner.py').

You could also calculate the emission for a given vehicle.

Pull requests are more than welcome! Please visit the project on GitHub. Also checkout the CHANGELOG.md.

Quickstart ---------

Show the "make help" and run the test cases

bash

$ make help Use target: test, install, uninstall, upload or clean

bash

$ make test Use target: test, install, uninstall, upload or clean

Examples

We have some examples (more to come) under the 'examples' directory. You can use them to view how a simple planning with some pre-defined emissions might look like.

If you see some improvements, bugs or something, then please file a Github issue so we can continue to improve.

Screencast(s)

To ease the learning curve a bit we've included a screecast to help you get started:

image

Routing Service

We are using the Routing Service which serves NPRA's "vegkart": https://www.vegvesen.no/vegkart/vegkart/. The routing services is served from Triona (triona.se).

About

Python module to calculate vehicle emissions based on the 2016 EU EEA guidebook: http://www.eea.europa.eu/publications/emep-eea-guidebook-2016. The module lets you calculate routes between two points in Norway and sort them based on the total emission for various types of pollutants.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published