Methods

Shadows, heat, routes and the cost of a sunny or hot metre.

Pipeline

  1. Heights. 2022 LiDAR: ground, buildings and trees at 1 m.
  2. Shadows. Every hour from 8:00 to 19:00 on June 24 and July 29, 2025, a ray is cast from every 2 m of sidewalk towards the sun. A point is in building shade if a building, a bridge or the ground blocks the ray, in tree shade if only trees do, and in the sun otherwise.
  3. Heat. SOLWEIG turns the same heights and the weather into the UTCI, how hot it feels, at every square metre.
  4. Sidewalks. Each sidewalk gets, per hour, its metres of sun, tree shade and building shade, and its UTCI.
  5. Routes. Each walk has three routes: shortest, shadiest (shade cost) and coolest (heat cost).

The cost of a sunny metre

The shadiest walk uses the cost function of Wen et al. (2025):

\[C = L_{\text{sun}} + (1 - 0.5\,\theta)\,L_{\text{tree}} + (1 - \theta)\,L_{\text{building}} + (1 - 1.5\,\theta)\,L_{\text{indoor}}\]

A sunny metre costs 1, tree shade 1 − 0.5θ, building shade 1 − θ, an indoor metre 1 − 1.5θ. θ grows with the distance already walked, so shade matters more the longer the walk:

θ as a function of distance already walked.

With θ near 0.2 for the first 500 m, a short walk only leaves the shortest route when that costs almost nothing.

The cost of a hot metre

The coolest walk uses the same θ but prices each metre by its UTCI instead of its shade class:

\[C_{\text{heat}} = \sum_{\text{edges}} L\,(1 - \theta\,r), \qquad r = \frac{U_{\text{sun}} - U}{U_{\text{sun}} - U_{\text{building}}}\]

\(U\) is the sidewalk’s UTCI; \(U_{\text{sun}}\) and \(U_{\text{building}}\) are the city medians in sun and in building shade at that hour (at 15:00 on June 24, 45.9 and 41.3 °C). A metre as hot as a typical sunny sidewalk costs 1, and a metre as cool as typical building shade costs 1 − θ, as in the shade cost. Every other metre falls in between, in proportion to its UTCI. Indoor passages have no UTCI, so the coolest walk stays outdoors.

Walks home from transit

Each walk runs from the stop to the home. Results are reported by walk length (under 300 m, 300–800 m, 800–1,200 m), since short walks rarely have an alternative, and for stations and bus or trolley stops separately. On the 500 m grid, a cell’s figures are means over its walks, and figures for a group of cells are means over the cells, not weighted by their number of walks (medians for building height, canopy and sidewalk density).

Metrics

Metric Definition
Sun
Sun share metres in the sun on the shortest walk ÷ its length
Sun reduction (sun on shortest − sun on shadiest) ÷ sun on shortest
Weighted exposure reduction (C of shortest − C of shadiest) ÷ C of shortest
No cooler option the shadiest walk avoids less than 2% of the sun
Heat
UTCI of a walk length-weighted mean UTCI along it, in °C
UTCI reduction UTCI of the shortest − UTCI of the coolest (or shadiest) walk, in °C
Extreme heat stress metres with UTCI ≥ 46 °C
Both
Detour (length of the walk − shortest length) ÷ shortest length
Indoor Contribution Index (1 − Lshadiest ÷ Lshortest, outdoor) × indoor share of the shadiest path’s shade (Wen et al. 2025)

Weighted exposure falls much less than sun because, with θ near 0.2, each metre of sun avoided lowers C by only 0.15–0.2 m.

Indoor scenarios (University City)

Mapped entrances are linked to the nearest sidewalk; passages through buildings count as indoor walking. Three cases: outdoor only, plus buildings open without a Penn ID, plus all mapped buildings. The shortest route is always the outdoor one.