ImperialCollegeLondon / SWMManywhere

SWMManywhere is used to derive and simulate a sewer network anywhere in the world
https://imperialcollegelondon.github.io/SWMManywhere/
BSD 3-Clause "New" or "Revised" License
5 stars 1 forks source link
hacktoberfest hydraulic-modelling hydrology-stormwater-analysis python stormwater swmm swmm5 swmmanywhere

SWMManywhere: Synthesise Urban Drainage Network Models Anywhere in the World

PyPI version shields.io Test and build DOI codecov status

SWMManywhere is a tool to synthesise urban drainage network models (UDMs) using publicly available data such as street network, DEM, and building footprints, across the globe. It also provides tools for generating SWMM input files and performing simulations for the synthesised UDMs.

Features

Installation

Install SWMManywhere:

pip install swmmanywhere

Alternatively, it can be installed using mamba (conda or micromamba):

mamba install -c conda-forge swmmanywhere

Documentation and Quickstart

Once installed, you can simply run SWMManywhere from the command line giving a configuration file in YAML format as input. As SWMManywhere can download data automatically from well known sources, this settings file can often be minimal and restricted to indicating the geographical area to be processed:

python -m swmmanywhere --config_path=\path\to\config.yml

The result of the calculation will be a model of the sewage system for that area, like the following, which can then be further processed or analysed with SWMM, for example:

SWMM Model

Follow the Quickstart for a more detailed initial example and ReadTheDocs for full information of SWMManywhere capabilities.

Use and contributing

This project is licensed under the BSD-3-Clause licence, see LICENSE.

There are many things we would like to do! If you are interested to contribute please see CONTRIBUTING and CODE OF CONDUCT.