Git Product home page Git Product logo

npra / emissioncalculatorlib Goto Github PK

View Code? Open in Web Editor NEW
9.0 2.0 3.0 6.74 MB

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: BSD 2-Clause "Simplified" License

Python 98.35% Makefile 1.65%
emissions python norwegian roads

emissioncalculatorlib's Introduction

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).

emissioncalculatorlib's People

Contributors

asbjorn avatar christian-skjetne avatar jucir avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

emissioncalculatorlib's Issues

Update emission database with the latest EEA Guidebook 2019

Hi there!

Any plans to update this local EmissionCalculatorLib to the latest EEA guidebook 2019? It looks like EEA now releases the dataset as a CSV file that can easily be parsed. The relevant data would be for "Road transport; XXX", such as "Road transport; heavy duty vehicles".

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.