A research team from the University of La Laguna and its spin-off company EnergyRIS (Energy Research & Intelligence Solutions, SL) have developed and validated an innovative optimization model that significantly improves energy distribution in residential buildings and energy communities, thus contributing to a more efficient, equitable and sustainable management of collective self-consumption.
The study, published on May 30 in the journal Energy & Buildings The research, published by Elsevier, the world's leading publication in the field of building energy, was conducted by doctoral student Fouad José Salazar-Hamze and Ricardo Guerrero Lemus, Professor of Applied Physics and Strategic Director of EnergyRIS. The research proposes an advanced system for assigning energy sharing coefficients among members of an energy community, taking into account daily consumption forecasts obtained using LSTM (Long Short-Term Memory) neural networks.
Unlike the current system, which requires setting these coefficients months in advance, the developed model allows for dynamic and optimized allocation, adapting to each user's consumption habits. Furthermore, the study incorporates simulations of different electrical configurations, with and without battery storage systems, using real photovoltaic production and electricity consumption data obtained from 59 consumers in Tenerife participating in an energy community project.
The results demonstrate that the combination of batteries and dynamic coefficients significantly improves self-consumption, cost savings, and the system's financial viability. Thus, the developed algorithm allows for an increase in self-consumed energy of up to 90%, doubling annual cost savings and improving equity in energy distribution among community members.
In this regard, Professor Ricardo Guerrero points out that it is clear that the best strategy for saving in the residential sector is self-consumption, both in individual and collective housing. He also warns that, in contrast to the misnamed “virtual battery,” which represents a clear way for self-consumers to lose money, the “real battery,” even for providing storage for individual consumers within homeowner associations, is the best option for the future of the electricity sector.
Thus, the research reinforces the role of energy communities and collective self-consumption in residential homeowners' associations as key agents in the energy transition, now integrating collective storage.
Guerrero emphasizes that the proposed solution is practical, elegant, and, most importantly, legally compliant with the Spanish regulatory framework, established primarily by Royal Decrees 244/2019 and 1183/2020. Furthermore, the results reinforce EnergyRIS's strategy of developing its own devices and software, which it has been implementing since 2020 and installing in various homeowners' associations, particularly within the municipality of Adeje.
The work also lays the groundwork for new research, technological developments, and future real-world applications that promote more efficient management of shared renewable energy.

