Researchers from Poland's Warsaw University of Technology have proposed a reinforcement learning approach to minimize energy purchases from the grid in PV systems linked to storage systems.
The trade-off between storing too much and too little power in a battery is key for this complex task. Storing too much electricity would mean some surplus solar power could be lost, while storing too little could expose system owners to higher electricity prices.
Reinforcement learning is a kind of machine-learning method that can be used to take suitable action to maximize rewards in uncertain, potentially complex environments.
“To make this approach applicable, a novel formulation of the decision problem is presented, which focuses on the optimization of grid energy purchases rather than on direct storage control,” the scientists said.
Their approach is based on the Q-learning algorithm, which allows agents to learn a response from a reward. The scientists have combined this with a neural network. They conducted a realistic simulation on a grid-connected PV system linked to a battery that, due to stability reasons, could not inject surplus power into the network.
“The decision module that performs energy purchasing continuously monitors real-time PV generation, loads and electricity prices, as well as the State of Charge (SoC) of the storage,” they said. “Based on this information, the module determines the charging energy volume and sends the corresponding signal to the controller.”
Under their proposed approach, the controller generates recommendations for electricity purchases from the grid, rather than controlling charge and discharge operations in the battery.
“It makes it possible to define a relatively small set of discrete actions, corresponding to discretized relative purchased energy volumes,” the scientists explained.
The Polish group tested the effectiveness of this technique on two different solar+storage configurations.
“The base configuration assumes a large-size storage with 1MWh, energy capacity, while in the second case a small-size 200 kWh storage is assumed,” they said. “One should expect quite different purchase decisions, depending on the size of the storage. In both cases, power capacity is 25% of the total capacity and both charging and discharging have an 80% efficiency.”
Their analysis showed that the Q-learning algorithm is able to select more frequent and lower electricity purchases from the grid. They noted that these are made under lower, off-peak prices.
“The cost distributions suggest that a small-size storage is much better suited to the needs of the system because a large-size battery is often overloaded with potentially unused energy, some of which is bought,” they said. “These results clearly indicates the importance of both sizing, and control decisions as noticed also by other researchers.”
The scientists now plan to conduct further research on how to apply the approach to other forms of storage or to day-ahead operation planning. “More realistic, large-scale simulations should be performed with the results compared to those obtained using other learning methods to confirm the credibility of achieved performance improvements,” they concluded.
They presented their findings in “Real-time energy purchase optimization for a storage-integrated photovoltaic system by deep reinforcement learning,” which was recently published in Control Engineering Practice.
This content is protected by copyright and may not be reused. If you want to cooperate with us and would like to reuse some of our content, please contact: email@example.com.
By submitting this form you agree to pv magazine using your data for the purposes of publishing your comment.
Your personal data will only be disclosed or otherwise transmitted to third parties for the purposes of spam filtering or if this is necessary for technical maintenance of the website. Any other transfer to third parties will not take place unless this is justified on the basis of applicable data protection regulations or if pv magazine is legally obliged to do so.
You may revoke this consent at any time with effect for the future, in which case your personal data will be deleted immediately. Otherwise, your data will be deleted if pv magazine has processed your request or the purpose of data storage is fulfilled.
Further information on data privacy can be found in our Data Protection Policy.