Design and implementation of smart meter for optimizing and managing electrical energy in Morocco

Alhussein Bagayogo, Omar Kabouri, Aboubakr El Makrini, Mohamed Azeroual, Hassane El Markhi

Abstract


The growth of renewable energy sources necessitates the use of accurate and fast smart meter solutions. This article presents a low-cost internet of things (IoT) based smart meter adapted to the Moroccan electricity grid, supporting bidirectional energy measurement, DLMS/COSEM-based communication and control relays for automated energy flow management. The experimental validation shows a maximum measurement error of less than ±0.5%, satisfying the IEC-oriented accuracy requirements. The measured end-to-end latency is approximately 700 ms, including data acquisition (≈450 ms), signal processing (≈60 ms), data serialization (≈75 ms), network transmission (≈90 ms), and server-side processing (≈25 ms). These results demonstrate that the proposed system allows an almost real-time monitoring and control of imported and exported energy, which makes it suitable for the integration of residential renewable energies and the application of smart grids.

Keywords


DLMS/COSEM; Energy transition; PV technology; Renewable energy; Smart energy meter; Sustainability

Full Text:

PDF


DOI: http://doi.org/10.11591/ijece.v16i2.pp663-674

Copyright (c) 2026 Alhussein Bagayogo, Omar Kabouri, Aboubakr EL Makrini, Mohamed Azeroual, Hassane El Markhi

Creative Commons License
This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.

International Journal of Electrical and Computer Engineering (IJECE)
p-ISSN 2088-8708, e-ISSN 2722-2578

This journal is published by the Institute of Advanced Engineering and Science (IAES).