Skip to content

Commit

Permalink
Update to version 0.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
thomaswolgast committed Oct 9, 2024
1 parent 021e5fd commit a8d4eda
Show file tree
Hide file tree
Showing 4 changed files with 47 additions and 4 deletions.
41 changes: 41 additions & 0 deletions CITATION.cff
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
# This CITATION.cff file was generated with cffinit.
# Visit https://bit.ly/cffinit to generate yours today!

cff-version: 1.2.0
title: OPF-Gym
message: >-
If you use this software, please cite it using the
metadata from this file. Additionally, please check out the publication
"Learning the optimal power flow: Environment design matters", where the
library was first introduced.
(https://www.sciencedirect.com/science/article/pii/S2666546824000764)
type: software
authors:
- given-names: Thomas
family-names: Wolgast
email: thomas.wolgast@uni-oldenburg.de
affiliation: Carl von Ossietzky Universität Oldenburg
orcid: 'https://orcid.org/0000-0002-9042-9964'
repository-code: 'https://github.com/Digitalized-Energy-Systems/opfgym'
abstract: >-
The OPF-Gym library allows for easy creation of
reinforcement learning (RL) environments for solving the
optimal power flow (OPF) problem. OPF-Gym also provides
five benchmark environments to ensure comparability of
future RL-OPF research. Various kinds of OPF problems are
supported, for example, multi-stage OPF, discrete actions,
stochastic OPF, etc. Further, it is possible to generate
labeled training data for supervised learning, which again
improves comparability of research advances.
keywords:
- Optimal Power Flow
- Reinforcement Learning
- Gymnasium
- Supervised Learning
- Voltage Control
- Economic Dispatch
- Reactive Power Market
- Load Shedding
- Benchmark
license: MIT
version: 0.1.0
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,8 @@ Tested for python 3.10.


### Environments
Currently, five OPF benchmark environments are available:
Currently, five OPF benchmark environments are available. Additionally, some
example environments for more advanced features can be found in `opfgym/examples`.

#### Maximize Renewable Feed-In (MaxRenewable)
Use `from opfgym.envs import MaxRenewable` to import this env.
Expand Down
1 change: 1 addition & 0 deletions opfgym/opf_env.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@

warnings.simplefilter('once')


class PowerFlowNotAvailable(Exception):
pass

Expand Down
6 changes: 3 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,14 @@

setup(
name='opfgym',
version='0.0.1',
version='0.1.0',
author='Thomas Wolgast',
author_email='thomas.wolgast@uol.de',
description='Some environments to learn the Optimal Power Flow with Reinforcement Learning',
description='Environment framework to learn the Optimal Power Flow with Reinforcement Learning, including multiple benchmark environments.',
long_description=long_description,
long_description_content_type="text/markdown",
packages=find_packages(include=['opfgym', 'opfgym.*']),
url='https://gitlab.com/thomaswolgast/opfgym',
url='https://github.com/Digitalized-Energy-Systems/opfgym',
license='MIT',
install_requires=[
'numpy==1.22.4',
Expand Down

0 comments on commit a8d4eda

Please sign in to comment.