Contribution to Advanced Air Quality Monitoring in Smart Cities Based on the Design of a Frugal Device Combining Mobile IoT and Machine Learning

Fixed air-quality monitoring networks are costly to deploy and maintain, which limits their coverage in developing cities. Low-cost mobile sensors on public transport fleets are a promising alternative, but face four obstacles: the lack of real-time processing, site-specific predictive models, the neglect of atmospheric dispersion, and the absence of an integrated end-to-end architecture. This simulation-based study develops and evaluates a microscopic SUMO/TraCI simulation of the urban network of Mohammedia (Morocco), in which four bus lines act as virtual IoT sensors. No physical sensors or gas measurements were used: CO2, NOx and PMx emission rates from the surrounding vehicles within a 50 m radius are generated by SUMO/HBEFA and combined with a stochastic background scenario. The 1 Hz data streams are routed through an open-source pipeline (MQTT, InfluxDB, Grafana), the performance of which was quantified on a single machine: all 102,848 published messages were stored in InfluxDB, with a median end-to-end latency of 14.8 ms (95th percentile 63.2 ms, maximum 610 ms) up to the confirmed database write. Exploratory analysis reveals strongly skewed emission distributions, with 64% of emissions concentrated on 18% of the road network. A Random Forest model achieved mean R2 values of 92.23% for CO2, 82.74% for NOx and 81.51% for PMx under five-fold cross-validation on 102,848 simulated records, and outperformed XGBoost in a separate 80/20 random hold-out comparison. These results indicate that a limited set of spatiotemporal and kinematic variables can reproduce the simulated emission signal. However, because the evaluation relies on a single simulated day, random data splits and simulated emission rates rather than measured concentrations, validation with independent simulation scenarios and real-world measurements is required before any broader temporal or geographical generalization.

Authors

Institutions

Publication Details

Journal
Applied System Innovation
Published
2026-11-30
DOI
https://doi.org/10.3390/asi9120260
Primary Topic
Air Quality Monitoring and Forecasting
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
article

Contribution to Advanced Air Quality Monitoring in Smart Cities Based on the Design of a Frugal Device Combining Mobile IoT and Machine Learning

Hasna Nhaila, Mohamed El Khaïli, Adil El Arfaoui, Bothayna Zaki
Applied System Innovation
Air Quality Monitoring and Forecasting
article

Contribution to Advanced Air Quality Monitoring in Smart Cities Based on the Design of a Frugal Device Combining Mobile IoT and Machine Learning

Hasna Nhaila, Mohamed El Khaïli, Adil El Arfaoui, Bothayna Zaki
article en

Abstract

Fixed air-quality monitoring networks are costly to deploy and maintain, which limits their coverage in developing cities. Low-cost mobile sensors on public transport fleets are a promising alternative, but face four obstacles: the lack of real-time processing, site-specific predictive models, the neglect of atmospheric dispersion, and the absence of an integrated end-to-end architecture. This simulation-based study develops and evaluates a microscopic SUMO/TraCI simulation of the urban network of Mohammedia (Morocco), in which four bus lines act as virtual IoT sensors. No physical sensors or gas measurements were used: CO2, NOx and PMx emission rates from the surrounding vehicles within a 50 m radius are generated by SUMO/HBEFA and combined with a stochastic background scenario. The 1 Hz data streams are routed through an open-source pipeline (MQTT, InfluxDB, Grafana), the performance of which was quantified on a single machine: all 102,848 published messages were stored in InfluxDB, with a median end-to-end latency of 14.8 ms (95th percentile 63.2 ms, maximum 610 ms) up to the confirmed database write. Exploratory analysis reveals strongly skewed emission distributions, with 64% of emissions concentrated on 18% of the road network. A Random Forest model achieved mean R2 values of 92.23% for CO2, 82.74% for NOx and 81.51% for PMx under five-fold cross-validation on 102,848 simulated records, and outperformed XGBoost in a separate 80/20 random hold-out comparison. These results indicate that a limited set of spatiotemporal and kinematic variables can reproduce the simulated emission signal. However, because the evaluation relies on a single simulated day, random data splits and simulated emission rates rather than measured concentrations, validation with independent simulation scenarios and real-world measurements is required before any broader temporal or geographical generalization.

Applied System InnovationVol. 9(12)
École Normale Supérieure de l'Enseignement Technique de Mohammedia (MA)
Air Quality Monitoring and Forecasting
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon