tahanakabi / DRL-for-microgrid-energy-management

We study the performance of various deep reinforcement learning algorithms for the problem of microgrid’s energy management system. We propose a novel microgrid model that consists of a wind turbine generator, an energy storage system, a population of thermostatically controlled loads, a population of price-responsive loads, and a connection to the main grid. The proposed energy management system is designed to coordinate between the different sources of flexibility by defining the priority resources, the direct demand control signals and the electricity prices. Seven deep reinforcement learning algorithms are implemented and empirically compared in this paper. The numerical results show a significant difference between the different deep reinforcement learning algorithms in their ability to converge to optimal policies. By adding an experience replay and a second semi-deterministic training phase to the well-known Asynchronous advantage actor critic algorithm, we achieved considerably better performance and converged to superior policies in terms of energy efficiency and economic value.
MIT License
172 stars 43 forks source link

How can I run the code? #1

Open Aya5522 opened 4 years ago

Aya5522 commented 4 years ago

I'm interested in what have you done. Could yo please help me how can I run the code .

ErolOZKAN- commented 1 year ago

it doesnt run.

Xizhikai-a commented 4 weeks ago

作者在2023年上传了一个microgrid_demo,这个是可以运行的,我使用环境方面gym==0.17.2 keras==2.4.3 pandas==1.0.5 matplotlib==3.2.2,python==3.8,然后在tcl_env_dqn_1.py文件中需要强制设置self.iterations=24,否则出现的图像x轴是0-99.