# A Microservices-Based Solution with Hybrid Communication for Energy Management in Smart Grid Environments

**Authors:** Artur F. S. Veloso, José V. Reis, Ricardo A. L. Rabelo

PMC · DOI: 10.3390/s26051714 · Sensors (Basel, Switzerland) · 2026-03-09

## TL;DR

This paper proposes a smart grid energy management system using microservices and hybrid communication to improve stability and efficiency.

## Contribution

A novel hybrid communication system and adaptive demand response algorithm for smart grids are introduced.

## Key findings

- Hybrid LPWAN communication achieved packet delivery rates above 97% and reliable signal strength.
- The HAAIR algorithm reduced peak demand by 1.83% and saved $65.40 in costs per household.
- The 18:00–21:00 interval was identified as the critical peak with demand up to 42% above average.

## Abstract

The increasing variability of residential demand, combined with the expansion of distributed generation and electric vehicles, has introduced new challenges to the stability of Smart Grids (SGs). Centralized management models lack the flexibility required to operate under these conditions, reinforcing the need for scalable and data-driven architectures. This study proposes an energy management solution based on microservices, supported by hybrid communication in Low Power Wide Area Networks (LPWAN), integrating Long Range Wide Area Network (LoRaWAN) and LoRaMESH to enhance connectivity, local resilience, and reliability in data acquisition for Internet of Things (IoT) and Demand Response (DR) applications. A prototype composed of a Smart Meter (SM), a Data Aggregation Point (DAP), and a Concentrator (CON) was evaluated in a controlled environment, achieving Packet Delivery Rates above 97%, an average RSSI of −92 dBm, and a Signal-to-Noise Ratio close to 9 dB, validating the robustness of the hybrid communication. At a larger scale, data from 5567 households in the Low Carbon London (LCL) project were used to generate representative Load Profiles (LPs) through seven aggregation and clustering techniques, consistently identifying the 18:00–21:00 interval as the critical peak, with demand reaching up to 42% above the daily average. Fourteen load shifting algorithms were evaluated, and the Hybrid Adaptive Algorithm based on Intention and Resilience (HAAIR), proposed in this work, achieved the best overall performance with a 1.83% peak reduction, US$65.40 in cost savings, a reduction of 60 kg of CO2, a Comfort Loss Index of 0.04, resilience of 9.5, and reliability of 0.98. The results demonstrate that the integration of hybrid LPWAN communication, modular microservice-based architecture, and adaptive DR strategies driven by Artificial Intelligence (AI) represents a promising pathway toward scalable, resilient, and energy-efficient SGs.

## Full-text entities

- **Diseases:** Comfort Loss (MESH:D016388)

## Full text

_Full body text omitted from this summary view._ Fetch the complete paper as Markdown: https://tomesphere.com/paper/PMC12986617/full.md

## Figures

17 figures with captions in the complete paper: https://tomesphere.com/paper/PMC12986617/full.md

## References

101 references — full list in the complete paper: https://tomesphere.com/paper/PMC12986617/full.md

---
Source: https://tomesphere.com/paper/PMC12986617