Skip to main content

The SUEWS model that speaks Python

Project description

SUEWS

Surface Urban Energy and Water Balance Scheme

PyPI Documentation License: MPL-2.0 CI DOI


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

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

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

supy-2026.4.3rc1-cp312-cp312-win_amd64.whl (12.7 MB view details)

Uploaded CPython 3.12Windows x86-64

supy-2026.4.3rc1-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.whl (8.7 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.17+ x86-64

supy-2026.4.3rc1-cp312-cp312-macosx_15_0_x86_64.whl (8.6 MB view details)

Uploaded CPython 3.12macOS 15.0+ x86-64

supy-2026.4.3rc1-cp312-cp312-macosx_15_0_arm64.whl (7.4 MB view details)

Uploaded CPython 3.12macOS 15.0+ ARM64

File details

Details for the file supy-2026.4.3rc1-cp312-cp312-win_amd64.whl.

File metadata

  • Download URL: supy-2026.4.3rc1-cp312-cp312-win_amd64.whl
  • Upload date:
  • Size: 12.7 MB
  • Tags: CPython 3.12, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.0.0 CPython/3.12.13

File hashes

Hashes for supy-2026.4.3rc1-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 d442918c869ecd6f01e14a4bdb3e1d514fb6dc5139f727c636e952526a0af0fc
MD5 9ade31ad5524c90812bd4b53783387d7
BLAKE2b-256 f1cf55f29ad6892daafe2b2f02720f0239c4872b4301a8126dd78db316a3f2ee

See more details on using hashes here.

File details

Details for the file supy-2026.4.3rc1-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.whl.

File metadata

File hashes

Hashes for supy-2026.4.3rc1-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
Algorithm Hash digest
SHA256 8996b9c13207163908f788483f2421b92f2b962583459e1570cd3bf7c1e7bf89
MD5 0eea9aa98b708a9181dd1a73c1f6f502
BLAKE2b-256 0c8a63a23295d8f76d729fb920fd56fc974c80c511bdebf8670c0b63ce201831

See more details on using hashes here.

File details

Details for the file supy-2026.4.3rc1-cp312-cp312-macosx_15_0_x86_64.whl.

File metadata

File hashes

Hashes for supy-2026.4.3rc1-cp312-cp312-macosx_15_0_x86_64.whl
Algorithm Hash digest
SHA256 1432eaf6fbc0043a64bd1369a6a5de0e382cf3f4682a4eff5d4e904197ff0875
MD5 d36445bdc2c9ee149cd98c3fe5a710ff
BLAKE2b-256 847b92ec7d22d86aba5dca3a07981a1008842f919298077374bfc06b89150682

See more details on using hashes here.

File details

Details for the file supy-2026.4.3rc1-cp312-cp312-macosx_15_0_arm64.whl.

File metadata

File hashes

Hashes for supy-2026.4.3rc1-cp312-cp312-macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 58c1be8f45fe0275b3b6a3002b5d39ba1927c0b0b15ddc7c4d055c1171fee3c6
MD5 514e055bf1e4f7fdade41b7eb8865997
BLAKE2b-256 1613e99a57feaca3ed48764dc0077940ff7edff54717bd9113312a4091ad5c1d

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page