HYdroPowER Simulation and Optimization Toolbox
Project description
HYPER: HYdroPowER Simulation and Optimization Toolbox
Welcome to the HYPER repository! This repository hosts Python code for HYPER (HYdroPowER), an advanced tool crafted to simulate and optimize the performance of run-of-river (RoR) hydropower plants. Built entirely in Python, this toolbox represents an evolution of an earlier version introduced in the paper by V. Yildiz and J. Vrugt, titled "A toolbox for the optimal design of run-of-river hydropower plants," which was published in Environmental Modelling & Software.
Overview
HYPER uses a daily time step to simulate various aspects of RoR hydropower plants, including: Technical performance Energy production Maintenance and operational costs Economic profit
The toolbox accounts for different design and construction variables and utilizes historical river flow records. It also includes an evolutionary algorithm to optimize various design parameters, such as: Penstock diameter Turbine type (Kaplan, Francis, Pelton) Turbine design flow Turbine configuration (single or multiple)
Additionally, HYPER allows for the simulation of predefined designs.
Contents
global_parameters.json: Contains global parameters for both optimization and simulation.
Run_Simulation.py: Main script to simulate energy production based on predefined design parameters.
sim_energy_functions.py: Includes functions for daily power production and objective functions for single and multiple operation modes in simulations.
model_functions.py: Contains all required sub-functions for the simulation and optimization processes.
Run_Optimisation.py: Main script to optimize the design of an RoR project.
opt_energy_functions.py: Includes functions for daily power production and objective functions for single and multiple operation modes in optimization.
Getting Started
Prerequisites
-
Project Folder: Create a project folder on your desktop.
- Example:
HYPER_Project
- Example:
-
Input Data: Inside the project folder, create a subfolder named
inputand place the necessary input data files there.- Example:
HYPER_Project/input/b_observed.txt(containing river flow records)
- Example:
-
Global Parameters: Modify the
global_parameters.jsonfile to suit your specific project requirements.
Installation
To install the HYPER package:
- Navigate to the project directory in your command line interface.
- Create a virtual environment:
- Windows:
py -m venv .venv - macOS / Linux:
python3 -m venv .venv
- Windows:
- Activate the virtual environment:
- Windows:
.venv\Scripts\activate - macOS / Linux:
source .venv/bin/activate
- Windows:
- Install the package:
py -m pip install .- For editable install:
py -m pip install -e .
Usage
Single Objective Optimization
To run a single objective optimization from the command line:
py run-SO-opt
Multi Objective Optimization
To run a multi-objective optimization from the command line:
py run-MO-opt
If you are developing on the package you may wish to do an editable install: py -m pip install -e .
License
This project is licensed under the MIT License - see the LICENSE file for details.
Acknowledgments
The development of this toolbox was introduced in the following papers:
V. Yildiz and J. Vrugt, "A toolbox for the optimal design of run-of-river hydropower plants," published in Environmental Modelling & Software. V. Yildiz, S. Brown, and C. Rouge, "Robust and Computationally Efficient Design for Run-of-River Hydropower," submitted to Environmental Modelling & Software. These papers laid the foundation for the methodologies and algorithms implemented in this HYPER toolbox.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file hyper_ford-0.0.2.tar.gz.
File metadata
- Download URL: hyper_ford-0.0.2.tar.gz
- Upload date:
- Size: 19.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.0 CPython/3.12.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1141c6cb2727bd77cae5a37acbfc4ac697cda0ede3eede2460976301e3bd0573
|
|
| MD5 |
f80bed9928f24f6152b73c4c35dc51f6
|
|
| BLAKE2b-256 |
6540acb9f86a5b6fc30acd834a7035bbcaebffea8d5b5efd08efa182f34c1422
|
File details
Details for the file hyper_ford-0.0.2-py3-none-any.whl.
File metadata
- Download URL: hyper_ford-0.0.2-py3-none-any.whl
- Upload date:
- Size: 34.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.0 CPython/3.12.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
aa464d87e15be332ef826486760f6696182c1ba460ad3f88195fc025f41147ee
|
|
| MD5 |
0e01f33025e07350c2e539849977b2fd
|
|
| BLAKE2b-256 |
6f1c3332cb47a8f186b9ddae47d9f7f90d373925faea1f2aaf4c9c4997b1aa78
|