Research prototype · Satellite thermal data · Istanbul

Hot streets, honest routes.

On the hottest captured day of the 2025 season (22 July), land-surface temperatures across the three-district pilot area — Kadıköy, Üsküdar and Ataşehir, ~810 km² of Istanbul's Anatolian side — spanned 19.9 °C to 51.7 °C: a ~32 °C gap between streets minutes apart, at the same hour.

Conventional routing optimises distance or time; it never sees heat. CoolRoute is an open, end-to-end research prototype that teaches routing to see it: satellite LST fusion, physics-based battery models and Pareto optimisation — with every limitation stated up front.

Can a micromobility route reduce thermal exposure and battery stress without becoming impractically long?

— the question CoolRoute exists to answer
  • 19.9–51.7 °C surface range, hottest captured day
  • 30 m satellite resolution
  • ~810 km² three-district pilot area
  • 177 days fused LST series (core-corridor fusion)

Research & portfolio project — model outputs, not navigation advice.

01 · The problem

Heat hits a battery on two clocks.

Urban heat islands push asphalt-and-concrete streets far above the city's air temperature. For an e-scooter that cost arrives on two timescales at once.

This minute: energy per kilometre

Rolling resistance, aerodynamic drag and slope set a scooter's Wh/km, and city driving reshapes all three. A constant-speed physics model says 4.13 Wh/km; adding a simulated stop-and-go drive cycle says 9.0 Wh/km — a +118% correction that lands inside the 6–15 Wh/km literature band.

This season: battery health

Every hot cycle shaves capacity away. An Arrhenius-style ageing model — calibrated on NASA's 26-cell 18650 dataset, 5 thermal regimes — shows retention diverging sharply between 25 °C and 45 °C operation. Heat is a slow tax on the battery.

The same city, the same hour

coldest cell — 19.9 °C ≈32 °C apart hottest cell — 51.7 °C

Land-surface temperature across the three-district pilot area, 22 July 2025 (Landsat, 30 m grid — the hottest captured day of the season). LST is surface temperature — not air, not battery-core.

Why it matters

  1. The signal is measurable.

    The heat layer is computed from Landsat 8/9 + MODIS scenes at 30 m — not guessed.

  2. Nobody routes on it.

    Multi-objective routing practice optimises distance, time, sometimes energy — heat exposure is absent from the objective.

  3. It's a local story.

    Pilot area: Kadıköy, Üsküdar and Ataşehir on Istanbul's Anatolian side — ~810 km² at 30 m resolution.

02 · How it works

From satellite pass to route choice — five steps.

One deterministic pipeline, reproducible from scripts. Scroll to walk it.

Step 1

Fuse the satellite imagery

Landsat offers 30 m detail but revisits sparsely; MODIS passes daily at 1 km. MODIS-anomaly spatiotemporal fusion blends them into a 30 m daily land-surface-temperature layer, then a cosine diurnal model (peak at 14:00) adds the hour dimension.

177 days (core-corridor fusion) 30 m 2025-05-04 → 2025-10-27

Step 2

Find the hot spots

The field is cleaned to 0–50 °C and coarsened to a 300 m analysis scale. Global Moran's I confirms strong clustering; Getis-Ord Gi* with FDR correction flags significant cells.

Moran's I 0.966 (p < 0.001) 393 hot / 609 cold cells

Step 3

Model the energy

A physics model (rolling + aerodynamic + grade forces, temperature-derated efficiency) sets the floor. A 4-state Markov-chain Monte-Carlo drive cycle adds stop-and-go reality on top.

4.13 → 9.0 Wh/km +118% 9.8 stops/km

Step 4

Age the battery

Capacity fade follows an Arrhenius law, calibrated on NASA PCoE 18650 cycling data. Activation energy is fixed at 45 kJ/mol from LCO literature; only the pre-exponential is fitted — a deliberate guard against overfitting a small dataset.

26 cells · 5 regimes LOCO RMSE 0.000237/cycle

Step 5

Route across the trade-off

Every street edge gets temperature, energy and degree-hours of thermal stress (max(0, T − 25 °C) × km). NSGA-II then sweeps the blend α between energy and heat — and the frontier is reported as-is, including when it degenerates.

61,378 nodes / 157,248 edges 2/6 non-degenerate fronts

Ships as code: 7 FastAPI endpoints · 4-tab Streamlit dashboard · 254 tests in the saved local run (CI re-runs the suite) · deterministic seed 42 · MIT license.

03 · Interactive demo

Watch the city heat up and cool down.

This demo replays the pipeline's diurnal model — a cosine cycle peaking at 14:00 — over a stylised field that carries the pilot area's real statistics. Drag the hour. Hover for cell temperatures. Toggle the hotspot overlay.

field mean — 36.2 °C @ 14:00 · range 19.9–51.7 °C (10:30 ref)

Interactive version requires JavaScript.

14:00 — peak LST

cell — hover the map —

field mean 36.2 °C @ 14:00

hot / cold cells 393 / 609 (saved run, 300 m scale)

04:00 → 26.8 °C 10:30 → 34.2 °C 14:00 → 36.2 °C 20:00 → 31.2 °C 22:30 → 28.1 °C

LST(h) = daily + amp · (cos(2π(h − 14)/24) − 0.6088)

Stylised for the browser: the field is synthetic — its 10:30 reference snapshot matches the saved run of 22 July 2025 (range 19.9–51.7 °C, mean 34.2 °C); dragging the hour applies the pipeline's diurnal shift (cosine, peak 14:00, default 5 °C amplitude used when night-side observations are missing), so across a full day the visible envelope spans roughly 12–54 °C. The production system fuses 177 days of Landsat/MODIS scenes at 30 m (core-corridor fusion).

04 · Interactive demo

Stop-and-go doubles the energy bill.

A constant-speed physics model is the floor. City driving — 200 Monte-Carlo simulations of a Markov-chain drive cycle — nearly triples it at the saved operating point.

Saved operating point

Steady-state physics
4.13 Wh/km
Markov-chain drive cycle
9.0 Wh/km

+118%

p5 7.21 · mean 9.0 · p95 10.89 · σ 1.13 Wh

saved operating point — 1 km edge · 15 km/h · 25 °C · flat · 12 stops/km target · 200 Monte-Carlo simulations

Measured single-variable scans approximate — measured points, not interpolated

0153045 T °C slope ° stops/km≈ insensitive

T: 15/25/35/45 °C → 9.13/8.86/8.60/8.36 · slope: 0/3/6° → 8.86/25.82/42.73 · stops: 8/12/18 → 8.79/8.86/8.86 Wh/km

4.13 Wh/km — steady-state physics 9.0 Wh/km — Markov-chain drive cycle (+118%) axis 0–15 Wh/km · shaded band: literature 6–15 · Interactive version requires JavaScript.

Feel the physics live steady-state — exact

drivetrain η(T) — 0.850

4.13Wh/km

  • rolling 2.57 Wh/km
  • aerodynamic 1.57 Wh/km
  • grade 0.00 Wh/km

E = (m·g·Crr + ½ρ·CdA·v² + m·g·sinθ) · d / η(T) / 3600

m 100 kg · Crr 0.008 · CdA 0.45 m² · η₀ 0.85 @ 25 °C · α 0.003/°C

Warm is not the villain here — instant energy barely moves with temperature (warmer slightly raises drivetrain efficiency, 8.86 → 8.36 Wh/km from 25 → 45 °C in the saved scans). Heat's real cost compounds in battery ageing (next demo) and degree-hours of thermal stress. And stop density barely moves Wh/km in this model (8.79 → 8.86 across 8–18 stops/km) — the transition matrix is only weakly calibrated to its target rate, and the demo shows that honestly.

Slider values are computed live from the repo's steady-state equations (exact). Drive-cycle numbers are shown only at the saved operating point and at the measured points of the saved single-variable scans — never interpolated into unsimulated combinations.

05 · Interactive demo

One slider, the whole trade-off.

NSGA-II blends two costs into one edge weight: α·energy + (1−α)·thermal stress. α = 1 gives the cheapest route; α = 0 gives the coolest. The point is not one "best" route — it's the frontier of honest trade-offs, and you choose.

Marmara Üsküdar Ataşehir blue: coolest (stylised) · terracotta: cheapest (stylised) 4 frontier options · 97 vs 255 nodes · Interactive version requires JavaScript.
0.0 coolest1.0 cheapest

Energy 213 Wh stylised

Thermal stress 75.0 °C·km stylised

Route 176 nodes

node counts real at the endpoints: 97 · 255

Trip energy (Wh) Thermal stress (°C·km)

Best saved frontier: Üsküdar → Ataşehir — 4 route options. The route sizes (97 and 255 nodes) are real numbers from the saved run; the axes are a stylised illustration — the saved frontier's energy and degree-hour coordinates are not published here (the repo's data files are not part of this site), so every plotted position carries a "stylised" label.

edge weight = α·E_norm + (1−α)·DH_norm

degree-hours = max(0, T_road − 25 °C) × km — e.g. 34.2 °C road, 1 km → 9.2 °C·km; 22 °C road → 0

In the saved run the script forced degree-hours as the second objective for the coastal→inland pairs (run_pareto.py:185-187), even though the correlation guard (r = 0.9475 > 0.8) would otherwise switch it to route length (config.py:44-47). The demo follows the saved run: energy × degree-hours.

In the saved run, energy and heat exposure were strongly correlated (Pearson r = 0.9475): four of six OD pairs collapsed to a degenerate frontier — the coolest route was also the cheapest. The pipeline detects and reports this instead of hiding it. A real heat–route trade-off emerged in 2 of 6 pairs.

06 · Interactive demo

Heat is a slow tax on capacity.

Capacity retention follows 100 · exp(−k·n), where k accelerates with temperature (Arrhenius). Calibrated on NASA's PCoE 18650 cycling dataset. Drag the temperature and cycles; the 80% first-life threshold is marked.

100%80%55%25% 03005008001000 cycles 45 °C → 54.2% @500 35 °C → 70.3% @500 25 °C → 82.2% @500 15 °C → 90.1% @500

Interactive version requires JavaScript.

warm-regime model (calibrated T ≥ 15 °C)

70.3%

At 35 °C over 500 cycles → ~70% retention.

The calibration data

NASA PCoE · 26 cells · 5 regimes (5 / 12 / 24 / 40 / 44 °C) · 2,331 cycles · LCO chemistry, 2.0 Ah nominal.

Model quality

R² = 0.67 (warm regimes) · LOCO RMSE = 0.000237 / cycle · Ea fixed at 45 kJ/mol from LCO 18650 literature.

Curves use the repo's example parametrisation (A = 3×10⁴); the fitted pre-exponential ships with the data pipeline.

Warm regimes only: below 15 °C, lithium plating dominates and this model form doesn't represent it — the curve is optimistic in the cold. No calendar (dwell-time) ageing: the dataset has none. And no "X% longer battery life" claim is made anywhere on this page — the saved frontiers show ≈0 SoH difference on degenerate pairs.

07 · Results

What the saved runs say.

Every figure below comes from the repository's recorded runs or executed validations — each carries its framing.

9.0 Wh/km

Stop-and-go energy, MC mean

Up from 4.13 steady-state — inside the 6–15 Wh/km literature band.

+118%

Constant-speed undercount

Constant-speed range estimates under-count city energy by 2.2×.

0.966

Moran's I @ 300 m

p < 0.001 — heat is strongly clustered; routing around it is geometrically meaningful.

2 / 6

Non-degenerate fronts

A real heat–route trade-off exists on some OD pairs, not all.

61,378

Graph nodes

157,248 edges across the ~810 km² pilot graph.

177

Days of fused LST

2025-05-04 → 2025-10-27 at 30 m — core-corridor fusion (see honesty panel).

  • 19.9–51.7 °C captured-day surface range
  • 9.8 stops/km
  • 393 hot / 609 cold cells
  • r = 0.9475 energy↔heat
  • 26 NASA cells
  • LOCO RMSE 0.000237/cycle
  • 72× MC speed-up (8 min vs ~9.6 h)
  • 254 tests in the saved run
  • 7 endpoints
  • 4 dashboard tabs

Council review, implemented in full — 11 of 11 physics fixes

Metrics before and after the P9 to P10 physics review
MetricBeforeAfter
Energy model4.13 Wh/km9.0 Wh/km
Non-degenerate fronts0/32/6
Pilot area~117 km²~810 km²
Graph nodes5,17561,378
Tests197254

A physics review doubled the model's honesty about city energy — and the frontier count proved it.

08 · What ships

A dashboard for humans, an API for everything else.

Streamlit dashboard · four tabs

  • Heat Map

    day/hour sliders, 177-day series (core-corridor fusion), CartoDB basemap, Gi* hotspot overlay with z-scores and FDR p-values.

  • Battery Impact

    SoH calculator with gauge and 80% threshold; retention-vs-temperature curves; trip-energy calculator with force decomposition.

  • Routing

    per-OD-pair Pareto scatter and summary; degenerate-frontier finding called out, not hidden.

  • Metrics Summary

    headline metrics, model quality, and a six-point honest-limitations list.

FastAPI · seven endpoints

GET /healthliveness + version
GET /heat-layerLST snapshot for a given day/hour (bbox, stats, grid)
GET /hotspotsGi* hotspot GeoJSON (hot/cold, z, FDR p)
GET /routepre-computed Pareto frontiers for OD pairs*
GET /metricssaved run metrics, verbatim
GET /sohArrhenius retention estimate (temp, cycles)
GET /energyphysics trip energy (distance, speed, temp, slope)

* /route validates that the requested coordinates sit inside the pilot bbox (outside → 422) but does not snap to the nearest OD pair — in the current build it returns a saved frontier pair (the first one), not a coordinate lookup, and says so in its response note. Full on-demand solving is available but takes ~2 minutes.

# Requirements: Python 3.11/3.12, uv; a Google Earth Engine
# account is needed only for the live geospatial pipeline.
git clone https://github.com/Exoristos/coolroute.git
cd coolroute && uv sync --extra dev && cp .env.example .env

# offline checks
uv run pytest tests/ -q        # 254 tests in the saved run
uv run ruff check .

# services
uv run uvicorn uhi_battery.api.app:app --port 8000
uv run streamlit run src/uhi_battery/dashboard/app.py

# pipeline entry points (reproducible)
uv run python scripts/train_models.py
uv run python scripts/compute_hotspots.py
uv run python scripts/run_pareto.py
uv run python scripts/compute_metrics.py

curl "localhost:8000/energy?distance_m=3000&speed_kmh=15&temp_c=25" → { "energy_wh": 12.39, "wh_per_km": 4.13, "components": {...} }

  • Local-first data — no network calls at runtime
  • Deterministic seed 42
  • pytest + ruff, CI re-runs the suite
  • MIT license
  • Swagger docs at /docs

09 · Honesty

What CoolRoute is not.

Most project pages bury the caveats. This page leads with them.

"The recorded fusion RMSE of 0.000 °C is a pipeline self-consistency check against a constructed reference, not independent ground-truth accuracy."

— README, verbatim
  1. Not navigation or safety advice.

    This is a research and portfolio project. Routes and battery estimates are model outputs.

  2. Not externally validated.

    See the README quote above — self-consistency, not ground truth.

  3. Not real demand.

    Trip demand is simulated. No fleet telemetry was used; the data interface is swappable by design.

  4. Not an operator partnership.

    An outreach draft to an Istanbul operator exists; no data was ever received and none is implied.

  5. Not air temperature.

    LST is land-surface temperature. 51.7 °C asphalt can coexist with 30–35 °C air. Battery-core temperature is neither.

  6. Not a battery-life promise.

    The SoH model is warm-regime only, with activation energy fixed from literature (R² = 0.67). No "X% longer life" number exists — none is claimed.

  7. Not a trade-off on every route.

    Energy and heat correlate at r = 0.9475; 4 of 6 saved frontiers degenerate. The system reports that.

  8. Not a shipped product UI.

    The interface is a four-tab Streamlit dashboard plus a REST API — a working research prototype, not a React app.

  9. Not a final test count.

    254 pass + 1 skip is the saved local run; CI re-runs the suite on every push.

  10. Not one merged coverage claim.

    The 177-day fused LST series and the ~810 km² three-district pilot graph are documented separately; the technical report additionally lists an expanded-grid fusion run that this site does not verify, so the two are never presented as a single coverage number.

10 · Next

Where it goes next.

Planned integrations — named here so they are not mistaken for features.

  1. Planned

    ERA5-Land air temperature

    Decouple surface from air temperature and model the gap explicitly.

  2. Planned

    Stanford Calendar Aging

    Estimate activation energy from data instead of fixing it at 45 kJ/mol.

  3. Planned

    Dublin E-Mobility validation

    Validate the energy model against open real-world trip data.

  4. Interface ready

    Operator telemetry

    The TripDataProvider abstraction can swap simulated demand for real telemetry without touching downstream code — an outreach draft is prepared.

  5. Production hardening

    Publication-lag handling, uncertainty intervals and out-of-area validation.