Skip to main content

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

Project description

PyPI version 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:

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

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.5.tar.gz (533.3 kB view hashes)

Uploaded Source

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