1. Introduction
At the beginning of 2024, the estimated number of people globally without access to electricity is about 733 million [1]. In Africa, it is still the case for 40% of the inhabitants of the sub-Saharan region. The continent is expected to reach a global demand of 1600 TWh in 2040 and renewables will play a leading role to meet this growing demand [2]. Although Africa has the greatest solar potential, only 1% of total electricity demand comes from solar resources. In this context, community PV microgrids have emerged as the main solution for accessing energy, especially in rural areas with high solar potential. Indeed, a recent World Bank report shows that half a billion people can be supplied with electricity cost-effectively through microgrids [
3,
4,
5,
6].
Due to the DC nature of generation, storage, and consumption devices, DC-coupled microgrids are expected to provide sustainable and efficient solutions for rural electrification. According to the International Electrotechnical Commission (IEC), low voltage direct current (LVDC) microgrids are one of the most important technologies used to enable wide access to energy in developing economies [7]. Consequently, the IEC has proposed general requirements for the design and operation of microgrids in its 62257 standard series, aiming to ensure the effective implementation and utilization of LVDC microgrids in such contexts. Additionally, IEEE is developing the IEEE P2030.10 Standard for DC microgrids for rural and remote electricity access applications [8].
The swarm electrification approach was suggested in 2014 by Groh et al [9]. The proposed architecture was based on the adoption of a low voltage DC architecture, thus avoiding the cost of an inverter. Highly efficient low energy consumption loads were then recommended to limit the current demand and thus minimize cable losses [10]. Subsequently, swarm electrification-driven PV communities are established through the interconnection of existing individual Solar Home Systems (SHS) in a scalable and modular manner [11]. This approach allows for the gradual establishment of decentralized electric infrastructure and complements the cost-efficiency benefits of DC systems. Swarm electrification offers several additional advantages [12]. From an electrical perspective, power generation capacity is dispersed throughout the microgrid area, contributing to minimizing transmission losses. Shorter interconnections also simplify fault isolation within specific systems, minimizing their impact on the rest of the microgrid. From a socio-economic perspective, the organizational model of swarm electrification supports energy democratization in rural regions by empowering individuals to shape their energy systems while fostering a sense of community culture. Swarm electrification can then be a lever to address rural electrification challenges effectively by promptly providing modern electricity services to underserved communities while fostering local socio-economic development.
Energy exchange within these communities allows for the optimization of unused PV production among community prosumers, who can both produce and consume energy, thereby reducing waste and peak shaving. Furthermore, P2P energy trading has been increasingly recognized as a promising solution for ensuring the overall energy efficiency of the microgrid [
13,
14,
15,
16,
17]. Nevertheless, the electric stability of a microgrid is impacted during exchanges, relying significantly on effective power-sharing planning among individual solar home systems (SHS). A review of the literature reveals that, despite the integration of multiple levels of control, maintaining microgrid stability remains challenging due to dynamic load profiles, unpredictable generation resources, and vulnerable storage devices [
18,
19,
20]. This task becomes even more challenging as the number of nodes increases, affecting the scalability of the proposed architectures [21].
Regardless of the chosen electrical architecture and exchange planning, an additional virtual layer must ensure the tracing of exchange transactions to fairly settle participants. Among emerging technologies, Blockchain is fostering P2P energy trading within microgrids [
22,
23]. It allows for peer-to-peer transfer of digital assets without the need for intermediaries or central authority. Enabled by the utilization of smart contracts and automated trade execution, this technology empowers producers and consumers to engage in energy trading with a high level of trust and transparency.
A review of P2P energy markets with Blockchain technology-based control has shown various alternatives for their implementation. However, to the authors' best knowledge, the P2P market model has not been adequately considered in rural areas [24]. This is primarily due to the continued lack of internet access, which remains a significant obstacle to the promotion of innovative P2P energy sharing solutions. Indeed, most of these regions do not have access to the internet or have intermittent access via mobile 4G networks [25] [26]. In addition, the predisposition of the end user to adopt these new technologies constitutes another barrier to the proliferation of such blockchain-controlled rural PV communities [27].
This paper addresses two main challenges in P2P energy trading within swarm electrification-driven PV communities. The first challenge concerns the stability of the microgrid during exchange operations while preserving batteries of prosumers. The second challenge pertains to fostering the implementation of Blockchain control in rural contexts with limited access to ICT technologies.
To address these challenges, an innovative distributed DC microgrid architecture is proposed that facilitates peer-to-peer energy exchange between solar home systems (SHS), ensuring the electrical stability of rural PV microgrids. In order to enhance user experience, a Home Energy Management and Trading System (HEMTS) automates the energy trading process and exchange operations. The HEMTS allows households to seamlessly switch between island mode and microgrid-connected mode, enabling consumption or feeding of excess PV power into the microgrid. Additionally, the concept of community-shared loads is introduced, where secondary (shiftable) loads are powered by the shared energy resources of the community through the microgrid's DC infrastructure. Exchange operations are controlled through a Blockchain marketplace, specifically designed to suit the rural context, using smart contracts that record exchange dates and energy quantities. The proposed architecture is validated in a realistic testbed, which allows for the generation of various use cases and scenarios.
The remainder of this paper is organized as follows.
Section 2 is dedicated to the state of the art. The proposed microgrid architecture and the blockchain-based exchange place are presented in
Section 3. Testbed setup and experimental results are illustrated in
Sections 4. The paper concludes with insights into future works.
2. State of the Art
P2P energy trading in PV communities is supported by electricity and communication networks that facilitate the exchange of both power and data flows, turning individual systems into distributed generation and storage digitized assets. In the literature, several studies have addressed advanced physical and control architectures for PV microgrids [
19,
28,
29]. This review of literature highlights specific areas of focus related to the implementation of P2P energy exchanges in the context of the swarm electrification approach. Firstly, we provide an overview of the main planning tools and architecture topologies. Next, we present advanced-based control structures and techniques. Finally, we delve into the digital trading platforms.
2.1. Microgrid Planning
Planning tools aim to simulate energy exchange scenarios within PV communities, employing a bottom-up approach to aggregate household load profiles [30]. For instance, a field study of a swarm microgrid within a rural village in Rwanda found that the solar systems (with 50 Wp panel and 12 V 17 Ah battery installed in each household) were primarily used to power basic loads such as LED lighting and phone chargers [31]. Typical household consumption patterns were analyzed to estimate the overall energy surplus within the community and, consequently, the potential for adding new appliances to the microgrid without installing additional production or storage capacity. The interconnection of houses enabled the utilization of unused production (about 60% of total production) to supply power to a communal fridge installed in a small village business, extending its operating hours into the evening with the addition of lighting. In this study, the consumption data were only collected over a limited period from microgrid users and a few neighbors. Its geographical scope is also confined to rural areas of Rwanda.
The lack of data in the rural context has initiated several research works focused on generating domestic load profiles in rural microgrids [
32,
33,
34,
35,
36].
Mandelli et al., [32] propose a bottom-up approach for designing effective PV microgrids in rural regions. They introduce the LoadProGen tool, which generates daily household load profiles based on on-site information collected about appliance usage and user behavior for different classes of users. The total load is estimated by summing up the profiles of all classes of users. While the current tool aims to provide a more realistic distribution of load profiles by considering the uncertainty in the operating time of devices and their typical usage periods, there is room for enhancement. The emergence of peer-to-peer (P2P) energy sharing has prompted a reevaluation of solar microgrid sizing, suggesting the need for further refinement in the tool to better accommodate evolving energy sharing dynamics and optimize the sizing of photovoltaic installations and storage batteries to reduce costs.
Arshad et al., [33] addressed cost reduction of standalone SHS by adopting P2P power sharing among DC residential microgrids. They simulated a microgrid of thirty households equipped with PV and batteries assets. The households have been clustered into three categories based on their energy daily demand. The power sharing mechanism is based on computing energy excess and deficit for individual households to identify possible exchange scenarios. These scenarios involve using surplus PV energy or battery capacity to supply the loads of a neighbor or to charge their battery. After enabling the possible power sharing scenarios, the global cost of the system is assessed based on measuring the levelized cost of energy (LCOE) and the loss of power supply probability (LPSP) parameters. The proposed solution requires a central coordinator to select the optimal scenario to be executed. The authors have not considered electrical constraints and additional devices that permit the realization of the proposed exchange scenarios. They don’t provide information about load and production profiles and exchange mechanism.
Sarkar et al., [34] also evaluated the cost breakdown of different PV subsystems considering P2P energy exchange. Based on this study, equipment costs (PV and conversion modules) account for 63% of the total cost, while installation and homologation expenses represent around 27%. Maintenance costs are estimated at approximately 10%. On a small scale, the solar battery is an expensive and vulnerable component as its lifetime depends on the total number of discharge-charge cycles. This number decreases as the depth of discharges increases. In solar systems, it is recommended to limit the number of discharge-charge cycles to one per day.
In addition to analyzing the cost breakdown, other research has investigated how demand changes as the grid expands and the specific characteristics of community locations.
Narayan et al., [35] consider that household load profiles used for the design of rural off-grid systems are unreliable. As in the swarm context, growing electrification leads to greater energy needs and thus a higher load demand. The authors propose a multi-tier framework to construct sample load profiles. They adopt an adaptable, scalable, and bottom-up stochastic load profile construction methodology. The authors create five types of load profiles depending on an ascending electricity demand. The daily demand can be described using pairs of values corresponding to the total and peak demand.
Prinsloo et al., [36] develop a reference consumption pattern that describes the energy consumption daily load profiles for a typical rural isolated African village. The proposed model aims to overcome the difficulty of finding time-series load profiles datasets when designing a new electrification solution. The authors utilized physical measurements of single household load profiles from rural villages in Zimbabwe and Uganda. They assert that the proposed model exhibits a strong correlation with rural profiles in other developing countries. However, it is important to note that the study conducted in this paper focuses on a specific region, and further investigation is needed to determine its applicability to other regions with different energy consumption patterns.
2.2. Microgrid Electrical Architectures
Kumar et al., [37] provide a comprehensive analysis of DC microgrid systems, focusing on their architecture topologies, benefits, challenges, and the need for standardization. They present an overview of various DC microgrid architectures, including radial and ring configurations, as well as their advantages and limitations. The radial configuration is suitable for interconnecting households, offering simplicity and the ability to share power between neighboring units. However, it lacks flexibility during fault conditions. To overcome this limitation, a ring or loop distribution system can be used, incorporating fast DC switches for bus isolation. Different protection schemes are employed depending on the microgrid topology. For radial DC microgrids, overcurrent relays (ORCs) are commonly used, while looped DC microgrids utilize directional overcurrent relays (DOCs) to accommodate bidirectional current flow. Meshed DC microgrid architecture is often adopted for swarm electrification. Indeed, this architecture is modular, allowing for different exchange configurations for the transport of electrical flows. This ensures the scalability of the microgrid by offering more flexible growth [38]. An operating microgrid reference voltage is adopted depending on the nature of the loads. A microgrid can be split into different sections, operating at low voltage (48 VDC) for local household loads or at higher voltage (380 VDC) for either local or communal loads requiring more power, such as solar pumps. In addition to the cabling infrastructure, implementing P2P energy exchanges requires bidirectional meters. These meters enable prosumers to receive payment for exporting excess energy to the microgrid and to be billed for energy imported from the microgrid.
For instance, the microgrid of the village of Murambi interconnected eight households and a small shop using a low-cost distribution system at 48 V DC [31]. The microgrid consisted of 220 meters of 2.5 mm2 distribution cable, with typical distances between connected buildings ranging from 5 to 20 meters. The microgrid's bus configuration topology limits its expansion possibilities.
2.3. Local Control Methods
In a P2P power trading system, dual power source controllers are specially designed to manage power flows in households [19]. During periods of high production, the controller directs power for the loads to come from local sources. Alternatively, during periods of low production, the controller redirects energy needed externally from the microgrid connection. Additionally, the controllers are designed to maintain the stability of the microgrid during exchange operations. Local control in microgrids depends on measurements obtained at the household coupling point, and the conventional droop control method is commonly used to regulate the DC link voltage [39]. However, this method has its limitations, including deviations in the DC bus voltage, inaccuracies in power sharing, and challenges in parameter tuning. Voltage-based protection schemes are employed, particularly to mitigate high transient faults that can lead to voltage collapse. To improve power quality and enhance system efficiency, several alternative forms of droop control have been developed, each with its own limitations. In [19], a hierarchical multilevel control structure is introduced to enhance the operation of a DC microgrid. The primary local control system regulates the bus voltage by adjusting the power output at the coupling point. To overcome the limitations of local control, the secondary control level focuses on reducing voltage differences, ensuring load sharing, and balancing voltage levels. Nasir et al., [20] propose the utilization of a distributed control topology for a DC microgrid architecture that incorporates distributed generation and distributed storage. The proposed design is scalable and can be easily expanded by incorporating new neighboring systems. The household acts as a fundamental unit within the microgrid. Nanogrids (individual households) and communal loads are interconnected via a shared DC bus in a ring topology. Each household is equipped with a bidirectional flyback converter to enable the sharing of resources, facilitating bidirectional power transfer between the nanogrids and the microgrid. Microgrid stability is maintained through a Hysteretic-based distributed voltage droop control algorithm. To ensure the stable operation of the microgrid, the duty cycle of each flyback converter is adjusted to regulate the grid voltage within a specified range. This adjustment is typically guided by a hysteresis maintained at ±2% of the rated grid voltage. The authors conducted an analysis of power flows and distribution efficiency in a rural microgrid model comprising 40 households. They propose that the integration of distributed storage and distributed operation control can improve distribution efficiency, even at low distribution voltages. When ensuring the stability of the microgrid, the algorithm imposes a constraint that the state of charge (SOC) of the household battery remains within the allowable minimum and maximum limits. However, it does not take into account partial discharges or the number of discharge-charge cycles, which can have a significant impact on the battery's lifespan.
Madduri et al., [40] implemented a distributed droop-voltage power-sharing scheme for controlling a DC microgrid to operate in a range between 360 and 400 Vdc. Each household is connected to the microgrid through a local power management unit. A higher microgrid voltage indicates a greater availability of generation supply. However, the microgrid's distribution-bus voltage decreases during periods of low supply or high demand. In such cases, the power management units reduce the power they draw from the microgrid by adjusting the load line impedance. The distributed voltage control system, coupled with the communication capacity of the power management units, allows for coordinating load prioritization. Local demands are adjusted to ensure that sensitive loads (e.g., hospitals and water purification facilities) are given a higher priority for consuming the available microgrid power. The ability to adjust local demand also enables the implementation of grid-wide demand response mechanisms. Although the proposed solution has undergone experimental verification through various protection schemes and hardware methods, it requires specific power electronics to create a controllable constant power source.
2.4. Advanced Control Techniques
Advanced control requires communication among microgrid nodes. Communication links connect the distributed units, enabling seamless data sharing and coordination [39]. Marzal et al., [41], classify communication architectures based on topology and decentralization level. Decentralized communication architectures offer advantages by mitigating single point failures and enabling scalability. Smart microgrids are capable of integrating both wired and wireless communication technologies. In ad hoc communication networks with radio nodes, which are suitable for rural geographic zones, the commonly used protocol is IEEE 802.14.5. Regardless of the physical medium, the Internet Protocol (IP) is widely used as the networking layer protocol, operating independently of the underlying physical media. This enables interoperability between non-compliant end-devices and compliant communication networks from various vendors.
Effective community energy management relies on coordinating smart homes using various techniques [42]. Centralized coordination involves optimizing appliance schedules or influencing customers through price signals, while decentralized coordination allows end-users to schedule their assets directly. Coordination techniques, including multi-agent systems (MAS), game theory (GT), and optimization, facilitate cooperation and coordination among houses. Optimization is the dominant technique in community energy management, determining optimal schedules for smart homes and the neighborhood. However, optimization faces challenges with computational demands and privacy concerns regarding detailed end-user information. MAS are widely used for decentralized coordination due to their effectiveness in distributed problem-solving scenarios, enabling advanced coordination among homes. MAS implementation costs can increase due to the larger number of communicating entities. Game theory empowers independent players to make strategic choices, making it suitable for decentralized coordination and accommodating new participants. It shows promise in managing residential loads, but reaching an equilibrium state becomes more challenging in larger-scale applications.
Harish et al., [17] studied different topologies for controlling P2P power sharing and developed a three peer P2P model for electricity exchange in a rural DC microgrid. The three peers are prosumers, consumers, and a centralized third-party P2P station. The model was built in MATLAB/Simulink environment and aims to minimize PV power losses by balancing demand and supply of microgrid households. In the proposed architecture, transaction information is sent to the central decision making station which computes surplus power of each household knowing their hourly demand and generation. The central station coordinates energy management among all the prosumers and consumers, determining an optimal power sharing scenario using Matlab’s fmincon solver [43]. The authors adopted household load data from Global LEAP Award winners and did not provide information about used PV production profiles.
Werth et al., [44] used two distributed strategies for controlling P2P energy exchange. In trigger-only strategy, exchanges are triggered by battery charge/discharge requests corresponding to SOC low/high levels. In the amount-based strategy, units predict their production/consumption to know the amount of energy that can be exchanged. Unlike the first strategy, exchange flows have to be controlled to stop the exchange when the energy amount is reached.
In Bangladesh, solar peer-to-peer microgrids, built following the swarm electrification approach, have proliferated in recent years [12]. The proposed architecture lies in meshed DC microgrids and wireless communications. Solar Home Systems (SHS) are connected to the microgrid via an IoT device (Solbox), which facilitates both energy monitoring and bidirectional energy exchange control and metering. The technology provided by SOLshare, a Bangladeshi startup, enables households to monetize surplus electricity trading through mobile money [45]. The company has established a centralized energy marketplace called SOLbazaar, where customers can sell excess generated power. Based on the information collected from all the IoT nodes, an ICT backend handles payment, customer service, and remote monitoring. A new version of the Solbox device integrates artificial intelligence and operates at higher voltages, allowing for more efficient power transmission and handling of larger loads. Although the proposed architecture has significantly contributed to the proliferation of PV communities in the Bangladeshi context, its export to other countries should be approached with caution. The centralized solution relies on end-to-end integration and does not separate the various services associated with P2P exchanges, such as electrical control, energy management, energy metering, and energy trading. It seems that this partly deviates from the main idea of the swarm approach, which aims to support the seamless integration of existing SHS and requires the interoperability of hardware from different vendors.
In addition to coordinating and controlling P2P exchanges, other innovative ICT-based solutions offer the possibility of executing P2P transactions without intermediaries, thereby paving the way for the emergence of decentralized trading platforms. This topic will be addressed in the next section.
2.5. P2P Trading Platforms
The P2P platform operates in a more decentralized manner compared to the P2G system, where excess energy is sold directly to a central utility using a feed-in-tariff policy. Consequently, it requires secure technologies such as blockchain [46]. Focusing on energy management and trading, several works propose Blockchain-based P2P energy trading for promoting solar microgrids. According to [47], a Blockchain is a distributed database, which is shared among and agreed upon a P2P network. Community members are allowed to interact according to their own rules without any restrictions imposed by third parties. Smart contracts are fed by data from smart meters that allow transactions to be tracked enabling real-time settlement. [48].
In fact, a study of 140 blockchain initiatives in the energy sector shows that 33% of them relate to decentralized energy trading [49]. In rural environment, the application of Blockchain technology is seldom considered due to the lack of needed infrastrure. Melvin et al., [50], considered rural area model which is not internet-dependent. The authors simulate a Go ethereum network and evaluate it against the IEEE Std 1547.3, which provides a guideline for monitoring, information exchange, and control for distributed resources interconnected with electric power systems. However, authors rely on an estimated load profile rural area, a simulated Blockchain environment and a very basic smart contract that needs face to face meetings to honor exchanges. They also seldom considered the deployed Blockchain network architecture. Additionally, the energy exchange process relies on manual and face-to-face meetings, negating one of the key benefits of utilizing smart contracts, i.e automation.
Due to the scarcity of existing literature addressing energy trading platforms in rural contexts, we provide an overview of several Blockchain-based platforms that have been implemented. In [51], authors are based on a double auction market implemented via a closed order book, with discrete market closing times and price-time precedence. For each time slot, a uniform market clearing is determined according to the lowest bid price that can still be served given the aggregated supply. An order is kept encrypted with public key that correspond to a participant private key for its decryption.
The Brooklyn project [48] developed by US-based LO3 Energy uses an Ethereum-based energy market-specific platform covering a 10-by-10 housing blocks area, and spanning three distribution grid networks. Producers and consumers trade locally generated electricity from one another. Smart contracts were employed to carry out and record transactions between neighbors. They were also used to tokenize the net surplus energy generated by producers as recorded by Blockchain-aware meters. The market mechanism is implemented through an information system. Based on stored transactions in the Blockchain, sells and orders are registered in a closed-order book. The market mechanism has the objective to provide allocation of the traded energy by matching, in an off chain way (out of Blockchain), the market participants sell and buy orders. In fact, consumers constantly bid their maximum price limit for their energy sources. Bidding is performed each 15 mn, so that the highest bidder is allocated first, then the lower bidders are allocated. The last allocated bid price represents the market clearing price for this time slot. Prices will vary according to demand and supply as well as socioeconomic characteristics.
Targeting developing economies with little experience in electricity markets and limited knowledge of conducting electricity transactions, Yang et al. [52] design a Blockchain-based platform for managing renewable microgrids. Their solution aims to enable automated electricity transactions through tokenization and smart contracts, with users being able to set the transaction rules. The platform incorporates a multi-signature mechanism to ensure a tamperproof record of operational and administrative data of the microgrid.
Ultimately, for the successful implementation of P2P trading in rural areas, it is imperative to adopt a user-centric approach and meet their expectations [53]. Failing to understand the lifestyles and behaviors of the local population, combined with a lack of trust and resistance towards embracing new technologies, can result in designs that do not align with the interests and preferences of the communities. Kirchhoff et al., [27] establish a systematic assessment from the user perspective for P2P energy exchange within microgrids in the context of rural electrification. According to their study, microgrid users expect to reduce electricity purchase costs. They also believe that P2P energy exchange will allow them to earn from the sale of electricity. In addition, users need flexibility in payment depending on the amount of electricity exchanged. They want to predict their ability to share electricity by monitoring their systems closely and are willing to change their usage behavior when excess energy is available. Finally, they want to know when they will exchange energy and the exact amount of enegy that will be exchanged.
In conclusion, the literature above allows us to deduce a set of recommandations for the design of an architecture that guarantees P2P exchanges within swarm electrification-Driven PV community.
The electrical microgrid architecture has to be reliable to minimize maintenance operations. The microgrid has to support exchanges between all community members and be easily extensible. The DC microgrid architecture has to guarantee the protection of PV household installation and permit controlled power flows during exchanges. In particular, the electrical design has to protect local battery from abuse and from electrical incidents caused by the coupling to the microgrid. PV energy production excess may be used to feed a neighbor without PV installation or to operate the energy-consuming loads of a neighbor improving their comfort. Satisfying user’s expectations will ensure their participation and hence the success of the proposed solution. Users must have control over their household PV ressources usage and over exchange operation conditions.
The use of smart metering devices, communication networks and innovative control techniques will guarantee the transparency and integrity of exchange data. The community rules must be respected by using smart contracts that match the community policy. The settlement mechanism must be fair and reward users who have shared their renewable resources without the need of for a middleman.
3. The Proposed Architecture
A DC-microgrid architecture that allows for P2P exchange of renewable energy between community members in offgrid rural regions is here proposed. As depicted in
Figure 1, our proposed architecture is composed of an electrical layer and a virtual layer. The microgrid interconnects households at a local level through a DC common bus ensuring the exchange of electricity flows. Households are connected to the community bus via a DC/DC module adapted to the distribution voltage. Each household may be equipped with PV production equipment and storage devices (e.g., a battery).
Wireless communication enables data exchange between households. A HEMTS (Home Energy Management Trading System) is deployed in each household and is connected to the blockchain-based energy exchange place for executing the P2P trading transactions.
3.1. The Electrical Architecure
The proposed electrical architecture guarantees that the local resources such as local PV and batteries are used primarily to power household loads. Local energy is managed to always meet local primary (non shiftable) loads. Any excess energy may be stored in a local battery or shared with community members. As shown in
Figure 2, secondary (shiftable) loads can be powered by either household local resources or excess energy from a neighbor. The proposed architecture considers secondary loads as community-shared loads. Each community member uses their own energy. However, to meet their energy needs and ensure their comfort, they also use the available shared energy from their neighbors to power their shiftable loads.
Furthermore, the local battery is protected from over-usage as it is not directly connected to the common bus. It is always controlled by the Maximum Power Point Tracking (MPPT) module as in a standalone installation. By coupling the household from the MPPT load output, it provides a stable voltage at the bus coupling point. This also allows for the control of the total load and makes it possible to decouple from the bus when needed.
Hence, the architecture offers the possibility of switching between three operating modes that are fully controlled by the HEMTS using two relays.
Autonomous Mode: (RL1 OFF; RL2 OFF): Isolates the home installation from the microgrid. Local ressources are used to satisfy household loads.
Prosumer Mode (RL1 ON; RL2 OFF): Connects the house on the microgrid bus to inject electrical energy in case of surplus. A Diode (D) guarantees that energy flows only from household to the community bus.
Consumer Mode (RL1 OFF; RL2 ON): Connects the household on the microgrid bus to purshase electrical energy in case of need. In this case, secondary load demand may be satisfied from a neighbor prosumer.
In order to enable this multimode operation, a coupling device must be added to the typical household PV installation as shown in
Figure 3. This coupling device is controlled by the HEMTS depending on the household operation mode.
Moreover, in order to ensure P2P transactions, a smart metering device is used to measure ingoing and outgoing power flows. The measurement data is used to process energy payments. With our proposed architecture, two methods of payment may be envisaged. In the first case, all peers share a single electric circuit (the common bus) to exchange power flows. Smart metering data is used by the marketplace to track operations and establish participant earnings and dues. In this case, purchases are periodically post-paid. In the second case, a central switching module is added to the LVDC infrastructure (see
Figure 4). The role of this module is to establish a dedicated electric circuit between a prosumer and a consumer. All houses of the microgrid are connected to the central switching module. For example, if there is an electrical exchange between house 1 and house 2, only switch 1-2 will be closed, while the other switches remain open. In this star topology, the outgoing energy measured at the prosumer’s smart meter is expected to be equal to the incoming energy measured at the consumer’s smart meter. Peers involved in exchange may choose between the post-payment or the pre-payment mode. In this second payment method, peers may simply make a deal by alternating the use of the excess energy from the two household installations. By using a dedicated electric circuit for each electric exchange, the reliability of the microgrid may be improved.
In the proposed star topology, the microgrid architecture is based on LVDC electric network. It is an easily extensible architecture. A Wireless NAN enables household smart meters to access the Internet by using a common wireless access point as detailed in
Figure 5.
3.2. Blockchain-Based Control in Rural Context
The application of the Blockchain-based exchanges place in rural environment is seldom considered by the research community. In this section, we give particular attention to the application of Blockchain in rural environment context, covering aspects ranging from the architecture to payments and automation.
Blockchain use requires a network for transaction performance, validation, achieving consensus among peers, and updating the ledger. However, in the context of rural communities, internet-based communication may not be available. In such cases, a local network can be established among participating peers.
To adapt the exchange place to rural context, we utilize an accout unit as price for exchanged energy instead of cryptocurrency, making it more suitable for off-grid low-income households. Specifically, we build upon the Quorum permissioned Blockchain platform [
41] eliminating the need for rewarding peers for the mining process. Consequently, households participating in the microgrid installation are initially provided with a sum of unit accounts. These unit accounts serve as the means for paying and trading energy . Each user can specify their preferred energy price, such as 1 kWh = 2 account units.
Considering the rural environment, automation plays a crucial role in reducing barriers the community to adapt such a system. To achieve this, the Home Energy Management and Trading System (HEMTS) and the generic exchange place are integrated to automate all the processes, as depicted in
Figure 6.
By Providing the consumption and production estimation, the HEMTS posts offers, in the case of energy excess or requests, in the case of energy scarcity (1). The exchange place then matches these offers and requests notifying the HEMTS of the available offers (2). Once the HEMTS automatically accepts the offer(s) (3), a payment contract is created on the Blokchain (4). This contract stores all the necessary data for payment settlement, including the begin and end time of delivery, the quantity to be delivered and, the price per Watt-hour. This data is subsequently utilized by the HEMTS to trigger the energy exchange process.
When the begining delivery start time is reached, the HEMTS of the prosumer initiates the delivery process, while the HEMTS of the consumer initiates the consumption process (5)(6). The end of delivery is triggered either when the required quantity has been delivered or when the end time of delivery is reached (7). The actual delivered and consumed energies, as measured by smart meters, are recorded in the Blockchain. Payments are adjusted based on the minimum value between the delivered and consumed energies.
3.3. Home Energy Management and Trading System
The control of the HEMTS multimode operation, which ensures P2P energy exchange and guarantees preservation of the household battery, is described in the state diagram shown in
Figure 7. In this diagram, each operation mode is associated with a state, and transitions are triggered by signals from the battery control and the energy exchange control. As explained in paragraph 2.2, the timing signals and energy quantities are specified in the smart contract within the exchange marketplace after successful matching of trading operations. The beginDelivery time and beginConsumption indicate the date of the exchange. The endDelivery condition is satisfied when the quantity to be delivered is reached or the delivery end time expires. Similarly, the endConsumption condition depends on the quantity to be consumed and the consumption end time.
In our work, we propose a new hybrid P2P exchange control strategy. It is based on both trigger-only and amount based control strategies [44]. Exchanges are triggered depending on the battery SOC levels and an estimation of the energy demand. The multimode operation of the HEMTS is detailed in the flowchart shown in
Figure 8. In all operating modes, the HEMTS continuously monitors the SOC level of the battery. In autonomous mode (refer to
Figure 8-a), if the measured SOC exceeds a pre-set trigger value SOCp or falls below a pre-set trigger SOCc, both defined by the user, the HEMTS calculates an estimation of energy excess E
sh or energy request E
rq, respectively. Based on the calculated quantity, an offer is posted if E
sh exceeds the offer threshold O
th, or a request is posted if E
rq exceeds the request threshold R
th on the exchange place.
In prosumer mode (refer to
Figure 8-b), if the measured SOC value falls below a minimum value SOC
pmin, the HEMTS returns to autonomous mode to preserve the battery. Similarly, in consumer mode (refer to
Figure 8-c), if the measured SOC value exceeds a maximum value SOC
cmax, the HEMTS returns to autonomous mode.
Then, the exchange place suggests the available offers, in case of posting a request and send notification of available requests, in case of posting an offer.
In order to implement this control approach, we have formulated the equations needed to calculate the required values and estimations, which are detailed below.
The battery state of charge at time t (SOCt) is estimated based on its SOC at time t-1 (SOCt-1), using the current (Ibt) and voltage (Vbt) values in the time interval Δt between t-1 and t as well as the total battery capacity (Etbat) [54].
The total battery capacity E
tbat, is typically expressed in Ampere- hours (Ah). If we assume that I
cbat is the battery capacity in Ah and V
bat is the battery voltage, the total battery energy (E
tbat) can be expressed in Watt-hours (Wh) as follows:
Then, SOC
t is expressed as follows:
The total energy demand for each time slot is computed based on the power demand and periods of use for each appliance, as shown in Equation 3.
- ➢
- ➢
- ➢
- ➢
The estimation of energy excess quatitiy is performed each time the battery SOC exceeds the pre-set trigger value SOC
p (the Prosumer Start Trigger). To estimate the energy excess quantity E
sh(t), the energy stored in the battery at time t, E
bat(t) is computed based on its SOC
t.
In the same manner, an estimation of energy request quatitiy is performed each time the battery SOC falls below the pre-set trigger value SOCc (the Consumer Start Trigger).
The efficiency of DC coupled SHS depends on the efficiency of each equipment. When PV production exceeds power demand, the SHS efficiency is expressed by equation (5). Referring to technical equipments specifications
is about 81%.
- ➢
- ➢
- ➢
When loads are powered from battery, the SHS efficiency is expressed by equation (6). If we consider that the discharge efficiency of the battery is 80%, the SHS efficiency falls to about 65%.
- ➢
Since the shared-loads are powered by the excess PV production, we use equation (5) to estimate the efficiency of energy conversion in case of exchange. However, we must also consider additional losses due to coupling to the microgrid and transport to the neighboring house.
After defining the electric architecture and the exchange process, a small scale testbed is implemented and presented in the the following section.
5. Conclusion
The United Nations Sustainable Development Goal (SDG) 7 aims to ensure access to affordable, reliable, sustainable and modern energy for all by 2030. However, the expansion of solar energy solutions like the Off-grid rural PV depends on local government’s policy. Since the majority of investment is foreign, adoption of off-grid solar systems at affordable prices is often dependent on the liberalization of the national energy sector and lower equipment costs. Efforts still need to be made to address other barriers related to the market for off-grid products and services that can serve as a basis for economic growth and development.
Through this work, we aimed to contribute to the adoption of solar solutions and innovative services adapted to the rural context. The proposed fully distributed architecture has been designed taking into account the profile of the end user and to be easily operated by solar installers. Indeed, it was carried out in such a way as to constitute an extension of the existing solar home systems.
We have demonstrated that P2P energy exchanges through a blockchain controlled marketplace present an attractive solution capable of improving user comfort by maintaining both facility security and providing ease of use. Since energy power flows are scheduled following matched demands/offers, the microgrid power balance is always controlled.
In order to leave the choice to the end user, the HEMTS system has been designed to keep full control over its own installation. The user defines the schedules and the rules to ensure efficient and profitable energy exchange.
P2P exchange scenarios have been developed to illustrate the complementarity between households. They are controlled through a Blockchain marketplace, specifically designed to suit the rural context, using smart contracts that record exchange dates and energy quantities. Experimental results demonstrate the effectiveness of the solution in achieving peak shaving, with 11% of the requester's total demand being provided from the community. This leads to reduced discharge-charge cycles to one per day, preserving battery life. Furthermore, the solution achieves a significant reduction in prosumer's production losses, amounting to 16% of the total PV production. Further scenarios can be considered to validate our energy sharing approach