Skip to content

watertap-org/watertap-reflo

Repository files navigation

WaterTAP-REFLO

Renewable Energy and Flexible Load Optimization

Welcome to the code repository for WaterTAP-REFLO! WaterTAP-REFLO is an extension of the WaterTAP package.

GitHub issues GitHub pull requests

Documentation

See the full WaterTAP-REFLO documentation for more information.

Getting Started

WaterTAP-REFLO supports Python versions 3.9 through 3.11.

Prerequisites

  • The conda package and environment manager, for example by using the Miniconda installer following the steps appropriate for your operating system

Installation

To install WaterTAP-REFLO, run:

conda create --yes --name watertap-reflo python=3.10 && conda activate watertap-reflo
pip install watertap-reflo

To install WaterTAP-REFLO for development, run:

git clone https://github.com/watertap-org/watertap-reflo && cd watertap-reflo
conda create --yes --name watertap-reflo python=3.10 && conda activate watertap-reflo
pip install -r requirements-dev.txt

Running tests

conda activate watertap-reflo
pytest --pyargs watertap_contrib.reflo

Formatting code

Before committing, the Python code must be formatted with Black.

Black is installed by default as part of the developer dependencies. To format the code, run the following command from the local repository root directory:

conda activate watertap-reflo
black .

About

WaterTAP-REFLO repository for development of renewable energy-driven desalination models.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 10

Languages