SmartRouting Controller
Nightly service that forecasts glass-container fill levels from sensor data and passes the quantity and urgency of each site to route planning.
The SmartRouting Controller supplies the SmartRouting API, a route planner for waste collection, with the data it plans from. Each night it reads glass-container master data and the fill-level history of their ultrasonic sensors from a MySQL database, forecasts how full every collection point will be when a vehicle arrives, writes the expected quantity and the urgency of each point into the API, and then triggers generation of the due tours.
The forecast is a robust statistical model: cleaning of the sensor series, detection of collections, fill rates per site with fallback to comparable sites, weekday and holiday factors, a profile of when during the day glass arrives, an age curve for sites without a sensor and a calibrated uncertainty model for the overflow risk. An optional LightGBM model may correct the statistical forecast only if it beats it out of sample. Every forecast records what it rests on.
The service is built to be safe to run: nothing is written without explicit confirmation, the source database is only read, deletions are bounded, and tours are generated only from a complete inventory. Credentials are stored encrypted with DPAPI. A backtest measures the forecast quality out of sample.
The SmartRouting Controller is developed by the Abfallwirtschaftszweckverband Ostthüringen (AWV Ostthüringen) as part of a German SmartCity programme.
Requirements and limits
- Windows with the .NET 10 runtime; credentials are bound to a Windows account.
- A MySQL source database with the schema the queries are written against; a different schema needs adapted queries.
- An instance of the SmartRouting API, reachable over HTTPS.
- Console output and documentation are mostly in English.
Software-Details
11/19/26
11/19/26
stable
2.0.0
GPL-3.0-or-later
Making software use visible!
Last updated: