PowNet 2.0
PowNet 2.0: A production cost modeling framework for large-scale power systems - Published in JOSS (2025)
https://github.com/critical-infrastructure-systems-lab/pownet
Science Score: 98.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
✓codemeta.json file
Found codemeta.json file -
✓.zenodo.json file
Found .zenodo.json file -
✓DOI references
Found 5 DOI reference(s) in README and JOSS metadata -
✓Academic publication links
Links to: joss.theoj.org -
✓Committers with academic emails
4 of 9 committers (44.4%) from academic institutions -
✓Institutional organization owner
Organization critical-infrastructure-systems-lab has institutional domain (people.sutd.edu.sg) -
✓JOSS paper metadata
Published in Journal of Open Source Software
Keywords
Repository
PowNet: Network-constrained Unit Commitment / Economic Dispatch model in Python
Basic Info
Statistics
- Stars: 88
- Watchers: 12
- Forks: 28
- Open Issues: 0
- Releases: 7
Topics
Metadata Files
README.md
PowNet: A Production Cost Modeling Framework for Large-scale Power Systems
PowNet is an open-source production cost model (PCM) framework written in Python, designed to simulate the operational scheduling of large-scale (regional or national) power systems. It determines the least-cost schedule for power generation by solving the unit commitment (UC) and economic dispatch (ED) problems – a process commonly used for applications like day-ahead market simulation. Designed for users focused on power system analysis rather than complex model development, PowNet uses simple spreadsheet files for data inputs, significantly simplifying model setup and modification. As for advanced users, the framework's modular design provides modeling flexibility to implement customized analysis or explore complex modeling algorithms.
Key functionalities
- Models power systems including generator techno-economic constraints and network limits
- Uses computationally efficient linearized DC power flow for network analysis
- Supports variable renewable energy (VRE) sources, such as hydro, wind, and solar
- Built for computational speed using the high-performance Gurobipy modeling framework with support for the open-source HiGHS solver
- Includes features allowing the analysis of water-energy nexus impacts (e.g., drought effects on thermal units)
PowNet enables analysts to readily study grid operations, VRE integration, and water-energy interactions in a low-code environment. For advanced users, it retains the flexibility needed to explore complex model configurations and research modeling algorithms.
Read the Documentation for more information at https://pownet.readthedocs.io/en/latest.
Using PowNet
To use PowNet, a user needs to supply it with CSV files. For guidance on creating these CSV files, please see examples provided here. Please ensure that column names matches with those from the examples. Details on preparing some input files can be found here.
As for installing PowNet, there are multiple options depending on whether we want to modify the source code. However, the following step is highly recommended for any user: creating a virtual environment to manage dependencies. If using Conda, we can create an envrionment with the following command
conda create --name your_env_name_here
conda activate your_env_name_here
If deciding on a name for the environment takes too long, please feel free to name the environment as "pownet".
Option 1: Regular user
A regular user is someone who has created their input files and wish to just run PowNet. In this case, it is best to simply install PowNet as a package from PyPI. We can achieve this with the following command:
pip install pownet
Once the package has been installed, we can now go to our working directory. In this example, we assume the following folder structure:
working_directory/
├── scripts/
│ └── run_quickstart.py
├── model_library/
│ └── dummy/
│ ├── demand_export.csv
│ ├── thermal_unit.csv
│ ├── nondispatch_unit.csv
│ ├── hydropower.csv
│ ├── import.csv
│ ├── contract_cost.csv
│ └── transmission.csv
└── outputs/
A tutorial "quickstart.py" provides an example on running a simulation, saving the simulation outputs, and visualizing the outputs.
Option 2: Power user (no pun intended)
In case we wish to modify the source code, PowNet should be installed as an editable package. First, download or clone the PowNet repository to your local machine. For example: if we want to clone to "C://user/pownet",
git clone https://github.com/your-username/pownet.git C://user/pownet
Next, open a terminal and navigate to the directory where we cloned the repository:
cd C://user/pownet
Now, we can install this PowNet package using pip, which is a manager for Python packages:
pip install -e .
This command installs the package in "editable" mode (-e) using pyproject.toml that is located in the root directory of PowNet. The editable mode allows us to edit PowNet codebase when we need to modify or implement new features. The pyproject.toml file specifies the dependencies required to run PowNet.
Overview of PowNet

Citing this software
If you use PowNet 2.0 in your work, please cite the following JOSS article:
@article{
Bunnak2025,
title = {PowNet 2.0: A production cost modeling framework for large-scale power systems},
author = {Bunnak, Phumthep and Eldardiry, Hisham and Pavičević, Matija and Feng, Jerry Zhuoer and Galelli, Stefano},
year = {2025},
publisher = {The Open Journal},
volume = {10},
number = {111},
pages = {8035},
journal = {Journal of Open Source Software}
doi = {10.21105/joss.08035},
url = {https://doi.org/10.21105/joss.08035},
}
Owner
- Name: CRITICAL Infrastructure Systems Lab
- Login: Critical-Infrastructure-Systems-Lab
- Kind: organization
- Email: stefano_galelli@sutd.edu.sg
- Location: Singapore
- Website: https://people.sutd.edu.sg/~stefano_galelli/
- Twitter: GalelliStefano
- Repositories: 1
- Profile: https://github.com/Critical-Infrastructure-Systems-Lab
Connecting climate | water | energy
JOSS Publication
PowNet 2.0: A production cost modeling framework for large-scale power systems
Authors
Tags
mathematical optimization unit commitment problem sensitivity analysisGitHub Events
Total
- Create event: 7
- Release event: 3
- Issues event: 10
- Watch event: 18
- Delete event: 3
- Issue comment event: 10
- Push event: 155
- Pull request review comment event: 1
- Pull request review event: 2
- Pull request event: 2
- Fork event: 2
Last Year
- Create event: 7
- Release event: 3
- Issues event: 10
- Watch event: 18
- Delete event: 3
- Issue comment event: 10
- Push event: 155
- Pull request review comment event: 1
- Pull request review event: 2
- Pull request event: 2
- Fork event: 2
Committers
Last synced: 5 months ago
Top Committers
| Name | Commits | |
|---|---|---|
| Dae | 6****p | 553 |
| AFM Kamal Chowdhury | a****y@u****u | 65 |
| ngjiayi93 | n****3@h****m | 28 |
| Hisham Eldardiry | 3****y | 23 |
| Stefano Galelli | g****i@c****u | 8 |
| Jerry Zhuoer Feng | z****5@c****u | 4 |
| stefano-galelli | s****i@s****g | 2 |
| Matija Pavičević | m****c@g****m | 1 |
| Greg Thomsen | g****n@g****m | 1 |
Committer Domains (Top 20 + Academic)
Issues and Pull Requests
Last synced: 4 months ago
All Time
- Total issues: 7
- Total pull requests: 3
- Average time to close issues: about 2 months
- Average time to close pull requests: about 9 hours
- Total issue authors: 3
- Total pull request authors: 3
- Average comments per issue: 0.86
- Average comments per pull request: 0.67
- Merged pull requests: 3
- Bot issues: 0
- Bot pull requests: 0
Past Year
- Issues: 4
- Pull requests: 2
- Average time to close issues: 11 days
- Average time to close pull requests: about 1 hour
- Issue authors: 2
- Pull request authors: 2
- Average comments per issue: 0.75
- Average comments per pull request: 0.0
- Merged pull requests: 2
- Bot issues: 0
- Bot pull requests: 0
Top Authors
Issue Authors
- phumthep (3)
- ijbd (3)
- AdamRJensen (1)
Pull Request Authors
- gthomsen (2)
- HishamEldardiry (2)
- Jerry-Zhuoer-Feng (1)
Top Labels
Issue Labels
Pull Request Labels
Packages
- Total packages: 1
-
Total downloads:
- pypi 23 last-month
- Total dependent packages: 0
- Total dependent repositories: 0
- Total versions: 2
- Total maintainers: 1
pypi.org: pownet
A simple production cost model of framework for power systems
- Homepage: https://github.com/Critical-Infrastructure-Systems-Lab/PowNet
- Documentation: https://pownet.readthedocs.io/en/latest/index.html
- License: MIT License Copyright (c) 2024 Phumthep Bunnak Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-
Latest release: 2.3.0
published 7 months ago
Rankings
Maintainers (1)
Dependencies
- gurobipy >= 10.0.3
- highs >= 1.6.0
- matplotlib >= 3.7.1
- mplcursors >= 0.5.1
- networkx >= 3.1.0
- numpy >= 1.24.3
- pandas >= 1.5.3
- pyomo >= 6.5.0
- sphinx >=4.3.0
- sphinx-rtd-theme >=0.5.1
- sphinx-toolbox >=v0.8.0
