HYdroPowER Simulation and Optimization Toolbox
Project description
HYPER: HYdroPowER Simulation and Optimization Toolbox
Welcome to the HYPER repository! This repository contains Python code for HYPER (HYdroPowER), a comprehensive tool designed to simulate and optimize the performance of run-of-river (RoR) hydropower plants. The toolbox is built exclusively using Python and introduced in the paper by V. Yildiz and J. Vrugt, "A toolbox for the optimal design of run-of-river hydropower plants" 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
Load Input Data: Ensure you have the necessary input data files, such as b_observed.txt, containing river flow records.
Global Parameters: Modify the global_parameters.json file to suit your specific project requirements.
Run Simulation: Use Run_Simulation.py to simulate energy production based on predefined design parameters.
Run Optimization: Use Run_Optimisation.py to find the optimal design for your RoR hydropower plant.
Usage
To run a simulation: python Run_Simulation.py
To run an optimization:python Run_Optimisation.py
Install as package
To install the project as a python package:
- Download project from Github
- Navigate to Project directory with command line interface
- Create a new venv
py -m venv .venv
- Activate environment
- Windows:
.venv\Scripts\activate
- macOS / Linux:
source .venv/Scripts/activate
- Windows:
- Install package:
py -m pip install .
- If you are developing on the package you may wish to do an editable install:
py -m pip install -e .
- If you are developing on the package you may wish to do an editable install:
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 paper by V. Yildiz and J. Vrugt, "A toolbox for the optimal design of run-of-river hydropower plants," published in Environmental Modelling & Software.
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
Hashes for hyper_ford-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3ac980ba72a46576064481b9d76a967985c6b6100b0640024a16d5c43d0163ea |
|
MD5 | d68db023a3f3d402fa157a2bc5128f8f |
|
BLAKE2b-256 | 2567fb1b91defb335218dfc260c8c74c35ab231129689c81fa835689b2230255 |