Skip to main content

Perfluoroalkyl Substances Systems Analysis Tool Input Data (PFAS_SAT_InputData)

Project description

https://img.shields.io/pypi/v/PFAS_SAT_InputData.svg Supported Python Versions License Format

Objectives

  • The objective of this project was to develop a comprehensive systems analysis tool (SAT) to estimate PFAS release associated with management alternatives for a wide range of PFAS-containing wastes.

DISCLAIMER

This is an early version of a model that is intended to illustrate the concept of a systems analysis tool for PFAS management. It has not yet been published or otherwise peer reviewed. The information basis for this tool, and the tool itself, are subject to significant revisions over time.

Installation

You should install Python (3.7 or newer) and Graphviz before installing the PFAS_SAT. We recommend to use miniconda and create a new environment for the PFAS_SAT but it’s not required. Here are PFAS_SAT dependencies: (These packages are available on PyPI).

  1. PySide2: Used for creating the user interface.

  2. stats-arrays: Used for defining uncertainty distributions.

  3. plotly: Used for plotting Sankey diagrams.

  4. matplotlib: Used for data visualization.

  5. graphviz: Used for plotting the Network.

  6. pandas: Used for storing data in tables and manipulating them.

  7. jupyter: Used as a command-line interface.

Here are the instructions to install PFAS_SAT with miniconda:

1- Download and install miniconda from: https://docs.conda.io/en/latest/miniconda.html

2- Update conda in a terminal window or anaconda prompt:

conda update conda

3- Create a new environment for PFAS_SAT:

conda create --name PFAS_SAT python=3.7 graphviz

4- Activate the environment (Windows users):

conda activate PFAS_SAT

Note: If you are using Linux or macOS:

source activate PFAS_SAT

5- Install PFAS_SAT in the environment:

pip install PFAS_SAT

6- Only for Windows user (If you are using Linux or macOS, go to the next step). Make sure that bin/ subdirectory of Graphviz which contains the layout commands for rendering graph descriptions (dot) is on your system path: On the command-line, dot -V should print the version of your Graphviz.

7- Open python to run PFAS_SAT:

python

8- Run PFAS_SAT in python:

import PFAS_SAT_InputData as ps
ps.PFAS_SAT()

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

PFAS_SAT_InputData-0.0.4.tar.gz (15.9 kB view hashes)

Uploaded Source

Built Distribution

PFAS_SAT_InputData-0.0.4-py3-none-any.whl (53.2 kB view hashes)

Uploaded Python 3

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