Enhancing Grid Visibility in Resource-Limited Settings Using Sensor Networks and Data Technologies: A Case Study from Ghana
Joseph Kojo Asampanbilla
Ghana Communication Technology University, Ghana
DOI: https://doi.org/10.51244/IJRSI.2025.120700140
Received: 09 July 2025; Accepted: 14 July 2025; Published: 09 August 2025
In many developing countries, including Ghana, energy distribution systems face challenges related to power reliability, monitoring, and fault detection (Adom, Forkuo, & Osei, 2020), (Owusu, Nyarko, & Koomson, 2019). This paper proposes a lightweight, low-cost wireless sensor network architecture for real-time energy monitoring and data collection in decentralized grid environments (Gungor, Lu, & Hancke, 2010), (Elgargouri, Abdelsadek, & Wahab, 2021). The system uses sensor nodes deployed at critical grid points to capture voltage, current, and power quality data, which is transmitted via a low-power wide-area network (LoRaWAN) to a centralized server for processing (Elgargouri, Abdelsadek, & Wahab, 2021), (Li, Xu, & Zhao, 2015). The backend supports data storage, visualization, and anomaly detection using basic machine learning techniques (Molderink et al., 2010), (Hossain, Fotouhi, & Hasan, 2018). The framework is designed for scalability, ease of deployment, and suitability for rural or under-resourced communities (Elgargouri, Abdelsadek, & Wahab, 2021), (Owusu, Nyarko, & Koomson, 2019). We test the system in a simulated microgrid environment based on data from selected communities in Ghana. Preliminary results show the system’s effectiveness in identifying abnormal power patterns and providing timely alerts. This work demonstrates how accessible sensor networks and basic data analytics can contribute to the development of smarter, more reliable energy infrastructure in resource-limited settings (Gungor, Lu, & Hancke, 2010), (Elgargouri, Abdelsadek, & Wahab, 2021).
Keywords: Smart grid, Sensor networks, IoT, Energy monitoring, Ghana, Data technologies
Access to reliable and stable electricity remains a significant challenge in many parts of sub-Saharan Africa, including Ghana. While national electrification rates have improved in recent years, many communities continue to experience frequent outages, voltage fluctuations, and limited visibility into real-time grid performance (Adom, Forkuo, & Osei, 2020), (Owusu, Nyarko, & Koomson, 2019). These issues are compounded by aging infrastructure, limited investment in monitoring technologies, and a lack of integrated data systems to support proactive decision-making in power distribution.
The ongoing global transition to smart grid technologies presents an opportunity to address these challenges using modern information and communication technologies (ICTs). Smart grids leverage networks, sensor devices, and real-time data analytics to improve grid efficiency, detect faults early, and optimize energy delivery (Gungor, Lu, & Hancke, 2010), (Molderink et al., 2010). However, most existing smart grid solutions are designed for advanced economies and may not be suitable either technically or economically for emerging markets with infrastructure and resource constraints (Elgargouri, Abdelsadek, & Wahab, 2021), (Owusu, Nyarko, & Koomson, 2019).
This research presents a lightweight, low-cost wireless sensor network framework tailored for real-time energy monitoring in resource-limited environments such as rural or peri-urban communities in Ghana. The proposed system integrates off-the-shelf sensors, microcontrollers, and low-power communication protocols (e.g., LoRaWAN) to collect data on voltage, current, and frequency across key points in the distribution network. Collected data is transmitted to a cloud-based backend for storage, visualization, and basic anomaly detection using machine learning techniques. The system is designed for scalability, remote deployment, and ease of maintenance, making it a practical solution for utility providers and local energy operators (Elgargouri, Abdelsadek, & Wahab, 2021), (Adom, Forkuo, & Osei, 2020).
The primary contributions of this paper are as follows:
This work contributes to the growing effort to adapt smart grid technologies to developing regions, aligning with global energy access and sustainability goals (Elgargouri, Abdelsadek, & Wahab, 2021), (Owusu, Nyarko, & Koomson, 2019). By demonstrating a working model tailored to the Ghanaian context, the study provides a foundation for future deployments and larger-scale testing.
Related Work
Smart grid research has seen rapid growth over the past two decades, with considerable attention given to the integration of sensing, communication, and data processing technologies. Early works, such as Gungor et al. (Gungor, Lu, & Hancke, 2010), outlined the foundational role of wireless sensor networks (WSNs) in supporting grid automation, fault detection, and demand-side management. These systems rely on distributed sensor nodes to collect environmental and electrical data, which is then processed centrally to support decision-making.
More recent studies have explored the use of Internet of Things (IoT) architectures in grid environments. For example, Molderink et al. (Molderink et al., 2010) developed a decentralized energy management system based on smart meters and connected appliances, while Elgargouri et al. (Elgargouri, Abdelsadek, & Wahab, 2021) proposed an edge-IoT system for monitoring renewable energy systems in rural Africa. Such systems often combine low-power devices, energy harvesting technologies, and long-range communication (e.g., Zigbee, LoRaWAN) to overcome connectivity and power limitations (Li, Xu, & Zhao, 2015), (Anastasi, Conti, Di Francesco, & Passarella, 2009).
In the Ghanaian context, research remains limited. A few pilot projects have investigated the deployment of prepaid smart meters and load monitoring solutions in urban areas, but these often rely on proprietary platforms and lack open data integration. Studies by Adom et al. (Adom, Forkuo, & Osei, 2020) and Owusu et al. (Owusu, Nyarko, & Koomson, 2019) highlighted the need for more flexible, locally adaptable ICT frameworks that can be deployed across a wider range of community types, including off-grid and mini-grid systems.
This paper builds upon the above by combining insights from WSN design, open-source IoT hardware, and data analytics into a single architecture tailored to the specific constraints of the Ghanaian energy landscape. Unlike prior work focused on urban smart meters or theoretical models, our approach emphasizes practical deployment, modularity, and real-time data visibility—especially for smaller-scale systems that serve rural populations.
System Architecture and Design
The proposed system is designed as a modular, scalable framework for monitoring electrical parameters in low-voltage distribution networks. It consists of three main components: sensor nodes, a wireless communication network, and a backend data platform. The architecture prioritizes low power consumption, affordability, and reliable communication in environments with limited infrastructure.
Sensor Node Design
Each sensor node is responsible for measuring key electrical parameters, such as voltage, current, and frequency, at designated points in the distribution network. The hardware consists of:
Communication Layer
To transmit data to the backend, each node includes a wireless transceiver. The choice of communication protocol depends on deployment conditions:
Data Platform and Backend
At the backend, a cloud-based platform receives, processes, stores, and visualizes the data from sensor nodes. The platform consists of:
Anomaly Detection Module: A basic machine learning model (e.g., threshold-based or k-means clustering) flags irregular readings that may indicate faults or system inefficiencies.
Security and Data Integrity
To ensure data security and reliability:
Deployment Considerations
The system is designed to be installed in:
All components are built from commercially available, low-cost parts, making the architecture suitable for widespread replication in developing contexts.
Conceptual Framework
The conceptual framework guiding this research is structured around five interconnected layers that reflect the end-to-end flow of energy monitoring data from field devices to actionable insights. The framework is designed to support real-time visibility and decision-making in resource-limited energy environments, such as rural or peri-urban Ghanaian communities.
At the base is the Sensor Layer, which consists of low-cost devices installed at key points in the power distribution system. These sensors collect voltage and current data at regular intervals, providing a stream of real-time electrical measurements.
The data is then relayed via the Communication Layer, which enables wireless transmission using protocols such as LoRa, Wi-Fi, or GSM. The choice of protocol depends on the deployment environment, with LoRa preferred for long-range, low-bandwidth rural setups.
Data reaches the Backend/Cloud Platform, where it is stored, organized, and visualized. The platform supports both real-time dashboards and historical analysis, making use of cloud databases and web interfaces to ensure accessibility.
On top of this, the Decision Support and Anomaly Detection layer provides logic for identifying abnormal conditions such as voltage drops or current surges. Simple rule-based or machine learning algorithms process the data to flag anomalies and generate alerts.
Finally, the Grid Visibility and Action layer represents the operational benefit of the system. With timely and accurate data, energy providers or local operators can monitor the system more effectively, respond quickly to faults, and improve the overall reliability and efficiency of the grid.
This framework supports the goal of making smart grid technologies more accessible and relevant in developing contexts, with modularity, scalability, and cost-effectiveness at its core.
Implementation and Experimentation
A functional prototype of the proposed sensor network system was developed to validate the feasibility, accuracy, and communication reliability of the design in a small-scale setting. The prototype focused on monitoring voltage and current from a simulated low-voltage distribution setup, transmitting data wirelessly to a cloud-based backend for storage and analysis.
Hardware Setup
The prototype included three sensor nodes, each built using:
The system was tested indoors using a mock distribution panel that simulated varying loads (e.g., 60W bulbs, electric fans) to reflect typical household or small facility usage in Ghana.
Communication Protocol
Wi-Fi was used as the wireless communication medium for initial implementation due to its simplicity and availability in the test environment. In field deployments, this can be replaced with LoRa modules or GSM/GPRS shields to support long-range, low-bandwidth communication in rural areas.
Data was transmitted from each node every 60 seconds in JSON format using HTTP POST requests to a Flask-based web API hosted on a cloud server (PythonAnywhere).
Backend and Data Storage
The backend consisted of:
Anomaly Detection: A basic anomaly rule was implemented—flagging any current value exceeding 10% above the expected threshold, simulating potential overload or fault detection.
Performance Metrics
System performance was assessed based on:
Functional Component Algorithms
Algorithm 1: Sensor Node Initialization
Output: Initialized sensor node
Algorithm 2: Read Sensor Data
Output: Voltage and current values
Algorithm 3: Local Data Filtering
If reading is outside expected physical limits:
Algorithm 4: Packet Construction
Create new packet
Algorithm 5: Wireless Data Transmission
If connection is active:
Algorithm 6: Data Reception at Backend
Accept POST request at API endpoint
Algorithm 7: Data Visualization Update
Output: Live dashboard display
Algorithm 8: Threshold-Based Anomaly Detection
If current > threshold OR voltage < threshold:
Algorithm 9: Event Logging
If Alert_Flag = TRUE:
Algorithm 10: Offline Data Sync
For each unsent packet in buffer:
The prototype system was tested over a 48-hour period in a controlled indoor environment simulating a low-voltage distribution setup. The aim was to assess the system’s performance in collecting and transmitting electrical data, and to evaluate the accuracy, reliability, and responsiveness of the monitoring framework.
Data Collection and Visualization
Sensor nodes successfully recorded voltage and current measurements at one-minute intervals. These readings were transmitted to the cloud and visualized through a real-time dashboard. A sample of the collected data is presented in Table 1, showing consistent values within the expected range (e.g., 215–230V for voltage and 0.4–0.9A for current, depending on load conditions).
The dashboard interface allowed for intuitive tracking of changes in energy usage and voltage stability over time. Figure 2 displays a sample 6-hour time series graph, highlighting slight voltage dips during peak load periods, which align with expected behavior in similar environments.
Accuracy and Consistency
To assess accuracy, sensor readings were compared with reference measurements taken using a calibrated multimeter. Results showed a deviation of less than ±5% across all test cases. Table 2 compares sample readings from the sensor node and multimeter, confirming the system’s consistency in capturing electrical parameters.
Metric | Multimeter Value | Sensor Node Value | Error (%) |
Voltage (V) | 226 | 224 | -0.88 |
Current (A) | 0.68 | 0.71 | +4.41 |
Communication Performance
The average transmission delay between the sensor node and backend server was measured at 1.83 seconds, with no significant packet loss observed during the test period. Wi-Fi was used for this test, but future deployments may switch to LoRa or GSM to support longer-range communication.
The system handled multiple sensor inputs simultaneously without delay in data processing or display, demonstrating its scalability for small to medium-scale deployments.
Anomaly Detection
A simple rule-based anomaly detection function was implemented to flag current readings that exceeded a defined threshold. During testing, artificially high loads triggered the alert system as expected, generating visual flags on the dashboard and log entries for further investigation.
Though basic, this functionality shows potential for early detection of abnormal power consumption patterns, which can support faster response times in real-world distribution networks.
This paper presented a practical approach to real-time energy monitoring in emerging smart grid environments, focusing on the application of wireless sensor networks and lightweight data technologies suited for low-resource settings. The proposed system was developed using off-the-shelf components and open-source tools, and successfully demonstrated key capabilities including real-time data acquisition, wireless communication, cloud storage, and anomaly detection.
Testing in a controlled environment showed the system’s accuracy in measuring voltage and current, with average deviations under 5% compared to standard equipment. Communication delays remained minimal, and the dashboard interface enabled intuitive visualization and tracking of energy parameters over time. These results highlight the system’s potential for use in rural, peri-urban, or decentralized grid environments in Ghana and similar contexts.
By tailoring modern sensing and data technologies to local infrastructure challenges, this research contributes to the broader goal of enhancing grid visibility, reliability, and energy access in developing regions.