1. Introduction
Fossil fuels remain the dominant energy source, contributing to 75% of greenhouse gas emissions [
1]. To ensure a sustainable future, a shift in the electricity generation mix is imperative. In line with the EU’s goal of achieving climate neutrality by 2050 [
2], this shift will increasingly rely on low-carbon sources, including renewable energy sources (RESs) and nuclear power. Due to ongoing promotion, RESs have gradually expanded their share, reaching an estimated 23% of the global energy mix in 2023 [
3]. Among these, solar energy is particularly crucial on the path to decarbonization. It harnesses the sun, the most abundant energy source, and can be utilized for both thermal and electrical energy through photovoltaic (PV) systems, serving a wide range of energy consumers, from residential homes to industrial facilities. In addition, the integration of these systems into microgrids is crucial for enhancing the sustainability and efficiency of power generation [
4,
5]. In summary, photovoltaic solar energy, known for being clean, low-maintenance, and increasingly accessible due to rapid technological advancements, has become one of the most mature and widely adopted RESs today [
6].
Thus, focusing on PV systems, advancements in key research areas have driven significant and sustained growth. As a result, a wide variety of applications is now available. For instance, PV power plants have gained popularity in recent years due to their increasing capacity for power generation [
7]. In addition, PV modules are now commonly installed on the rooftops of residential and commercial buildings, primarily to reduce electricity costs [
8]. However, generating energy to meet energy consumption demands is not the only purpose of PV systems. They are also employed in various innovative applications, such as producing green hydrogen through water electrolysis [
9] or powering water desalination systems [
10], among others.
Basically, a PV module consists of an aggregation of PV cells, with the output power of each cell influenced by the technology chosen, temperature and irradiance conditions, and shading. Recent advancements in PV cell technology have concentrated on developing new materials and manufacturing techniques, as well as the mathematical models that represent their operational principles.
Accurate mathematical models are crucial for effectively reproducing PV performance curves, specifically the current–voltage (I-V) and power–voltage (P-V) curves. These models allow engineers and researchers to predict the behavior of PV cells at various operating points, defined by specific values of power, irradiance, and temperature, all of which are influenced by the specific application and configuration of the PV installation. Widely used models include the 1M3P (one model, three parameters) and the 1M5P (one model, five parameters) [
11]. The 1M5P stands out because it incorporates additional parameters, providing a more accurate representation of the electrical behavior of a PV solar cell compared to the simpler 1M3P model. These models serve as excellent tools for predicting the performance of PV modules in any location, avoiding the physical, climatic, and economic limitations associated with real-world studies [
12,
13].
After modeling the PV module, the next step involves controlling its operating point, defined by its power, irradiance, and temperature values. This control is critical when the PV module is integrated into a microgrid, as it significantly enhances the system’s flexibility in managing energy. In this context, the operating point of a PV module can be either the maximum power point (MPP), representing the highest achievable output, or a power reserve point (PRP), which is set above the MPP. Targeting specified PRPs is crucial for participating in power reserve scenarios, particularly when energy storage systems are not available. In addition, targeting PRPs is essential in applications where the optimal operating point is not the MPP, such as in certain innovative applications previously mentioned.
Effective algorithms are essential to control the operating point. Traditionally methods such as Perturb and Observe (P&O) [
14], Incremental Conductance (IncCond) [
15], and Constant Voltage (CV) [
16] enable continuous adjustments. Although traditionally used for MPP tracking, these algorithms can also be adapted to target other operating points like PRPs. The P&O method periodically adjusts the reference voltage, which is the initial setting for each iteration of the control algorithm, and observes its effect on power output to determine the operating point. The IncCond method, by comparing incremental changes in current and voltage, predicts the direction to the operating point more accurately than P&O, especially under rapidly changing conditions, although it is more complex and computationally demanding. The CV method maintains a fixed reference voltage close to the operating point voltage, minimizing adjustments and simplifying the control system, but may struggle with significant environmental changes. Furthermore, advanced methods such as fuzzy logic-based control algorithms can provide enhanced dynamic response and accuracy; however, their implementation tends to be more complex and demanding [
4,
5]. Given its balance of simplicity, speed, and efficiency, the P&O method is often favored in practical applications where rapid response and ease of use are priorities [
17].
However, rigorous testing under varying conditions is essential to ensure the effectiveness of algorithms that control the operating point of a PV module. Real-world studies involving actual PV modules and natural conditions have significant limitations, as previously mentioned. An alternative approach involves conducting studies in a laboratory setting using actual PV modules, where temperature, irradiance, and shading conditions are controlled. However, this setup is not without challenges—it is complex, costly, and inefficient due to the large area required for the PV modules and the reliance on artificial lighting.
To overcome these challenges, PV emulators offer an effective solution by replicating the electrical characteristics, specifically the I-V curve, of a PV module or an array of modules under various conditions. These devices not only facilitate the modeling and control of PV systems but also serve as essential tools in academic settings, helping in the teaching of the principles and control strategies of PV systems [
18].
In summary, PV emulators simulate the behavior of real PV modules, providing researchers and engineers with a flexible, cost-effective, and efficient solution to test and refine their applications without the need for physical PV modules or the complexities of varying environmental conditions.
PV emulators can be categorized into several types, each with distinct characteristics and applications. Analog PV emulators use analog circuitry to replicate the I-V characteristics of PV modules, offering simplicity and cost-effectiveness but limited flexibility [
19]. Digital PV emulators rely on microcontrollers or digital signal processors (DSPs) to model PV behavior, providing greater flexibility and the ability to simulate complex scenarios; however, this approach involves higher costs and complexity [
20]. Hybrid PV emulators combine analog and digital approaches, aiming to balance performance with flexibility, though they tend to be more complex and costly [
21]. Real-time PV emulators are advanced systems designed for high accuracy and dynamic response, making them particularly useful for testing systems under rapidly changing conditions, but they are the most expensive and complex to implement [
22]. Each of these emulator types is based on specific devices that align with their intended function, ranging from simple analog components in analog emulators to microcontrollers and DSPs in digital emulators, a combination of both in hybrid emulators, and high-performance processors and real-time systems in real-time emulators.
Among digital PV emulators, those based on programmable power supplies are valued for their balance of simplicity and flexibility, although they tend to be costly. These emulators offer a practical solution for testing and developing PV systems by accurately replicating the characteristics of PV modules without the need for physical solar panels [
23].
However, when the objective extends beyond simple replication to include testing within a microgrid scenario—an essential step for promoting the integration of PV systems into microgrids—more complex features are required from a PV emulator, including critical functions such as measurement, control, and communication. To address this, the use of a multi-layered platform that incorporates the PV emulator, along with measurement instrumentation, control systems, and communication processes, is crucial. This setup should enable precise control of the operating point, allowing the system to operate not only at the MPP but also at specified PRPs, which is essential for participating in power reserve scenarios, particularly when energy storage systems are not available. In addition, it should offer a controlled environment for dynamically adjusting temperature and irradiance values.
While the literature on PV emulator platforms has made significant contributions, it also reveals several notable limitations. Firstly, most existing PV emulator platforms are designed for low-power applications and are therefore not suitable for microgrid integration, which typically requires higher power levels in the range of kilowatts [
24,
25,
26]. Secondly, PV emulator platforms primarily focus on reproducing experimental I-V and P-V curves, but they often fail to address dynamic changes in three critical parameters: operating point, temperature, and irradiance [
27,
28,
29]. Although a PV emulator based on artificial neural networks and piecewise-linearization techniques, as proposed in [
30], introduces dynamic changes in irradiance, temperature, shading, and load, it does not fully incorporate adjustments to the PV array’s operating point, such as tracking the MPP or PRP. Moreover, the current literature lacks a comprehensive approach that provides insights into a platform integrating power systems, control systems, measurement instrumentation, and communication processes. This platform would facilitate dynamic adjustments in operating points, temperature, and irradiance conditions for high-power applications intended for microgrid integration.
After analyzing the state of the art concerning PV emulator platforms in the literature, it was concluded that existing platforms lack the necessary measurement, control, and communication capabilities required for in-depth dynamic adjustment of operating points, temperature, and irradiance in high-power applications. This gap, demonstrated in
Table 1, motivated the development of the PV emulator platform described in this paper.
This paper presents a PV emulator platform that provides a solution for integrating PV systems into microgrids or directly connecting them to the grid. It efficiently manages various operating points, including the MPP and specified PRPs. The platform features a four-layer architecture that seamlessly integrates power systems, control systems, measurement instrumentation, and communication processes, allowing for the precise emulation of PV systems under controllable temperature and irradiance conditions. In addition, the inclusion of a BESS emulator and the ability to follow sequences of operating points further enhance the platform’s capability to dynamically manage energy within a microgrid. The platform also serves as an invaluable academic tool for teaching the operational principles of PV systems, their modeling, control, and integration into microgrids. In addition, the platform can also be used for developing components for PV systems, such as PV inverters [
31].
Table 1 provides a comparative overview of the key features identified in the discussed literature, including the emulation of I-V and P-V curves, the dynamic changes in operating points, temperature, and irradiance, as well as the power capacity for microgrid integration. This table highlights the strengths and weaknesses of each reference, illustrating how the proposed platform successfully achieves all these critical features, thereby filling the identified research gap.
Based on everything discussed in this section, this paper is novel for the following reasons:
- (1)
The proposed platform facilitates the integration of PV systems into microgrids, offering a robust testing and development environment from the supplier’s perspective.
- (2)
It can emulate a wide range of PV systems, delivering output power according to specific environmental conditions. This versatility is crucial in scenarios with diverse energy consumers, such as residential houses and industrial facilities.
- (3)
The platform not only emulates but also facilitates the integration of PV systems within a microgrid, whether operating at the MPP or in power reserve mode at the specified PRP. This functionality is ensured by a microgrid interface (MGI) that allows the MGS to specify the desired operating point, along with an adapted control algorithm that targets this point. Both are seamlessly integrated into a robust communication layer.
In addition, the platform is characterized by the following key features:
- (1)
An Integrated Four-Layer Architecture: the platform incorporates four essential layers—power, control, measurement, and communication—enabling precise control over the PV array’s operating points under varying environmental conditions.
- (2)
Dynamic Testing Environment: by efficiently managing sequences of operating points and incorporating a BESS emulator, the platform provides a robust environment for microgrid testing.
- (3)
Advanced Control and Communication: The platform features sophisticated control algorithms and communication protocols. These elements are comprehensively detailed, enhancing the interaction between the hardware components and the MGI, thereby significantly advancing the state of the art in PV emulation.
The rest of the paper is organized as follows:
Section 2 outlines the theoretical framework, experimental setup, and methodology employed in developing and evaluating the PV emulator platform.
Section 3 explores the platform’s four-layer architecture, detailing the roles of each component.
Section 4 presents the results from the experimental setups conducted. The paper concludes with
Section 5, which discusses the implications of the findings, and
Section 6, which summarizes the contributions of this study to renewable energy research and offers insights into the developed platform.
3. Developed Platform for PV System Integration into Microgrids
This section provides a detailed description of the developed platform, including its components, their roles, and how they interact. It also includes details about the algorithms implemented for data collection, control, and communication. The development of the platform that follows is based on the fundamental concepts outlined in
Section 2.1.
As shown in
Figure 2, the platform comprises four distinct layers, each fulfilling a specific role and establishing interactions between the different components of the platform.
Layer 1 consists mainly of the power systems that supply, convert, and store energy in the platform. This includes a unidirectional DC power supply acting as a PV array emulator, a DC/DC boost converter for power management, and a bidirectional DC power supply functioning as a BESS emulator. Layer 2 encompasses the measurement components, such as voltage and current sensors, which are crucial for monitoring and control. Layer 3 includes the control system, featuring an acquisition and control board that ensures the PV array emulator operates at any point within its performance curves, i.e., I-V and P-V curves. Finally, Layer 4 involves the communication board and an MGI for configuration and monitoring. All components involved in Layers 2, 3, and 4 are set in the measurement, control, and communication (MCC) module, as shown in
Figure 2. This module includes the Data Communication Board (DCB), the Data Acquisition and Control Board (DACB), and the sensors necessary for the measurement process. The functions, components, and processes involved in each layer are described below.
3.1. Layer 1: Power
Layer 1 features a customized circuit, as shown in
Figure 3, comprising a PV array emulator, a DC/DC boost converter, a BESS emulator, and other electrical components such as a resistor (R), an inductor (L) and a capacitor (C). The DC/DC boost converter serves as a link between the generation source (PV array emulator) and the storage (BESS emulator) and is essential for several reasons. Firstly, it regulates the voltage by stepping up the output from the PV array emulator to match the voltage required by the BESS emulator, which, in this case, is 350 V. Moreover, the DC/DC boost converter facilitates tracking of specified operating points, ensuring the PV array emulator functions effectively across all performance curves.
A power supply from the EA
®-PSI 9360-15 series (EA
® Elektro-Automatik, Viersen, Germany) [
40] was selected as the PV array emulator. This initial use of a power supply to emulate the real behavior of PV arrays provides an approach for testing and development. However, the next objective will be to replace the emulator with actual PV arrays.
The output from the PV array emulator is connected to a custom-built DC/DC boost converter featuring a modular IGBT power stack with reference MTM-1/2B2IC0225F12HB (GUASCH
®, Barcelona, Spain) [
41]. This converter includes two IGBTs (T1 and T2); in this configuration, T1 remains open due to a fixed signal (S1), while T2 is driven by a control signal (S2). The modular IGBT power stack is complemented by a resistor (R), an inductor (L), and a capacitor (C) to build the DC/DC boost converter, with values detailed in
Table A1 of
Appendix A.
Modeling the circuit depicted in
Figure 3 focuses on the dynamic behavior of the DC/DC boost converter under various operational conditions. Given that T1 remains open, the behavior of T2 significantly influences the circuit dynamics. When T2 is on, the inductor charges from the input, resulting in an inductor voltage
as defined by (4):
Here, represents the input voltage from the PV array emulator.
Conversely, when T2 is off, the inductor discharges to the output, leading to the voltage at the inductor and the rate of change in inductor current as outlined in (5) and (6):
where
denotes the capacitor’s voltage, which equals the output voltage
.
The dynamics of the capacitor’s voltage are governed by the differential equation shown in (7):
where
is the current through the inductor, and
is the total current flowing through the RC load, calculated as follows in (8):
The output of the boost converter, i.e., the RC parallel branch depicted in
Figure 3, is connected to a power supply from the EA
®-PSB 9000 3U series (EA
® Elektro-Automatik, Viersen, Germany) [
42]. This power supply, which emulates the behavior of a 350 V Li-Ion battery, imposes the output voltage
referred to above. This setup functions as a BESS, allowing for operations both as an energy source and a sink. It enables charge and discharge cycles while monitoring and controlling the key indicators of the BESS.
3.2. Layer 2: Measurement
Layer 2 handles the acquisition of voltage and current measurements from the PV array emulator and forwards them to the next layer, the control layer. The sample time considered in this work was 1 ms.
The DACB includes all sensors in this layer: a current transducer for measuring voltage (LEM
® LV 25-P) [
43] and a non-invasive current sensor (LEM
® LA 55-P) [
44], both manufactured by LEM
® International SA in Geneva, Switzerland. The temperature and irradiance sensors were excluded from the DACB because the platform aims to emulate real conditions within a laboratory environment, not to conduct tests with actual equipment outdoors. Accordingly, the values normally provided by these sensors,
for temperature, and
for irradiance, are artificially generated on the DACB based on historical data relevant to the specified location, as depicted in
Table 4. Furthermore, other instruments, such as multimeters and oscilloscopes, were employed to assess voltage and current measurements and to display control signals, respectively.
3.3. Layer 3: Control
Layer 3 enables the PV array emulator to operate at any point within its performance curves, including the MPP or a specified PRP while accounting for variations in temperature and irradiance. To achieve this, Layer 3 employs a hybrid control strategy that combines PI control with an adapted P&O approach. This system integrates the DACB, an Arduino
® MEGA (Arduino
® SA, Ivrea, Italy) [
45], and a custom-developed algorithm programmed on the board.
The systematic approach for controlling the PV array’s operating point is depicted in a comprehensive flowchart, as illustrated in
Figure 4.
The algorithm begins with the initialization of all necessary parameters. This involves setting the initial reference voltage,
, to 3% above the theoretical MPP. This setting represents the starting point for the control system to begin tracking the MPP of the PV array emulator. In addition, it is necessary to initialize the starting values for the previous iteration for both the PV voltage
and PV power
, both of which are set from zero. The temperature
and irradiance
are also provided, depending on the specified case. Regarding the P&O algorithm, it is essential to establish the step size
, set to 0.5% of
to represent a small perturbation in voltage as the algorithm progresses. Finally, the PI controller parameters (
,
, and
) are set based on manual tuning, as depicted in
Table A2 of
Appendix A.
At this stage, the voltage
and current
of the PV array are measured using the DACB. With these measurements, the power output of the PV array
is calculated using (9):
Next, the MGS establishes how the PV array should operate, whether at the MPP or a specified PRP.
If the system is to operate at the MPP, the P&O algorithm is employed. This algorithm adjusts the reference voltage by comparing the current PV power with the previous PV power . If the power increases, is adjusted with a small perturbation in the same direction; otherwise, the direction is reversed.
If the system is configured to operate at a specified PRP, the reference voltage is adjusted to a value on the P-V curve that corresponds to the reduced power setting. Given that the power at the MPP is known, setting the power reserve at 80% means that the power at the PRP will be 20% less than at the MPP. Consequently, the reference voltage is adjusted to match this reduced power level on the P-V curve.
Subsequently, the output voltage of the PV array
is measured. This value should be around the reference voltage
. The error signal
for the PI controller is then calculated as (10):
Using the error signal, the PI controller calculates the new control signal
, which is then applied to the DC/DC boost converter. As shown in
Figure 3, this control signal, identified as S2, is applied to transistor T2. Since the DC/DC boost converter operates with pulse width modulation (PWM), the control signal
determines the duty cycle of the PWM. The control signal is calculated as shown in (11):
where
represents the discrete time step.
The algorithm runs continuously, repeating the process from measuring the PV parameters to updating the control signal until an affirmative end condition is met.
3.4. Layer 4: Communication
Layer 4 provides the MGS with an MGI for configuration and monitoring, as shown in
Figure 2. The platform supports two simultaneous processes, both critical to achieving the desired objective: continuous data collection from the PV array emulator and the ability for the MGS to establish the operating point of the PV array emulator at any moment. To facilitate this, full-duplex communication between the DACB and MGI was developed using a Raspberry Pi
® 3 Model B+ (Raspberry Pi
® Foundation, Cambridge, UK) [
46], which serves as the DCB. On the DCB, three Python algorithms were developed to manage these processes: one for each process and another to ensure the simultaneous execution of both.
The algorithm shown in
Figure 5 handles continuous data collection from the PV array emulator and transmission to the MGI. Meanwhile, the algorithm in
Figure 6 manages the setting of the operating point from the MGS and transmission back to the PV array emulator.
The algorithm illustrated in
Figure 5 involves collecting and transmitting data from the PV array emulator to the MGI, facilitated by the DACB and DCB. Specifically, these data include the measured voltage and current from the PV array emulator (
and
, respectively), the power output
, determined as described in (9), the measured reference voltage
, and the temperature
and irradiance
that were set. All these parameters are displayed on the MGI.
Initially, the DCB establishes serial communication with the DACB using the RS232 interface, which operates in half-duplex mode. The communication proceeds at a baud rate of 57,600 bps, with data transmitted in a 10-bit frame—consisting of 1 start bit, 8 data bits, and 1 stop bit—in hexadecimal format. Subsequently, the DACB acquires the mentioned data from the PV array emulator and transmits them back to the DCB via serial communication. The DCB then transmits these data to the MGI via WebSocket, where the DCB acts as the server and the MGI as the client. The algorithm awaits an acknowledgement (ACK) from the MGI to confirm successful data receipt. Upon receiving an ACK, the data are sent and monitored via the MGI. The algorithm repeats this process, from reading data from the PV array emulator to transmitting data to the MGI, until an affirmative end condition is met.
The algorithm depicted in
Figure 6 is designed to set a sequence of operating points for the PV array emulator, as determined by the MGS.
To start, the DCB establishes serial communication with the DACB. The MGS then configures an initial sequence of operating points, which may vary based on changes in irradiance and temperature. For each point in the sequence, the MGS must specify whether it is the MPP or a designated PRP, along with the corresponding temperature and irradiance levels. During each iteration, the MGI sends the current operating point to the DCB, which then transmits it to the DACB. The algorithm waits for an ACK from the DACB to confirm the successful setting of each operating point in the sequence. Once an ACK is received, the operating point is set for the specified duration. After all points in the sequence are set, the MGS may initiate another sequence. As previously mentioned, changes to an ongoing sequence are possible, aligning with real-world scenarios where irradiance and temperature fluctuate. The algorithm repeats this process until an end condition is met.
3.5. Overview of the Developed Platform
The platform described in the previous subsections is shown in
Figure 7. It comprises four layers, each with a specific objective and set of elements. Layer 1 (power) includes the PV array emulator (labeled as 4 in
Figure 7) and the DC/DC boost converter (6), consisting of the modular IGBT power stack and electrical components. Layer 2 (measurement) encompasses the DACB (5), the oscilloscope (2), and the multimeters (3). Layer 3 (control) also utilizes the DACB (5), while layer 4 (communication) involves the DCB (5) and the MGI (1). The following section will present the results obtained using this developed platform.
6. Conclusions
Photovoltaic solar energy plays a crucial role in the global transition toward decarbonization, making PV systems indispensable for capturing solar power. Integrating these systems into microgrids is essential for increasing the share of renewable energy in the overall energy mix, thereby reducing reliance on fossil fuels. However, this integration presents significant challenges, including the variability of photovoltaic solar energy production, the need for efficient energy management, and the complexities involved in grid synchronization and communication between all components.
PV emulator platforms have emerged as powerful tools to provide effective solutions to these challenges, enabling the precise management of the PV array’s operating points in a controlled environment. This allows for the replication of a wide range of power outputs and environmental conditions without geographic or meteorological constraints.
Despite progress, existing PV emulator platforms often lack comprehensive integration of measurement, control, and communication capabilities, as well as a controllable environment for varying operating conditions, limiting their effectiveness in microgrid scenarios.
This paper presents a PV emulator platform designed to address these gaps by integrating power systems, real-time control systems, measurement instrumentation, and communication processes. These integrated features enable precise emulation of PV behavior under various operating conditions. The platform ensures reliable operation at critical points such as the MPP or a specified PRP, and its integration with other microgrid components is seamless. Furthermore, its capacity to adjust and follow sequences of operating points significantly enhances its dynamic energy management capabilities within microgrid applications.
The platform demonstrated a high level of performance, with efficiency ranging from 95% to 98%, and successfully followed sequences of operating points, significantly improving the integration of PV systems into microgrids.
While the current development of the platform does not consider the impact of shading on PV systems, this aspect may be addressed in future work to enhance the platform’s applicability.
The platform benefits various stakeholders by improving system efficiency and stability while also serving as an educational tool for understanding PV system operation. For microgrid operators, it offers a valuable tool for remote monitoring and energy optimization, particularly in isolated microgrids where consistent energy access is critical. End-users enjoy more reliable and cost-effective energy solutions, while academic institutions can utilize this platform to enrich solar technology education and research.
Finally, the contributions of this work are twofold. First, it advances the field of photovoltaic solar energy research, particularly in the study of PV systems. Second, it provides a practical tool that enhances the design and management of PV systems within microgrid environments, furthering the path to decarbonization.