Skip to main content

Quantitative Sustainable Design for sanitation and resource recovery systems

Project description

https://img.shields.io/pypi/l/qsdsan?color=blue&logo=UIUC&style=flat https://img.shields.io/pypi/pyversions/qsdsan?style=flat https://img.shields.io/pypi/v/qsdsan?style=flat&color=blue https://zenodo.org/badge/doi/10.5281/zenodo.20256569.svg https://img.shields.io/badge/qsdsan--paper-10.1039%2Fd2ew00455k-blue?style=flat https://readthedocs.org/projects/qsdsan/badge/?version=latest https://github.com/QSD-Group/QSDsan/actions/workflows/build-coverage.yml/badge.svg?branch=main https://codecov.io/gh/QSD-Group/QSDsan/branch/main/graph/badge.svg?token=Z1CASBXEOE ./docs/source/images/custom_binder_logo.svg https://img.shields.io/endpoint?color=%23ff0000&label=YouTube%20@qsd-group&url=https%3A%2F%2Fyoutube-channel-badge-blond.vercel.app%2Fapi%2Fvideos


What is QSDsan?

QSDsan is an open-source, community-led platform for the quantitative sustainable design (QSD) [1] of sanitation and resource recovery systems [2]. Built in Python, it integrates process modeling, system simulation, techno-economic analysis (TEA), and life cycle assessment (LCA) to support transparent, reproducible, and comprehensive evaluation of emerging technologies. Leveraging BioSTEAM [3], the platform provides modular and extensible tools to compare treatment configurations, evaluate resource recovery opportunities, and assess energy, cost, and sustainability tradeoffs. These capabilities support the research, development, and deployment (RD&D) of early-stage technologies for advancing sustainable water management and circular resource recovery.

All systems developed with QSDsan are included in the package EXPOsan - exposition of sanitation and resource recovery systems.

Installation

QSDsan requires Python 3.12 or newer. The easiest way to install QSDsan is through pip in a command-line interface (e.g., terminal, PowerShell, etc.):

pip install qsdsan

To upgrade an existing installation:

pip install -U qsdsan

To install a specific version, replace X.X.X with the version number:

pip install qsdsan==X.X.X

To install the latest GitHub version from the main branch:

pip install git+https://github.com/QSD-Group/QSDsan.git

To install from another fork and/or branch, replace <USERNAME_OF_THE_FORK> and <BRANCH_NAME>:

pip install git+https://github.com/<USERNAME_OF_THE_FORK>/QSDsan.git@<BRANCH_NAME>

You can also download the package from PyPI.

For diagram generation, QSDsan uses Graphviz. If diagrams fail to render, install Graphviz following the official Graphviz download instructions and see the FAQ for a quick check.

If you want to contribute to QSDsan, please follow the steps in the Contributing Guidelines to clone the repository and install it in editable mode.

Documentation

You can find tutorials and documents at:

https://qsdsan.readthedocs.io

All tutorials are written using Jupyter Notebook, you can run your own Jupyter environment, or you can click the launch binder badge on the top to launch the environment in your browser.

For each of these tutorials, we are also recording videos where one of the QSD group members will go through the tutorial step-by-step. We are gradually releasing these videos on our YouTube channel so subscribe to receive updates!

About the Authors

QSDsan is developed and maintained by the Quantitative Sustainable Design Group and the broader community. Please refer to the GitHub contributors for the latest record of contributions.

Contributing

Please refer to the Contributing Guidelines section of the documentation for instructions and guidelines.

License Information

Please refer to the LICENSE.txt for information on the terms & conditions for usage of this software, and a DISCLAIMER OF ALL WARRANTIES.

References

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 Distribution

qsdsan-1.5.0.tar.gz (630.8 kB view details)

Uploaded Source

Built Distribution

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

qsdsan-1.5.0-py3-none-any.whl (697.6 kB view details)

Uploaded Python 3

File details

Details for the file qsdsan-1.5.0.tar.gz.

File metadata

  • Download URL: qsdsan-1.5.0.tar.gz
  • Upload date:
  • Size: 630.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for qsdsan-1.5.0.tar.gz
Algorithm Hash digest
SHA256 a515ee1dfcb964494871c1fc230d66626a90b212f0a63fa0c523c10b8d38c0be
MD5 01d127585fb77c5984b6d2fd6211110a
BLAKE2b-256 d730a1fe0452b1016f3d8d73b5c88253b7b5d9885e33dc24bea28e5464d67c26

See more details on using hashes here.

Provenance

The following attestation bundles were made for qsdsan-1.5.0.tar.gz:

Publisher: release.yml on QSD-Group/QSDsan

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file qsdsan-1.5.0-py3-none-any.whl.

File metadata

  • Download URL: qsdsan-1.5.0-py3-none-any.whl
  • Upload date:
  • Size: 697.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for qsdsan-1.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 532cd13e213603b409d72e90437078246f06b6e40bb3762c9b328d7ebdf42545
MD5 e2c181a97f5543af3f6818ac81f9e177
BLAKE2b-256 3f8e7bd4f00c2f46a4af93ad41331a04ac5492d4035573ad5af450b4c2b95423

See more details on using hashes here.

Provenance

The following attestation bundles were made for qsdsan-1.5.0-py3-none-any.whl:

Publisher: release.yml on QSD-Group/QSDsan

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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