|
5 | 5 | # Abstract |
6 | 6 | * The massive integration of renewable-based distributed energy resources (DERs) inherently increases the energy system's complexity, especially when it comes to defining its operational schedule. Deep reinforcement learning (DRL) algorithms arise as a promising solution due to their data-driven and model-free features. However, current DRL algorithms fail to enforce rigorous operational constraints (e.g., power balance, ramping up or down constraints) limiting their implementation in real systems. To overcome this, in this paper, a DRL algorithm (namely MIP-DQN) is proposed, capable of \textit{strictly} enforcing all operational constraints in the action space, ensuring the feasibility of the defined schedule in real-time operation. This is done by leveraging recent optimization advances for deep neural networks (DNNs) that allow their representation as a MIP formulation, enabling further consideration of any action space constraints. Comprehensive numerical simulations show that the proposed algorithm outperforms existing state-of-the-art DRL algorithms, obtaining a lower error when compared with the optimal global solution (upper boundary) obtained after solving a mathematical programming formulation with perfect forecast information; while strictly enforcing all operational constraints (even in unseen test days). |
7 | 7 | # Organization |
8 | | -<!-- * Folder "Data" -- Historical and processed data. |
9 | | -* script "agent" and "net"-- General network and agent formulation. |
10 | | -* script "DDPG","SAC","TD3" and "PPO"-- The integration of main process for training, test and plot. |
11 | | -* script "tools"-- General function needed for main process |
| 8 | +* Folder "Data" -- Historical and processed data. |
| 9 | +* script "Parameters"-- General parameters for batteries and other energy units. |
| 10 | +* script "MIP_DQN"-- The implementation of the proposed MIP-DQN algorithm. |
12 | 11 | * script "random_generator_battery" -- The energy system environment |
13 | | -* Run scripts like DDPG.py after installing all packages. Please have a look for the code structure. --> |
| 12 | +* script "random_generator_more_battery" -- The energy system environment with multi-batteries. Developing this because the reviewer asked, even I don't think it is essential. |
| 13 | +* Run scripts after installing all packages. Please have a look for the code structure. |
14 | 14 | # Dependencies |
15 | | -<!-- This code requires installation of the following libraries: ```PYOMO```,```pandas 1.1.4```, ```numpy 1.20.1```, ```matplotlib 3.3.4```, ```pytorch 1.11.0```, ```math```, you can find more information [at this page](https://ieeexplore.ieee.org/document/9960642). --> |
| 15 | +This code requires installation of the following libraries: ```PYOMO```,```pandas 1.1.4```, ```numpy 1.20.1```, ```matplotlib 3.3.4```, ```pytorch 1.11.0```, ```OMLT```,```wandb```. I used wandb to monitor the changes during the training. you can find more information [at this page](https://arxiv.org/abs/2305.05484). |
16 | 16 | # Recommended citation |
17 | | -<!-- A preprint is available, and you can check this paper for more details [Link of the paper](https://ieeexplore.ieee.org/document/9960642). |
18 | | -* Paper authors: Hou Shengren, Edgar Mauricio Salazar, Pedro P. Vergara, Peter Palensky |
19 | | -* Accepted for publication at IEEE PES ISGT 2022 |
20 | | -* If you use (parts of) this code, please cite the preprint or published paper --> |
| 17 | +A preprint is available, and you can check this paper for more details [Link of the paper](https://arxiv.org/abs/2305.05484). |
| 18 | +* Paper authors: Hou Shengren, Pedro P. Vergara, Edgar Mauricio Salazar, Peter Palensky |
| 19 | +* Accepted for publication at International Journal of Electrical Power & Energy Systems |
| 20 | +* If you use (parts of) this code, please cite the preprint or published paper |
21 | 21 | ## Additional Information |
22 | | -* I am preparing and organizing the code now |
| 22 | +* The clean code and data are now uploaded. |
0 commit comments