Skip to content

Repository files navigation

hackhpi26 WasteWays

Setup

  1. Install dependencies:

    npm install
  2. Run the development server:

    npm run dev

Afterwards the app will be served at http://localhost:3000/hackhpi26/

Features

  • Calculate profits and CO2 emissions from agricultural waste
  • Automatic location detection and distance calculation to nearest power plants using OpenStreetMap
  • Support for various plant types and usage scenarios
  • Completely free - uses open-source OpenStreetMap services (Nominatim for geocoding, OSRM for routing)

Location Services

The app uses free OpenStreetMap services:

  • Nominatim: For address-to-coordinates conversion
  • OSRM (Open Source Routing Machine): For calculating driving distances
  • No API keys required - completely free to use

Power Plant Locations

The app calculates distances to specialized processing facilities:

Biogas Plants:

  • Munich Biogas Plant (48.1351, 11.5820)
  • Halle Biogas Plant (51.4967, 11.9689)
  • Berlin Biogas Plant (52.5200, 13.4050)

Biofuel Plants:

  • Munich Biofuel Plant (48.1400, 11.5800)
  • Halle Biofuel Plant (51.5000, 11.9700)
  • Berlin Biofuel Plant (52.5250, 13.4050)

Biochar Plants:

  • Munich Biochar Plant (48.1300, 11.5850)
  • Halle Biochar Plant (51.4930, 11.9650)
  • Berlin Biochar Plant (52.5150, 13.4100)

For each waste processing type, the app finds the nearest specialized facility in Munich, Halle, or Berlin. Animal Feed and Fertilizer remain at 0 km distance (assumed local processing).

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages