RL-ADN: A Benchmark Framework for DRL-based Battery Energy Arbitrage in Distribution Networks
Project description
RL-ADN: A Benchmark Framework for DRL-based Battery Energy Arbitrage in Distribution Networks
RL-ADN is the first open-source framework designed to revolutionize DRL-based battery energy arbitrage in distribution networks. By abstracting distribution network dynamics and offering a modular structure, RL-ADN paves the way for modeling diverse energy arbitrage tasks.
Features
- Versatile Benchmarking: Model diverse energy arbitrage tasks with full flexibility.
- Laurent Power Flow: Over 10 times faster computational speed compared to traditional methods.
- Seamless Transition: Designed for both simulated environments and real-world applications.
- Open-source: Easily accessible for modifications, customizations, and further research.
Outline
documentation
under developing
File Structure
The main folder RL-ADN is shown below
└─power_network_rl
│ README.md
│ requirements.txt
│ setup.py
│ __init__.py
│
├─benckmark_algorithms
│ Optimality_pyomo.py
│ __init__.py
│
├─data_manager
│ │ data_manager.py
│ │ __init__.py
│
├─data_sources
│ ├─network_data
│ │ │ __init__.py
│ │ │
│ │ ├─node_123
│ │ │ Lines_123.csv
│ │ │ Nodes_123.csv
│ │ │
│ │ ├─node_25
│ │ │ Lines_25.csv
│ │ │ Nodes_25.csv
│ │ │
│ │ ├─node_34
│ │ │ Lines_34.csv
│ │ │ Nodes_34.csv
│ │ │
│ │ └─node_69
│ │ Lines_69.csv
│ │ Nodes_69.csv
│ │
│ └─time_series_data
│ 123_node_time_series.csv
│ 25_node_time_series.csv
│ 34_node_time_series.csv
│ 69_node_time_series.csv
│
├─docs
├─DRL_algorithms
│ │ Agent.py
│ │ DDPG.py
│ │ PPO.py
│ │ SAC.py
│ │ TD3.py
│ │ utility.py
│ │ __init__.py
│
│
├─environments
│ │ Component_Battery.py
│ │ Environment_Integrated.py
│ │ env_config.json
│ │ gym_env_create_t.py
│ │ __init__.py
│
├─example
│ customize_env.py
│ training_DDPG.py
│
├─tests
│ 123_node_network_powerflow_test.py
│ 25_node_network_powerflow_test.py
│ 69_node_network_powerflow_test.py
│ test_comparison_power_flow.py
│
├─utility
│ │ gpu_interface.py
│ │ grid.py
│ │ Not_converge_Power_Flow.py
│ │ numbarize.py
│ │ Power_Flow.py
│ │ utils.py
│ │ __init__.py
│ │
Installation
To install RL-ADN, simply run:
pip install RL-ADN
Status Update
Version History [click to expand]
- 2023-09-27 0.1: Beta version
Tutorials
In example folder, training_DDPG.ipynb shows a tutorial for training DDPG agent using RL-ADN step by step. customize_env.py shows a simple tutorial for users customize their own environment by using RL-ADN
Publications
Citing RL-ADN
Contributing
LICENSE
MIT License
Disclaimer: We are sharing codes for academic purpose under the MIT education license. Nothing herein is financial advice, and NOT a recommendation to trade real money. Please use common sense and always first consult a professional before trading or investing.
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 RL-ADN-0.1.2.tar.gz.
File metadata
- Download URL: RL-ADN-0.1.2.tar.gz
- Upload date:
- Size: 12.7 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.8.16
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7bef677ae336a820e55a02d6d4a3894d2b07fd34b2559428142f6dc34b9af556
|
|
| MD5 |
61a6f51e9a3a7cd30ca69fbe5398dc4d
|
|
| BLAKE2b-256 |
32bf23c166a83bdf076c13736da25aa9356c8128064a4606c3f225d794bcaf04
|
File details
Details for the file RL_ADN-0.1.2-py3-none-any.whl.
File metadata
- Download URL: RL_ADN-0.1.2-py3-none-any.whl
- Upload date:
- Size: 12.8 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.8.16
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
024dd9cb6a9753be3d752184a409a70ba200114da471ff85d7d4e4012d01edc0
|
|
| MD5 |
7ecc12e03e676eecc75d61e0a7542b42
|
|
| BLAKE2b-256 |
ba22b1f8eed498e945cbb4ca3ad9f70672de68f100117a98c69145bc6faa9c4d
|