Design and development of an advanced software and hardware architecture for intelligent energy management in residential environments
Abstract
This thesis presents a comprehensive framework for intelligent energy management in residential environments through the development and implementation of an advanced integrated hardware and software architecture. The primary objectives were to design a modular, scalable system capable of real-time energy monitoring, predictive consumption analysis, and secure peer-to-peer energy trading; to implement this system using cost-effective hardware components and open-source software solutions; to develop a prototype demonstrating core functionalities; and to evaluate the system's performance, limitations, and potential for future enhancement within the evolving smart grid ecosystem. The methodological approach encompassed a layered architecture integrating physical hardware sensors with containerized software components. At the hardware level, a Raspberry Pi 4 platform was utilized as the central computing unit, augmented with specialized energy monitoring components including the RPICT7V1 module, SCT-013-000 current transformers, and ZMPT101B voltage sensors. This configuration enabled granular measurement of electrical parameters with ten-second sampling intervals. The software architecture was constructed on a Linux-based server environment using MicroK8s for lightweight Kubernetes orchestration. This containerized microservices framework incorporated InfluxDB for time-series data storage, Grafana for real-time visualization, and a Large Language Model (LLM) for predictive analytics. External data integration was achieved through a REE API connection that provided real-time electricity pricing information from the Spanish market. Additionally, a decentralized energy trading system was conceptually designed using the Cardano blockchain, featuring smart contracts implemented in Plutus and non-fungible tokens (NFTs) for transaction traceability. The testing and validation phase confirmed the successful deployment and operational functionality of the core system components. The hardware sensing layer demonstrated accurate data acquisition capabilities, reliably capturing voltage and current measurements across multiple channels. The containerized software infrastructure exhibited stable operation and effective inter-service communication within the Kubernetes environment. End-to-end data flow validation verified the complete pathway from sensor readings through storage in InfluxDB to visualization in Grafana dashboards. The integration of external energy market data from the REE API was successfully implemented, enabling real-time electricity price monitoring. Functional Grafana dashboards provided intuitive visualization of key energy metrics including power consumption, voltage levels, current intensity, and PVPC pricing. While computational constraints of the Raspberry Pi platform limited full LLM functionality, and the peer-to-peer trading system remained at the architectural design stage rather than full implementation, these limitations were clearly identified as areas for future development. In conclusion, this research successfully demonstrated the viability of integrating real-time monitoring, containerized microservices, and foundational blockchain technologies within a residential energy management context. The prototype represents a significant advancement toward democratized energy management through its modular, open-source architecture and cost-effective hardware implementation. Future work will focus on migrating the computational stack to more powerful hardware such as the NVIDIA Jetson Orin Nano platform to enable full LLM integration, implementing the complete peer-to-peer trading functionality, and developing advanced features including dynamic load balancing, demand response integration, and multi-site energy management. This research contributes to the evolving field of intelligent energy systems by providing a blueprint for scalable, decentralized solutions that enhance grid resilience, empower energy prosumers, and support the transition toward sustainable, efficient energy ecosystems
Community
0 commentsNo discussion yet
Be the first to share a question or observation.