RL-Microgrid-Coordination

所属分类:人工智能/神经网络/深度学习
开发工具:Python
文件大小:0KB
下载次数:2
上传日期:2023-10-06 22:42:31
上 传 者sh-1993
说明:  使用强化学习协调微电网的能源管理,
(Coordinating energy management for microgrid using reinforcement learning,)

文件列表:
LICENSE (1056, 2023-10-20)
data/ (0, 2023-10-20)
data/SolarIrradiance.csv (210992, 2023-10-20)
data/WindSpeed.csv (141809, 2023-10-20)
data/rate_consumption_charge.csv (202351, 2023-10-20)
data/residential/ (0, 2023-10-20)
data/residential/USA_AK_Anchorage.Intl.AP.702730_TMY3_BASE.csv (1284346, 2023-10-20)
data/residential/USA_AK_Fairbanks.Intl.AP.702610_TMY3_BASE.csv (1582471, 2023-10-20)
data/residential/USA_AL_Anniston.Metro.AP.722287_TMY3_BASE.csv (1564522, 2023-10-20)
data/residential/USA_AL_Auburn-Opelika.AP.722284_TMY3_BASE.csv (1572835, 2023-10-20)
data/residential/USA_AL_Birmingham.Muni.AP.722280_TMY3_BASE.csv (1576005, 2023-10-20)
data/residential/USA_AL_Dothan.Muni.AP.722268_TMY3_BASE.csv (1434926, 2023-10-20)
data/residential/USA_AL_Fort.Rucker-Cairns.Field.722269_TMY3_BASE.csv (1426314, 2023-10-20)
data/residential/USA_AL_Gadsen.Muni.AWOS.722285_TMY3_BASE.csv (1569819, 2023-10-20)
data/residential/USA_AL_Huntsville.Intl.AP-Jones.Field.723230_TMY3_BASE.csv (1585450, 2023-10-20)
data/residential/USA_AL_Maxwell.AFB.722265_TMY3_BASE.csv (1421323, 2023-10-20)
data/residential/USA_AL_Mobile-Downtown.AP.722235_TMY3_BASE.csv (1417551, 2023-10-20)
data/residential/USA_AL_Mobile-Rgnl.AP.722230_TMY3_BASE.csv (1429388, 2023-10-20)
data/residential/USA_AL_Montgomery-Dannelly.Field.722260_TMY3_BASE.csv (1423247, 2023-10-20)
data/residential/USA_AL_Muscle.Shoals.Rgnl.AP.723235_TMY3_BASE.csv (1572701, 2023-10-20)
data/residential/USA_AL_Troy.Air.Field.722267_TMY3_BASE.csv (1432924, 2023-10-20)
data/residential/USA_AL_Tuscaloosa.Muni.AP.722286_TMY3_BASE.csv (1577008, 2023-10-20)
data/residential/USA_AR_Batesville.AWOS.723448_TMY3_BASE.csv (1593670, 2023-10-20)
data/residential/USA_AR_Bentonville.AWOS.723444_TMY3_BASE.csv (1591961, 2023-10-20)
data/residential/USA_AR_El.Dorado-Goodwin.Field.723419_TMY3_BASE.csv (1432901, 2023-10-20)
data/residential/USA_AR_Fayetteville-Drake.Field.723445_TMY3_BASE.csv (1581507, 2023-10-20)
data/residential/USA_AR_Flippin.AWOS.723447_TMY3_BASE.csv (1573858, 2023-10-20)
data/residential/USA_AR_Fort.Smith.Rgnl.AP.723440_TMY3_BASE.csv (1588189, 2023-10-20)
data/residential/USA_AR_Harrison.AP.723446_TMY3_BASE.csv (1583301, 2023-10-20)
data/residential/USA_AR_Hot.Springs.Mem.AP.723415_TMY3_BASE.csv (1597355, 2023-10-20)
data/residential/USA_AR_Jonesboro.Muni.AP.723407_TMY3_BASE.csv (1593121, 2023-10-20)
data/residential/USA_AR_Little.Rock-Adams.Field.723403_TMY3_BASE.csv (1573904, 2023-10-20)
data/residential/USA_AR_Little.Rock.AFB.723405_TMY3_BASE.csv (1594536, 2023-10-20)
data/residential/USA_AR_Pine.Bluff.AP.723417_TMY3_BASE.csv (1598761, 2023-10-20)
data/residential/USA_AR_Rogers.AWOS.723449_TMY3_BASE.csv (1593236, 2023-10-20)
data/residential/USA_AR_Siloam.Spring.AWOS.723443_TMY3_BASE.csv (1595872, 2023-10-20)
data/residential/USA_AR_Springdale.Muni.AP.723434_TMY3_BASE.csv (1581709, 2023-10-20)
... ...

## Coordinating energy management for microgrid using reinforcement learning This repository is an attempt to develop a reinforcement learning mechanism that can control the demand supply of a microgrid in order to reduce the overall energy cost. The microgrid has renewable and conventional generation and energy storage, and can buy energy from the utility grid when necessary. The profile of the energy load varies over the time. The environment itself is a modified gym environment. The action space is a tuple representing the actions the microgrid can take: \ Turning on or off solar power, wind power and the gas generator, \ For each of the aforementioned modules: use power generated to support the load, sell to the utility grid, or charge the battery. \ The microgrid can also buy energy from the utility grid to either support the load or charge the battery. \ Finally the microgrid can use the power stored in the battery to support the load. \ \ This is represented in the multidicrete tuple: (2, 2, 2, 3, 3, 3, 3, 2) \ \ The observation space is as follows: Three timeseries of hourly data on solar irradiance, wind speed and the price of energy from the utility grid; The total load of all households connected with the microgrid [1]; The status of the energy modules connected to the microgrid; and the current charge of the battery. For each step in the environment, the microgrid python class interprets the action space and calculates the rewards and costs returning this value to the environment for the RL agent to learn from. When the microgrid class is first initialized the user can choose what modules to include in the microgrid, as well as the parameters associated with these modules. Agents compatible with gymnasium environments can be trained on this microgrid environment. In this repository we have trained PPO and DQN models using Stablebaseline 3 running pytorch (the dqn model can only use discreet values, so we pass discreet=true to the microgrid environment which will convert the action space accordingly). The amount of households included in the total load can also be specified when initializing the microgrid class, to which up to 256 households can be chosen. All data is configured and handled in the data.py module. ## References [1] National Renewable Energy Laboratory. (2014). Commercial and Residential Hourly Load Profiles for all TMY3 Locations in the United States [data set]. Retrieved from https://dx.doi.org/10.25984/1788456. [2] Gonzague Henri, Tanguy Levent, Avishai Halev, Reda Alami, & Philippe Cordier. (2020). pymgrid: An Open-Source Python Microgrid Simulator for Applied Artificial Intelligence Research.

近期下载者

相关文件


收藏者