Skip to main content

Parallel Transient Simulation in Water Networks

Project description


Logo

Parallel Transient Simulation in Water Networks
Explore the docs »

View Demo · Report Bug · Request Feature

Getting Started

To get a local copy up and running follow these simple steps. PTSNET can be downloaded via pip

Installation

We highly encourage using a conda environment for the installation

  • Install conda

    # Linux
    https://docs.conda.io/projects/conda/en/latest/user-guide/install/linux.html
    
    # Windows
    https://conda.io/projects/conda/en/latest/user-guide/install/windows.html
    
  • Install the conda environment with all the necessary dependencies

    Download the environment recipe for Windows or Linux/Mac. Then cd to the location of the downloaded ptsnet.yml file. The parallel version of PTSNET can only run on Linux.

    # Open the shell and type
    conda env create -f ptsnet.yml
    conda activate ptsnet
    

Usage

Use this jupyter notebook to run useful examples of transient simulations using PTSNET. You can test the parallel version of PTSNET executing test_simulation.py as follows:

mpiexec -n 8 python test_simulation.py

For more examples, please refer to the Documentation

License

Distributed under the Unlicense License. See LICENSE for more information.

Contact

Gerardo Riano - griano@utexas.edu

Project Link: https://github.com/gandresr/PTSNET

Acknowledgements

This publication was developed under Cooperative Agreement No. 83595001 awarded by the U.S. Environmental Protection Agency to The University of Texas at Austin. It has not been formally reviewed by EPA. The views expressed in this document are solely those of the authors, and do not necessarily reflect those of the Agency. EPA does not endorse any products or commercial services mentioned in this publication. The authors acknowledge the Texas Advanced Computing Center (TACC) at The University of Texas at Austin for providing HPC resources that have contributed to the research results reported within this paper. URL: http://www.tacc.utexas.edu

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

ptsnet-0.0.19.tar.gz (593.3 kB view hashes)

Uploaded Source

Built Distribution

ptsnet-0.0.19-py3-none-any.whl (629.0 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