SUEWS

Surface Urban Energy and Water Balance Scheme.
https://github.com/UMEP-dev/SUEWS

Category: Climate Change
Sub Category: Earth and Climate Modeling

Keywords

land-surface-model urban-analytics urban-climate-model

Keywords from Contributors

land-surface-modeling suews wrf urban-climate climate-model science-research qgis urban-planning

Last synced: about 19 hours ago
JSON representation

Repository metadata

Surface Urban Energy and Water Balance Scheme

README.md


What is SUEWS?

SUEWS is a neighbourhood/local-scale urban land surface model that simulates the urban radiation, energy and water balances using commonly measured meteorological variables and surface cover information. It uses an evaporation-interception approach (Grimmond and Oke, 1991), similar to that used in forests, to model evaporation from urban surfaces.

The model represents seven surface types -- paved, buildings, evergreen trees/shrubs, deciduous trees/shrubs, grass, bare soil and water -- and tracks the running water balance of the canopy, soil moisture, and horizontal water movement above and below ground.

SuPy (SUEWS in Python) provides the modern interface, wrapping a Fortran physics engine and integrating with the scientific Python ecosystem (pandas, NumPy, matplotlib).

Key Features

  • Energy balance: net all-wave radiation, sensible and latent heat fluxes, storage heat flux, anthropogenic heat
  • Water balance: soil moisture, infiltration, runoff, drainage, irrigation demand
  • Radiation schemes: NARP, SPARTACUS-Surface (3D), BEERS (mean radiant temperature)
  • Storage heat schemes: OHM, AnOHM, ESTM, EHC (explicit heat conduction)
  • Building energy: STEBBS (Simple Thermal Energy Balance for Building Scheme)
  • Python API: YAML configuration, pandas DataFrames, programmatic simulations
  • CLI tools: suews run, suews validate, suews convert, suews schema

Quick Start

SUEWS requires Python 3.12 or newer.

pip install supy

Run from the command line:

suews run /path/to/config.yml

Or use the Python API:

from supy import SUEWSSimulation

sim = SUEWSSimulation.from_sample_data()
sim.run()
print(sim.output.summary())

Full documentation: docs.suews.io

Documentation

Citation

If you use SUEWS in your research, please cite:

  • Jarvi L, Grimmond CSB, Christen A (2011) The Surface Urban Energy and Water Balance Scheme (SUEWS): Evaluation in Los Angeles and Vancouver. J. Hydrol., 411, 219-237.
  • Ward HC, Kotthaus S, Jarvi L, Grimmond CSB (2016) Surface Urban Energy and Water Balance Scheme (SUEWS): Development and evaluation at two UK sites. Urban Climate, 18, 1-32.

See CITATION.cff for machine-readable citation metadata.

Contributing

We welcome contributions from people who engage with the project. See CONTRIBUTING.md for guidelines. New contributors are encouraged to start on the Community Forum.

Development

git clone https://github.com/UMEP-dev/SUEWS.git && cd SUEWS
uv venv && source .venv/bin/activate
make dev && make test

Licence

Mozilla Public License 2.0

Citation (CITATION.cff)

# This CITATION.cff file was generated with cffinit.
# Visit https://bit.ly/cffinit to generate yours today!

cff-version: 1.2.0
title: SUEWS (Surface Urban Energy and Water Balance Scheme)
message: >-
  If you use this software, please cite it using the
  metadata from this file.
type: software
authors:
  - given-names: Sue
    family-names: Grimmond
    orcid: 'https://orcid.org/0000-0002-3166-9415'
  - given-names: Leena
    family-names: Järvi
    orcid: 'https://orcid.org/0000-0002-5224-3448'
  - given-names: Helen
    name-particle: C
    family-names: Ward
    orcid: 'https://orcid.org/0000-0001-8881-185X'
  - given-names: Ting
    family-names: Sun
    orcid: 'https://orcid.org/0000-0002-2486-6146'
  - given-names: Hamidreza
    family-names: Omidvar
    orcid: 'https://orcid.org/0000-0001-8124-7264'
  - given-names: Lewis
    family-names: Blunn
    orcid: 'https://orcid.org/0000-0002-3207-5002'
  - given-names: Fredrik
    family-names: Lindberg
    orcid: 'https://orcid.org/0000-0002-9648-4542'
  - given-names: Zhenkun
    family-names: Li
  - given-names: Yiqing
    family-names: Liu
    orcid: 'https://orcid.org/0000-0001-5159-9197'
  - given-names: Xiaoxiong
    family-names: Xie
    orcid: 'https://orcid.org/0000-0003-2280-1768'
identifiers:
  - type: doi
    value: 10.5281/zenodo.5721639
    description: All-version DOI record
repository-code: 'https://github.com/UMEP-dev/SUEWS/'
abstract: >-
  Surface Urban Energy and Water Balance Scheme (SUEWS)
  [Järvi et al., 2011, Ward et al., 2016] is a
  neighbourhood/local-scale urban land surface model to
  simulate the urban radiation, energy and water balances
  using only commonly measured meteorological variables and
  information about the surface cover. SUEWS utilises an
  evaporation-interception approach [Grimmond and Oke,
  1991], similar to that used in forests, to model
  evaporation from urban surfaces.
keywords:
  - urban climate model
  - land surface model
  - urban resilience
  - surface energy balance
  - surface water balance
  - urban climate
  - urban hydrology
license: MPL-2.0

Owner metadata


GitHub Events

Total
Last Year

Committers metadata

Last synced: 3 days ago

Total Commits: 8,206
Total Committers: 35
Avg Commits per committer: 234.457
Development Distribution Score (DDS): 0.212

Commits in past year: 807
Committers in past year: 9
Avg Commits per committer in past year: 89.667
Development Distribution Score (DDS) in past year: 0.113

Name Email Commits
Ting Sun s****5@g****m 6466
Silvia Rognone r****a@g****m 538
matthew m****n@p****k 371
github-actions[bot] g****] 220
Järvi, Leena J l****i@h****i 93
Lewis Blunn m****3@g****m 77
Hamidreza Omidvar o****a@g****m 76
lyy l****9@m****n 50
HelenWard h****d@r****k 42
natalieth n****s@g****m 42
Fredrik Lindberg f****l@g****e 35
Yiqing Liu 9****1 32
Vitor Lavor v****r@h****m 31
zhenkunl l****k@y****t 27
Sue Grimmond 2****d 15
unknown x****r@N****e 14
claude[bot] 2****] 13
unknown h****a@W****k 13
azure-pipelines[bot] a****] 10
unknown x****0@S****k 10
HarroJongen 5****n 4
黄文娟 h****n@h****l 3
Shiho Onomura s****a@g****e 3
Jonas Kittner j****r@r****e 3
FlynnAmes 9****s 3
Xiaoxiong Xie 3****e 2
Fredrik Lindberg x****r@h****e 2
pjay-PC\pjay p****3@1****m 2
dependabot-preview[bot] 2****] 2
IzzyWillow i****s@p****k 2
and 5 more...

Committer domains:


Issue and Pull Request metadata

Last synced: 9 days ago

Total issues: 810
Total pull requests: 1,163
Average time to close issues: 5 months
Average time to close pull requests: 6 days
Total issue authors: 45
Total pull request authors: 13
Average comments per issue: 1.63
Average comments per pull request: 1.61
Merged pull request: 988
Bot issues: 36
Bot pull requests: 71

Past year issues: 399
Past year pull requests: 700
Past year average time to close issues: 19 days
Past year average time to close pull requests: 6 days
Past year issue authors: 14
Past year pull request authors: 10
Past year average comments per issue: 1.06
Past year average comments per pull request: 1.59
Past year merged pull request: 613
Past year bot issues: 23
Past year bot pull requests: 22

More stats: https://issues.ecosyste.ms/repositories/lookup?url=https://github.com/UMEP-dev/SUEWS

Top Issue Authors

  • sunt05 (424)
  • MatthewPaskin (94)
  • dayantur (76)
  • ghost (41)
  • github-actions[bot] (36)
  • biglimp (23)
  • suegrimmond (14)
  • megstretton (9)
  • FlynnAmes (7)
  • vitorlavor (6)
  • Empanag (5)
  • LllC-mmd (5)
  • utterances-bot (5)
  • Kangarooboxer (4)
  • XiaoxiongXie (4)

Top Pull Request Authors

  • sunt05 (886)
  • dayantur (94)
  • github-actions[bot] (68)
  • MatthewPaskin (57)
  • yiqing1021 (20)
  • ljarvi (15)
  • vitorlavor (6)
  • LllC-mmd (4)
  • FlynnAmes (3)
  • HarroJongen (3)
  • claude[bot] (3)
  • LewisB7 (3)
  • Copilot (1)

Top Issue Labels

  • 3-P2 (243)
  • 1-bug (199)
  • 1-feature (194)
  • 4-ready (190)
  • 3-P1 (176)
  • 2-infra:data-model (137)
  • 4-in-progress (117)
  • 1-maintenance (87)
  • 2-infra:input (85)
  • 2-doc:user (77)
  • 3-P0 (57)
  • 2-infra:test (48)
  • 2-infra:ci (43)
  • 2-infra:fortran-python (37)
  • 2-infra:code-refactor (34)
  • 2-infra:output (32)
  • 4-needs-deps (28)
  • 4-needs-discussion (27)
  • 2-doc:dev (27)
  • 4-deferred (25)
  • 2-module:stebbs (25)
  • 2-infra:utility (25)
  • 2-infra:packaging (24)
  • 2-module:spartacus (24)
  • 1-question (24)
  • 4-needs-science (20)
  • 2-module:snow (20)
  • 2-module:waterdist (18)
  • 2-infra:schema (17)
  • 2-module:rslprof (16)

Top Pull Request Labels

  • 0-ci:schema-audit-ok (55)
  • 0-physics:change (37)
  • 1-maintenance (34)
  • 1-bug (33)
  • 2-infra:data-model (26)
  • 1-feature (15)
  • 2-infra:input (13)
  • 4-ready (13)
  • 2-doc:user (12)
  • 2-infra:ci (12)
  • 2-infra:output (8)
  • 2-infra:schema (8)
  • 2-module:snow (7)
  • 2-infra:test (7)
  • 3-P1 (6)
  • 2-module:stebbs (6)
  • 3-P2 (5)
  • 4-in-progress (5)
  • 2-module:dailystate (5)
  • 2-meta:governance (4)
  • 2-module:anthro (4)
  • 2-infra:packaging (4)
  • 2-infra:fortran-python (4)
  • 4-needs-discussion (4)
  • 2-module:resist (3)
  • 2-module:atmmoiststab (3)
  • 3-P0 (3)
  • 2-module:waterdist (3)
  • 2-module:spartacus (3)
  • 2-infra:code-refactor (3)

Dependencies

.github/workflows/build-publish_to_pypi.yml actions
  • actions/checkout v3 composite
  • actions/download-artifact v3 composite
  • actions/upload-artifact v3 composite
  • pypa/cibuildwheel v2.9.0 composite
  • pypa/gh-action-pypi-publish release/v1.5 composite
.github/workflows/data-interface-version-audit.yml actions
  • actions/checkout de0fac2e4500dabe0009e67214ff5f5447ce83dd composite
  • actions/setup-python a309ff8b426b58ec0e2a45f0f869d46889d02405 composite
.github/workflows/dependency-audit.yml actions
  • actions/checkout de0fac2e4500dabe0009e67214ff5f5447ce83dd composite
  • actions/setup-python a309ff8b426b58ec0e2a45f0f869d46889d02405 composite
  • astral-sh/setup-uv d0cc045d04ccac9d8b7881df0226f9e82c39688e composite
.github/workflows/workflow-security.yml actions
  • actions/checkout de0fac2e4500dabe0009e67214ff5f5447ce83dd composite
  • astral-sh/setup-uv d0cc045d04ccac9d8b7881df0226f9e82c39688e composite
.github/workflows/benchmark-pytest-scheduler.yml actions
  • actions/checkout de0fac2e4500dabe0009e67214ff5f5447ce83dd composite
  • actions/download-artifact 3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c composite
  • actions/setup-python a309ff8b426b58ec0e2a45f0f869d46889d02405 composite
  • actions/upload-artifact bbbca2ddaa5d8feaa63e36b76fdaad77386f024f composite
.github/workflows/cibuildwheel-debug.yml actions
  • actions/checkout de0fac2e4500dabe0009e67214ff5f5447ce83dd composite
  • actions/setup-python a309ff8b426b58ec0e2a45f0f869d46889d02405 composite
  • actions/upload-artifact bbbca2ddaa5d8feaa63e36b76fdaad77386f024f composite
  • mxschmitt/action-tmate c0afd6f790e3a5564914980036ebf83216678101 composite
.github/workflows/interaction-limits.yml actions
.github/workflows/knowledge-pack-audit.yml actions
  • actions/checkout de0fac2e4500dabe0009e67214ff5f5447ce83dd composite
.github/workflows/rust-clippy.yml actions
  • actions/checkout de0fac2e4500dabe0009e67214ff5f5447ce83dd composite
.github/workflows/ci-metrics-overhead.yml actions
  • actions/checkout de0fac2e4500dabe0009e67214ff5f5447ce83dd composite
  • actions/download-artifact 3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c composite
  • actions/setup-python a309ff8b426b58ec0e2a45f0f869d46889d02405 composite
  • actions/upload-artifact bbbca2ddaa5d8feaa63e36b76fdaad77386f024f composite
.github/workflows/docs-sync.yml actions
  • actions/checkout de0fac2e4500dabe0009e67214ff5f5447ce83dd composite
  • actions/github-script f28e40c7f34bde8b3046d885e986cb6290c5673b composite
  • actions/setup-python a309ff8b426b58ec0e2a45f0f869d46889d02405 composite
  • astral-sh/setup-uv 38f3f104447c67c051c4a08e39b64a148898af3a composite
.github/workflows/pages-deploy.yml actions
  • actions/checkout de0fac2e4500dabe0009e67214ff5f5447ce83dd composite
  • actions/configure-pages 45bfe0192ca1faeb007ade9deae92b16b8254a0d composite
  • actions/deploy-pages cd2ce8fcbc39b97be8ca5fce6e763baed58fa128 composite
  • actions/github-script f28e40c7f34bde8b3046d885e986cb6290c5673b composite
  • actions/setup-python a309ff8b426b58ec0e2a45f0f869d46889d02405 composite
  • actions/upload-pages-artifact 7b1f4a764d45c48632c6b24a0339c27f5614fb0b composite
  • astral-sh/setup-uv 38f3f104447c67c051c4a08e39b64a148898af3a composite
.github/actions/build-suews/action.yml actions
  • actions/cache 668228422ae6a00e4ad889ee87cd7109ec5666a7 composite
  • actions/setup-python a309ff8b426b58ec0e2a45f0f869d46889d02405 composite
  • actions/upload-artifact bbbca2ddaa5d8feaa63e36b76fdaad77386f024f composite
  • pypa/cibuildwheel 9c00cb4f6b517705a3794b22395aedc36257242c composite
.github/workflows/release-docs-anchor.yml actions
  • actions/checkout de0fac2e4500dabe0009e67214ff5f5447ce83dd composite
  • actions/setup-python a309ff8b426b58ec0e2a45f0f869d46889d02405 composite
  • astral-sh/setup-uv 38f3f104447c67c051c4a08e39b64a148898af3a composite
.github/workflows/schema-version-audit.yml actions
  • actions/checkout de0fac2e4500dabe0009e67214ff5f5447ce83dd composite
  • actions/setup-python a309ff8b426b58ec0e2a45f0f869d46889d02405 composite
.github/workflows/sync-agent-plugin.yml actions
  • actions/checkout de0fac2e4500dabe0009e67214ff5f5447ce83dd composite
.github/workflows/discourse-to-issue.yml actions
.github/workflows/test-api-cross-python-reusable.yml actions
  • actions/checkout de0fac2e4500dabe0009e67214ff5f5447ce83dd composite
  • actions/download-artifact 3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c composite
  • actions/setup-python a309ff8b426b58ec0e2a45f0f869d46889d02405 composite
  • actions/upload-artifact bbbca2ddaa5d8feaa63e36b76fdaad77386f024f composite
mcp/pyproject.toml pypi
  • anyio >=4
  • httpx <1.0
  • mcp >=1.2,<2
  • supy *
.github/workflows/benchmark-checkout-provenance.yml actions
  • ./.github/actions/build-suews * composite
  • actions/checkout de0fac2e4500dabe0009e67214ff5f5447ce83dd composite
  • actions/download-artifact 3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c composite
  • actions/setup-python a309ff8b426b58ec0e2a45f0f869d46889d02405 composite
  • actions/upload-artifact bbbca2ddaa5d8feaa63e36b76fdaad77386f024f composite
.github/workflows/benchmark-regression.yml actions
  • ./.github/actions/build-suews * composite
  • actions/checkout de0fac2e4500dabe0009e67214ff5f5447ce83dd composite
  • actions/setup-python a309ff8b426b58ec0e2a45f0f869d46889d02405 composite
  • actions/upload-artifact bbbca2ddaa5d8feaa63e36b76fdaad77386f024f composite
pyproject.toml pypi
  • atmosp *
  • cdsapi *
  • chardet *
  • click *
  • f90nml *
  • jsonschema *
  • lmfit *
  • matplotlib *
  • numpy >=1.22
  • packaging *
  • pandas <3; python_version < '3.13' and platform_system == 'Linux'
  • pandas python_version >= '3.13' or platform_system != 'Linux'
  • pyarrow >=22; python_version >= '3.14'
  • pyarrow >=20,<21; python_version < '3.14' and platform_system == 'Linux'
  • pyarrow >=20; python_version < '3.14' and platform_system != 'Linux'
  • pydantic >=2.12
  • pytz *
  • pyyaml *
  • rich *
  • scikit-learn *
  • scipy python_version >= '3.13' or platform_system != 'Linux'
  • scipy <1.15; python_version < '3.13' and platform_system == 'Linux'
  • seaborn *
  • tzfpy >=1.0.0
.github/workflows/build-wheels-reusable.yml actions
  • ./.github/actions/build-suews * composite
  • actions/checkout de0fac2e4500dabe0009e67214ff5f5447ce83dd composite
.github/workflows/encoding-audit.yml actions
  • actions/checkout de0fac2e4500dabe0009e67214ff5f5447ce83dd composite
  • actions/setup-python a309ff8b426b58ec0e2a45f0f869d46889d02405 composite
.github/workflows/rust-yaml-aliases-audit.yml actions
  • actions/checkout de0fac2e4500dabe0009e67214ff5f5447ce83dd composite
  • actions/setup-python a26af69be951a213d495a4c3e4e4022e16d87065 composite
.github/workflows/test-detect-changes.yml actions
  • actions/checkout de0fac2e4500dabe0009e67214ff5f5447ce83dd composite
  • dorny/paths-filter de90cc6fb38fc0963ad72b210f1f284cd68cea36 composite
.github/workflows/validate-claude-md.yml actions
  • actions/checkout de0fac2e4500dabe0009e67214ff5f5447ce83dd composite
  • actions/setup-python a309ff8b426b58ec0e2a45f0f869d46889d02405 composite
  • actions/upload-artifact bbbca2ddaa5d8feaa63e36b76fdaad77386f024f composite
.github/scripts/package.json npm
.github/workflows/tolerance-spread-reusable.yml actions
  • actions/checkout de0fac2e4500dabe0009e67214ff5f5447ce83dd composite
  • actions/download-artifact 3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c composite
  • actions/setup-python a309ff8b426b58ec0e2a45f0f869d46889d02405 composite
  • actions/upload-artifact bbbca2ddaa5d8feaa63e36b76fdaad77386f024f composite
.github/workflows/rust-test.yml actions
  • actions/checkout de0fac2e4500dabe0009e67214ff5f5447ce83dd composite
src/suews_bridge/pyproject.toml pypi
src/suews_bridge/Cargo.toml cargo
  • tempfile 3 development
  • arrow 54
  • clap 4.5
  • paste 1.0
  • pyo3 0.29
  • rayon 1.10
  • serde 1.0
  • serde_json 1.0
  • serde_yaml 0.9
  • thiserror 2.0
src/suews_bridge/Cargo.lock cargo
  • 134 dependencies

Score: 8.565983355585669