Skip to main content

WSIMOD is for simulating water quality and quantity

Project description

Welcome to WSIMOD

WSIMOD stands for the Water Systems Integrated Modelling framework.

The terrestrial water cycle is a highly interconnected system where the movement of water is affected by physical and human processes. Thus, environmental models may become inaccurate if they do not provide a complete picture of the water cycle, missing out on unexpected opportunities and omitting impacts that arise from complex interactions. WSIMOD is a modelling framework to integrate these different processes. It provides a message passing interface to enable different subsystem models to communicate water flux and water quality information between each other, and self-contained representations of the key parts of the water cycle (rivers, reservoirs, urban and rural hydrological catchments, treatment plants, and pipe networks). We created WSIMOD to enable a user greater flexibility in setting up their water cycle models, motivated by the abundance of non-textbook water systems that we have experienced in industry collaboration. The WSIMOD Python package provides tutorials and examples to help modellers create nodes, connect them with arcs, and create simulations.

You can access our documentation below or at https://imperialcollegelondon.github.io/wsi.

Requires: Python 3 (tested on versions >=3.7), tqdm, PyYAML, dill

Optional requirements to run demos: Pandas, GeoPandas, Matplotlib, Shapely

Please consider contributing and note the code of conduct

If you use WSIMOD, please make sure to cite.

Table Of Contents

The documentation follows the best practice for project documentation as described by Daniele Procida in the Diátaxis documentation framework and consists of:

  1. About

  2. Installation

  3. Tutorials

  4. How-To Guides

  5. Component library

  6. API reference

  7. Quickstart

  8. Coverage

Installation

Install WSIMOD directly from GitHub

pip install https://github.com/ImperialCollegeLondon/wsi/archive/refs/heads/main.zip

Use [demos] to include the demos and tutorials.

pip install https://github.com/ImperialCollegeLondon/wsi/archive/refs/heads/main.zip
pip install wsimod[demos]

If you want to make changes to WSIMOD you can download/clone this folder, navigate to it, and run:

pip install -e .[dev]

or (with demos)

pip install -e .[dev,demos]

How to cite WSIMOD

DOI

If you would like to use our software, please cite it using the following:

Dobson, B., Liu, L. and Mijic, A. (2023) ‘Water Systems Integrated Modelling framework, WSIMOD: A Python package for integrated modelling of water quality and quantity across the water cycle’, Journal of Open Source Software. The Open Journal, 8(83), p. 4996. doi: 10.21105/joss.04996.

Find the bibtex citation below:

@article{Dobson2023,
        doi = {10.21105/joss.04996},
        url = {https://doi.org/10.21105/joss.04996},
        year = {2023},
        publisher = {The Open Journal},
        volume = {8},
        number = {83},
        pages = {4996},
        author = {Barnaby Dobson and Leyang Liu and Ana Mijic},
        title = {Water Systems Integrated Modelling framework, WSIMOD: A Python package for integrated modelling of water quality and quantity across the water cycle},
        journal = {Journal of Open Source Software}
        }

Acknowledgements

WSIMOD was developed by Barnaby Dobson and Leyang Liu. Theoretical support was provided by Ana Mijic. Testing the WSIMOD over a variety of applications has been performed by Fangjun Peng, Vladimir Krivstov and Samer Muhandes. Software development support was provided by Imperial College's Research Software Engineering service, in particular from Diego Alonso and Dan Davies.

We are incredibly grateful for the detailed software reviews provided by Taher Chegini and Joshua Larsen and editing by Chris Vernon. Their suggestions have significantly improved WSIMOD.

The design of WSIMOD was significantly influenced by CityDrain3, OpenMI, Belete, Voinov and Laniak, (2017), and smif.

We acknowledge funding from the CAMELLIA project (Community Water Management for a Liveable London), funded by the Natural Environment Research Council (NERC) under grant NE/S003495/1.

Project details


Download files

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

Source Distribution

wsimod-0.4.0.tar.gz (5.7 MB view details)

Uploaded Source

Built Distribution

wsimod-0.4.0-py3-none-any.whl (5.8 MB view details)

Uploaded Python 3

File details

Details for the file wsimod-0.4.0.tar.gz.

File metadata

  • Download URL: wsimod-0.4.0.tar.gz
  • Upload date:
  • Size: 5.7 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/4.0.2 CPython/3.11.7

File hashes

Hashes for wsimod-0.4.0.tar.gz
Algorithm Hash digest
SHA256 a2696f2ec4fca4ae383f6136be1441bdb95abe74faa775bb63dc4016ba8646e1
MD5 7f489dba5036e948973c6335c1c2ce1a
BLAKE2b-256 9fab08c829003a01fd896efe4d4fee5923185a10ab5fa60f8b867c758b964260

See more details on using hashes here.

File details

Details for the file wsimod-0.4.0-py3-none-any.whl.

File metadata

  • Download URL: wsimod-0.4.0-py3-none-any.whl
  • Upload date:
  • Size: 5.8 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/4.0.2 CPython/3.11.7

File hashes

Hashes for wsimod-0.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ffc4ce610406dbfd85f80138e7b01c31a80e779d1bc96c40686699ed5f299faa
MD5 007cf08fbd287aa0cbfea81439ec48bf
BLAKE2b-256 944bb663faee61e134fc9ade1e864cb6ef4ffd8ea6eceb43ee3bf2de30e24535

See more details on using hashes here.

Supported by

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