Energy Management in the Free Market with Virtual Power Plants and Smart Contracts via Blockchain
Abstract
This article proposes an energy management system for the free market that uses blockchain and smart contracts to mediate the interaction between prosumers, overcoming the limitations of the Electric Energy Compensation System (SCEE) — which currently prevents the transfer of surplus credits. The solution integrates Virtual Power Plants (VPPs), using tokens to represent energy credits, with a smart contract that automatically manages their purchase and sale. The system was simulated using real consumption data and photovoltaic generation. The implementation uses the Sepolia blockchain and Chainlink oracles to retrieve the energy tariffs used by utility companies. The results show that the system provides users with autonomy, cost reduction, and efficient management of energy resources.
References
Agência Nacional de Energia Elétrica, Disponivel em [link]. Acessado em: 19 junho 2024.
Beniiche, A. (2020). A study of blockchain oracles. arXiv preprint arXiv:2004.07140.
EDP-ES (2025). Tarifas vigentes. EDP Espírito Santo Distribuição de Energia Elétrica S.A, Disponivel em [link]. Acessado em: 07 Março 2025.
El-Bidairi, K. S., Nguyen, H. D., Mahmoud, T. S., Jayasinghe, S., and Guerrero, J. M. (2020). Optimal sizing of battery energy storage systems for dynamic frequency control in an islanded microgrid: A case study of flinders island, australia. Energy, 195:117059.
INMET (2025). Tabela de dados das estações - vitoria a612. Instituto Nacional de Meteorologia, Disponivel em [link]. Acessado em: 19 Janeiro 2025.
Khan, M. H. D., Imtiaz, J., and Islam, M. N. U. (2023). A blockchain based secure decentralized transaction system for energy trading in microgrids. IEEE Access, 11:47236–47257.
Machado, A. A. et al. (2024). Profit distribution through blockchain solution from battery energy storage system in a virtual power plant using intelligence techniques. Journal of Energy Storage, 98:113150.
Mazzola, L., Denzler, A., and Christen, R. (2020). Towards a peer-to-peer energy market: an overview.
Miller, C. et al. (2020). The building data genome project 2, energy meter data from the ashrae great energy predictor iii competition. Scientific data, 7(1):368.
Saboori, H., Mohammadi, M., and Taghe, R. (2011). Virtual power plant (vpp), definition, concept, components and types. In 2011 Asia-Pacific power and energy engineering conference, pages 1–4. IEEE.
Team, S. D. C. (2020). Metadata record for: The building data genome project 2, energy meter data from the ashrae great energy predictor iii competition. Dataset.
Yang, Q. et al. (2021). Blockchain-based decentralized energy management platform for residential distributed energy resources in a virtual power plant. Applied Energy, 294:117026.
Yang, R. L. et al. (2018). Estimação da temperatura em células fotovoltaicas para sistemas fotovoltaicos conectados à rede elétrica em curitiba. In Conferência Internacional de Energias Inteligentes-Smart Energy CIEI&EXPO 2018.
