Skip to main content

Software for predicting the brine concentrations and scaling quantities after RO desalination.

Project description

PyPI version DOI link Actions Status Downloads Documentation Status License

Reverse Osmosis Scaling Software in Python (ROSSpy) offers an open-source API to simulate the reactive transport geochemistry of Reverse Osmosis desalination. ROSSpy essentially translates user specifications of an RO system into PHREEQpy, which is the Python version of PHREEQC. The examples/scaling/scaling_validation directory of the ROSSpy GitHub details the numerous functions and accuracy of ROSSPy via Notebook examples. We encourage users and developers to critique and improve ROSSpy, as an open-source (MIT License) library, through GitHub issues.

The complete documentation is provided by ReadTheDocs.

Installation

ROSSpy is installed in a command prompt, Powershell, Terminal, or Anaconda Command Prompt via pip:

pip install rosspy

The IPHREEQC module must then be installed, since this is the source of geochemical calculations and data for ROSSpy. The appropriate version of IPHREEQC can be installed from the USGS .

Linux installation may require addition steps (Ubuntu < 20 is currently unsupported):

wget https://water.usgs.gov/water-resources/software/PHREEQC/iphreeqc-3.7.3-15968.tar.gz
tar -xzvf iphreeqc-3.7.3-15968.tar.gz
cd iphreeqc-3.7.3-15968
./configure
make
make check
sudo make install
pip show phreeqpy
sudo cp /usr/local/lib/libiphreeqc.so  /path/to/site-packages/phreeqpy/iphreeqc/libiphreeqc.so.0.0.0

Citation

Please cite this work:

Freiburger, Andrew P. and Molins, Sergi and Buckley, Heather L., A One-Dimensional Reactive Transport Model of Geochemical Scaling in Reverse Osmosis Desalination. http://dx.doi.org/10.2139/ssrn.4124149

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

ROSSpy-0.1.7.tar.gz (533.8 kB view details)

Uploaded Source

File details

Details for the file ROSSpy-0.1.7.tar.gz.

File metadata

  • Download URL: ROSSpy-0.1.7.tar.gz
  • Upload date:
  • Size: 533.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.9.12

File hashes

Hashes for ROSSpy-0.1.7.tar.gz
Algorithm Hash digest
SHA256 13ea828c48f3df408d80879523697e53b72345b0450cc5d892ef04a4b51200ee
MD5 7ae2fb3605de9b4eee32b32a0f42659e
BLAKE2b-256 dd48c7a3a9187d6cb3d43be7eb4958cb08f74fa0c297deb10f6a6a3b8fab88b0

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