MuniFlows — Municipal OS
Enterprise-grade B2G Smart City Operating System powering automated fleet routing and winter road operations for European municipalities.
MuniFlows (MuniOS) is a high-performance Smart City platform engineered for European municipalities — including Denmark's Gentofte Kommune. It automates real-time fleet operations, from winter salt spreading and snow removal to waste collection and street sweeping, replacing manual dispatch with algorithmically optimized, auditable operations.
Technology stack
Problem
Municipalities were losing significant budget to inefficient fuel and salt usage, relying on manual, error-prone street routing, and operating with near-zero visibility into driver activity during hazardous winter conditions — all while carrying serious legal exposure from unverifiable road-treatment records after accidents.
Solution
Engineered an automated Capacitated Arc Routing Problem (CARP) solver on top of OSRM and Google OR-Tools to generate optimal street-coverage routes in real time. Paired it with live GIS spatial analysis (PostGIS, Turf.js), high-frequency IoT telemetry logging (TimescaleDB), an offline-first driver application for iPad, and a real-time supervisor command center.
Technical contribution
Served as Lead Systems Architect and Core Developer, owning the platform end-to-end: the Go microservice backend, the spatial GIS query and routing layer, the multi-tenant deployment engine, the offline-first Flutter driver application, and the interactive React operations dashboard.
Architecture
Multi-region, single-tenant architecture with per-country domain isolation (e.g. dk.muniflows.com). Built on a Go (Golang) REST and WebSocket API, PostgreSQL/PostGIS for spatial data, TimescaleDB for high-volume telemetry, and a React + TypeScript operations dashboard styled with Tailwind CSS.
Performance considerations
Sub-second CARP route recalculation across thousands of municipal street segments, 10,000+ telemetry pings processed per second via WebSockets and Redis caching, and zero-latency offline map fallback on driver iPads regardless of network conditions.
Security considerations
GDPR-compliant anonymization of driver telemetry, an immutable audit trail built for municipal legal defense in accident and liability disputes, device-locked iPad authentication, and encrypted HTTPS/WSS traffic behind Nginx.
Deployment model
Fully automated Docker and Nginx orchestration supporting isolated, per-country production environments (dk.muniflows.com), dynamic integration with regional government APIs (Denmark's DAWA address API), and environment-specific database provisioning.
Outcome
Delivered up to a 25% reduction in fuel and material consumption, 100% verified street-coverage tracking, and a fully automated legal audit trail — turning a manual, liability-heavy operation into a measurable, defensible one.