https://github.com/PREP-NexT/PREP-SHOT
Pathways for Renewable Energy Planning coupling Short-term Hydropower OperaTion
https://github.com/PREP-NexT/PREP-SHOT
hydropower renewable-energy reservoir-modeling
Last synced: 5 months ago
JSON representation
Pathways for Renewable Energy Planning coupling Short-term Hydropower OperaTion
- Host: GitHub
- URL: https://github.com/PREP-NexT/PREP-SHOT
- Owner: PREP-NexT
- License: gpl-3.0
- Created: 2022-05-29T12:03:21.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2024-01-14T03:09:19.000Z (over 1 year ago)
- Last Synced: 2024-06-06T02:31:43.659Z (11 months ago)
- Topics: hydropower, renewable-energy, reservoir-modeling
- Language: Python
- Homepage: https://prep-next.github.io/PREP-SHOT/
- Size: 18.9 MB
- Stars: 137
- Watchers: 3
- Forks: 12
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- open-sustainable-technology - PREP-SHOT - A transparent, modular, and open-source Energy Capacity Expansion Model. (Energy Systems / Energy System Modeling Frameworks)
README
Overview |
Features |
Quick Start |
Contribute |
Roadmap |
Citation## Overview
**PREP-SHOT** (**P**athways for **R**enewable **E**nergy **P**lanning coupling **S**hort-term **H**ydropower **O**pera**T**ion) is a transparent, modular, and open-source energy expansion model, offering advanced solutions for multi-scale, intertemporal, and cost-effective expansion of energy systems and transmission lines. It's developed by [Zhanwei Liu](https://www.researchgate.net/profile/Zhanwei-Liu-4) and [Xiaogang He](http://hydro.iis.u-tokyo.ac.jp/~hexg/) from the [PREP-NexT](https://github.com/PREP-NexT) Lab at the [National University of Singapore](https://nus.edu.sg/).
For more information, please visit the [Official Documentation](https://prep-next.github.io/PREP-SHOT/).
This project is licensed under the [GNU General Public License 3.0](https://github.com/PREP-NexT/PREP-SHOT/blob/main/LICENSE).
## Why the Name?
The clean energy transition is our new moonshot to combat climate change – an ambitious 'shot' yet achievable. We're up to the challenge, which is why we developed PREP-SHOT to prepare us for this long shot.
## Key Features
- Optimization model based on linear programming for multi-zone energy systems.
- Cost minimization while meeting given demand time series.
- Adjustable operation on hourly-spaced time steps.
- Input data in Excel format and output data in ``NetCDF`` format using [Xarray](https://docs.xarray.dev/en/stable/).
- Support for multiple solvers like [HiGHS](https://github.com/jump-dev/HiGHS.jl) , [GUROBI](https://www.gurobi.com/), [COPT](https://www.copt.de/), and [MOSEK](https://www.mosek.com/) via [PyOptInterface](https://github.com/metab0t/PyOptInterface).
- Allows input of multiple scenarios for specific parameters.
- A pure Python program, leveraging [pandas](https://pandas.pydata.org/) and [Xarray](https://docs.xarray.dev/en/stable/) for simplified complex data analysis and extensibility.## Getting Started
This section includes a brief tutorial on running your first PREP-SHOT model.
1. Clone the repo
```bash
git clone https://github.com/PREP-NexT/PREP-SHOT.git
```2. Install the dependencies
```bash
cd PREP-SHOT
conda create -n prep-shot python=3.8
conda activate prep-shot
pip install -r requirements.txt
```3. Run your first model
```bash
python run.py
```This example is inspired by real-world data. For a detailed elaboration of this tutorial, check out the [Tutorial Page](https://prep-next.github.io/PREP-SHOT/Tutorial.html) in our documentation.
By default, PREP-SHOT uses open-source [HiGHS](https://github.com/jump-dev/HiGHS.jl) solver. Solver-specific parameters are specified in the ``config.json`` file, which should be located in the current working directory. Additionaly, we provide the option to use one of the following three commercial solvers:
+ [Gurobi](https://www.gurobi.com/)
+ [COPT](https://www.copt.de/)
+ [MOSEK](https://www.mosek.com/)## How to Contribute
To contribute to this project, please read our [Contributing Guidelines](https://prep-next.github.io/PREP-SHOT/Changelog.html#contributing-to-prep-shot).
## Citation
If you use PREP-SHOT in a scientific publication, we would appreciate citations. You can use the following BibTeX entry:
```bibtex
@article{liu2023,
title = {Balancing-oriented hydropower operation makes the clean energy transition more affordable and simultaneously boosts water security},
author = {Liu, Zhanwei and He, Xiaogang},
journal = {Nature Water},
volume = {1},
pages = {778--789},
year = {2023},
doi = {10.1038/s44221-023-00126-0},
}
```## Contact Us
If you have any questions, comments, or suggestions that aren't suitable for public discussions in the Issues section, please feel free to reach out to [Zhanwei Liu](mailto:[email protected]).
Please use the GitHub Issues for public discussions related to bugs, enhancements, or other project-related discussions.
## Roadmap
- [x] `Benders` decomposition-based fast solution framework
- [x] [`PyOptInterface`](https://github.com/metab0t/PyOptInterface)-based low-memory and fast modelling engine
- [x] Support for input of cost–supply curves of technologies
- [ ] Support for expanding conventional hydropower plants
- [ ] Support for refurbishing conventional hydropower plants to pumped-storage schemes
- [ ] Support for refurbishing carbon-emission plants to carbon capture and storage (CCS) schemes## Disclaimer
The PREP-SHOT model is an academic project and is not intended to be used as a precise prediction tool for specific hydropower operations or energy planning. The developers will not be held liable for any decisions made based on the use of this model. We recommend applying it in conjunction with expert judgment and other modeling tools in a decision-making context.
---
## Repo Activity
## Star History
[](https://star-history.com/#PREP-NexT/PREP-SHOT&Date)