Abstract

This research introduces a unified power quality conditioner (UPQC) that integrates solar photovoltaic (PV) system and battery energy systems (SBES) to address power quality (PQ) issues. The reference signals for voltage source converters of UPQC are produced by the Levenberg–Marquardt back propagation (LMBP) trained artificial neural network control (ANNC). This method removes the necessity for conventional dq0, abc complex shifting. Moreover, the optimal choice of parameters for the adaptive neuro-fuzzy inference system (ANFIS) was achieved through the integration of the enhanced harmony search algorithm (EHSA) and the predator-prey-based firefly algorithm (PPFA) in the form of the hybrid metaheuristic algorithm (PPF-EHSA). In addition, the algorithm is employed to optimize the selection of resistance and inductance values for the filters in UPQC. The primary objective of the ANNC with predator-prey-based firefly algorithm and enhanced harmony search algorithm (PPF-EHSA) is to enhance the stability of the DC-link capacitor voltage (DLCV) with reduced settling time amid changes in load, solar irradiation (G), and temperature (T). Moreover, the algorithm seeks to achieve a reduction in total harmonic distortion (THD) and enhance power factor (PF). The method also focuses on mitigating fluctuations such as swell, harmonics, and sag and also unbalances at the grid voltage. The proposed approach is examined through four distinct cases involving various permutations of loads and sun irradiation (G). However, in order to demonstrate the performance of the suggested approach, a comparison is conducted with the ant colony and genetic algorithms, i.e., (ACA) (GA), as well as the standard methods of synchronous reference frame (SRF) and instantaneous active and reactive power theory (p-q). The results clearly demonstrate that the proposed method exhibits a reduced mean square error (MSE) of 0.02107 and a lower total harmonic distortion (THD) of 2.06% compared to alternative methods.

1. Introduction

In recent years, the integration of distributed generating sources such as wind, tidal, and solar power into the distribution network has been encouraged to reduce the load and strain on VSCs [1]. Additionally, using the unit vector generation approach for UPQC with a solar system was recommended to address difficulties related to voltage and current [2]. Subsequently, it was proposed to use multilevel UPQC with neural network-based signal generation to address PQ problems and do away with intricate p-q transformations [3]. To address the PQ problems and get rid of complicated p-q shifts, the UPQC in conjunction with the solar energy storage system with neural network-based signal production was developed [4]. In order to reduce the voltage and current THD, the fuzzy-based back propagation approach was also used for DLCV and reference signal generation [5].

The several algorithms that are now in use to regulate DLCV regulation, current control methods, harmonic separation approaches, and SHAPF functioning are described [6]. In the meantime, ANFIS was used to manage the series filter in order to handle voltage-related troubles [7]. The distributed energy system, which mixes PV and wind, was constructed to minimize load fluctuations and enable a smooth transition between the grid and the island [8]. In the meantime, the PV-connected UPQC was demonstrated to reduce the THD at voltage changes such as sag and swell by utilizing the neural network. Additionally, the suggested approach was contrasted with methods based on reactive power and SRF theories under various load scenarios [9]. To effectively manage the power and reduce the imperfections in the current signal, a combination of the grey wolf with particle swarm metaheuristic algorithms was selected to obtain the PIC’s ideal gain values [10].

A feed-forward ANN was created for the wind system and solar PV systems of UPQC to maintain the DLCV steady and regulate the electricity [11]. To solve PQ issues, a novel neural network signal production method was proposed for the fuzzy controller-operated MPPT for PV-connected UPQC [12]. In order to effectively handle PQ difficulties, a UPQC custom device with a multilevel converter was connected to the fuel cell combined PV and wind systems based microgrid in the near future [13]. In the meantime, a thorough examination of various phased synchronization approaches that work well for SHAPF control and operation was conducted [14]. To minimize THD, the GWO-based PIC was recommended for different UPQC loading circumstances [15]. A novel approach was put forth to UPQC to stabilize DLCV oscillations and enable prompt, accurate fault restructuring [16]. Neuron-based controller was developed to effectively address load current THD and grid voltage issues such as swell, THD, and sag [17].

To solve the PQ problems, it was proposed to hybridize the Improvedbat and Mothflame metaheuristic optimization techniques for choosing the PIC’s gain settings [18]. It was recommended that series hybrid active power filter use a fuzzy control for local distribution systems in order to successfully reduce voltage fluctuations and current THD [19]. To address PQ concerns in the distribution system, PV and SBES integrated UPQC were advised to use a soccer match optimization for the best ANNC design [20]. The PV-linked nine-level UPQC was created using an adaptive hysteresis with FLC to get voltage signals [21]. The best choice of PIC gain settings for UPQC was suggested using a soccer league in order to effectively manage both voltage fluctuations and current distortions [22]. For 5-level UPQC, the neural network pulse generation system was created to effectively handle current and voltage aberrations [23]. A novel approach was introduced to assess the level of harmonic emissions, utilizing a piecewise probabilistic high-pass filter algorithm. To begin with, a piecewise probabilistic harmonic coupled model (HCM) is employed to examine the harmonic produced by residential loads [24]. A stochastic scheduling methodology that integrates risk restrictions for an energy hub was introduced, taking into account uncertainties associated with renewable generation and load needs [25]. Furthermore, based on the established HSS model, the primary parameters are identified by analyzing the eigenvalues of the system state matrix, in conjunction with the participation factors [26]. A hybrid-modified GSA-PSO (MGSA-PSO) strategy was suggested to improve the load dispatch of a microgrid with electric vehicles by combining the gravitational search algorithm (GSA) and particle swarm optimization (PSO) algorithm [27].

A distributed optimization approach was presented that aims to reduce the overall generation cost in a dynamic economic dispatch problem (DEDP) for a hybrid microgrid network. The hybrid microgrid model was built using a combination of conventional power sources, renewable energy sources, and energy storage batteries [28]. Meanwhile, an overview of different decentralized control methods for MGs was recently published, based on research. The methods used in each study are fully described, along with their results [29]. The approach that consists of two primary components was developed: global search and local search. The global search, utilizing the modified SCO method, combines the density peak clustering (DPC) algorithm and the cooling scheduling function [30]. However, to address the issue of selecting an appropriate configuration from three available HP filter options for a specific harmonic problem, three HP filters analytically were presented in contrast to traditional optimization-based filter research [31]. Besides, a crucial concern regarding power management control in autonomous hybrid systems was suggested that there are difficulties in improving the efficiency of energy sources and backup systems, particularly when dealing with high demand or limited renewable energy production [32].

The majority of research articles employing evolutionary algorithms focused solely on fine-tuning the parameters of the traditional PIC. Furthermore, it demonstrates how the UPQC’s current traditional management plans incorporate both Clarke’s transformations and the complex parks. In combination with photovoltaic (PV) systems and SBES, this work provides a unique ANN control technique for UPQC that determines the optimal ANFIS controller settings using PPF-EHSA.

This work’s principal contributions are as follows:(i)Generation of reference signals for the SHAPF and SAPF of the UPQC, with LMBP-trained ANNC to prevent the usage for the complex abc to dq0 to shifting(ii)Design of optimal ANFIS controller with PPF-EHSA for DLCV balancing in SHAPF in addition to choosing the UPQC filter parameters for THD minimization and to handle PQ troubles such as harmonics, sag, unbalances, and swell efficiently(iii)Additionally, in order to meet the demand, minimize the stress and rating of the VSCs, and keep stable DLCV, the PV with SBES is linked to the UPQCs(iv)Four separate test scenarios for various combinations of supply voltages, G, temperature, and load circumstances were used to validate the designed system and show how well it performed overall in terms of current THD and PF using waveform analysis(v)Performance evaluation with GA and ACA techniques and similarly with p-q and SRF approaches

Section 1 provides an overview of the paper, followed by Section 2 outlining the UPVBSS design, Section 3 elaborating on the control scheme, Section 4 discussing the acquired results, and Section 5 concluding the paper.

2. Development of Suggested UPQC System

Figure 1 displays the suggested UPVBSS schematic diagram. Here, the battery is linked to a DC capacitor via a buck-boost converter (B-B-C) and PV via a boost converter (B-C). Besides, Vabc denotes the grid voltage, and VS_abc resembles the grid phase voltage. The load voltage and current are denoted by the symbols and . stands for grid-side inductance, whereas stands for grid-side resistance. UPQC is the acronym for the combination of series and shunt VSCs. In order to address grid-side voltage-related problems, SAPF uses the injecting transformer to supply the proper compensating voltage Vse. The RL filter consists of two parts: the inductor Lse and the resistor Rse. The SHAPF is connected to the grid by resistance Rsh, which interfaces with inductance Lsh. The goal of SHAPF is to minimize the harmonics and to keep DLCV constant with a brief settling time by injecting a sufficient compensatory current through the point of common coupling (PCC).

2.1. Modelling of Solar and Battery Systems

By adding solar and batteries to the UPQC’s DC-link, the utility’s demand for converters is reduced, negating the need for high ratings. In this case, B-C is utilized to increase the solar system’s and buck-boost converters’ output. The battery connected to the DC-link is charged and discharged using B-B-C to control the DLCV when loads vary. The controller for the PV and batteries is described because the modeling of these systems is already accessible in the literature [5]. Equation (1) provides the power demand () for the proposed approach.

2.1.1. PV System

The solar radiation is converted into electrical power by the SPG structure. The quantity of series and parallel connections made to these PV cells is a determining factor in the necessary solar generation. The PV model used in this study is from the Simulink library. To extract the highest yield from modules, however, the MPPT algorithm (incremental conductance) was selected. The PV system’s (PPV) power is determined by the following equation:

In this section, the terms “” and “” stand for the current and voltage that a solar panel produces, respectively. In this study, the P and O are offered as MPPT to manage the B-C duty cycle (D) and generate the maximum output power.

2.1.2. SBES

The DLCV is stabilized by the SBES in support with B-B-C. Equation (3) expresses the state-of-charge-of-the-battery (SOCB).

The output generated by PV will determine whether a battery is in the charging or discharging state by meeting the top and bottom bonds given by the following equation:

The irefdc is computed by minimizing the DLCV error Vdc,err by a PIC. The battery error reference current is calculated using PIC. Where iBS,err reflects the mismatch between the reference current of battery irefBS obtained from the filter and the irefdc retrieved from it. The controller of the developed system with the hybrid algorithm is given in Figure 2, and the graphical layout of the power flow is shown in Figure 3. The power flow between grid, load, solar, and battery is clearly illustrated in the forms of waveforms in results and discussions as case studies.

2.2. DC Capacitance (Cdc)

Equation (5) can be used for determining the Cdc value [5].

The Vrefdc is selected within the range of ratings allowed by the recommended approach. The selection of Cdc is influenced by shunt corrective current and voltage ripple (Vr,pp).

2.3. Inductor for Shunt Converter

By shunt inductor (), the shunt converter is connected to the system. Equation (6) gives the frequency of switching, ripple current, and DLCV.

Peak-to-peak ripple current (Ir,pp) determines the magnitude of Lsh considering that the frequency of switching (fsh) is 10 kHz, the modulation depth (m) is 1, and the overloading factor () is 1.5.

2.4. Inductor for Series Converter with Isolation Transformer

The series VSC is connected to the grid using a power injection transformer, and the design requirements are given in the following equations:with a 10 kHz frequency of switching, and the series inductance is dependent on the ripple current.

3. Artificial Neural Network Control

VLDC typically fluctuates in tandem with changes in the distribution side dynamic load. However, before the system can resume regular operation, it needs to swiftly revert to its initial condition (VLDC). Here, firing pulses are generated using the suggested ANNC to manage the PWM hysteresis-current of the shunt VSC.

3.1. Shunt VSC

By introducing corrective current, SHAPF aims to eliminate current waveform distortions and stabilize DLCV in fault and transient loading conditions.

3.1.1. Optimal Selection of ANFIS Parameters for DLCV Stability

It is advised that the ANFIS keeps the DLCV constant. The proposed ANFIS combines the capabilities of an ANNC and FLC to create a smart combination controller. However, to keep the DLCV steady, the acquired DLCV and the selected reference DLCV are compared, and the variation in error (CE) and its output error (E) are taken into account as inputs. As seen in Figure 4, the inputs given into the neural network are first trained based on the triangular membership to yield optimal results. The ANFIS is primarily composed of five layers: fuzzification is the first layer, and its outputs are fuzzy MSF, which are determined by the following equation:

Here, resembles the memberships received as the output from the 1st layer.

The triangular membership is expressed by the following equation:where is the fuzzy set i’s point of greatest support and xmin, xmax (lower and upper bonds) is the range (world of discourse) of x. Under normalization, −1 and 1 are regarded as lower and upper bonds in this work. The subsequent items are classified as inputs and outputs: positive small (POSS), positive big (POSB), positive medium (POSM), negative small (NEGS), negative big (NEGB), negative medium (NEGM), and zero (ZERO). The MF’s inputs and outputs are shown in Figure 5.

Where the AND operator is used in the second layer (weighting of fuzzy rules) to determine the strength of firing by using the MSF in the first layer, the output of which is determined by the following equation:

In the third layer, which receives data from the preceding layer, values are normalized. By calculating the ratio of the firing strength (true values) for the kth rule to the total firing strength of all rules, every node achieves normalization, as shown by the following equation:

By using the inference variables in the fourth layer (defuzzification), the ANNC can adapt to itself. The output of this process is provided by the following equation:

Finally, in equation (14), at the fifth layer, all the inputs are added to generate the necessary total ANFIS output.

Figure 6 displays the layout of ANFIS. The goal of the hybrid algorithm that combines PPFA and EHSA is to optimize the , , and of membership in order to minimize learning errors and enhance the overall performance of the ANFIS controller. The goal of the problem is to evaluate the fitness function provided by equation (15) in order to achieve the objective (obj), which is expressed as MSE.

Here, is the desired result, is the output that was obtained, and m is the number of instances. The fundamental and harmonic components of current are resembled by , . A detailed discussion of the suggested hybrid algorithm is given.

3.1.2. PPFA

The firefly algorithm is motivated by the illuminated habits of the collection of fireflies. First, an arbitrary set of fireflies is generated in the space. Each firefly here represents the required solution, which is entirely dependent upon the parameters chosen for control. Each firefly (y) represents the control parameters whose limits are expressed as follows:where  = total variables

The fireflies’ bioluminescent communication is used by this program to control their movement. Every firefly is drawn to the illumination of the opposing firefly and tries to move in that direction. The firefly’s illumination function (F) provides the ideal solution for the selected issue. This approach computes the illuminating function iteratively and modifies their placements accordingly. Equation (17) represents the attraction between the ith and jth fireflies.where is the Cartesian distance, as calculated by equation (18) between the firefly and .

The firefly moves toward the other firefly in the group and changes its position if is bigger than according to the following equation:

Fireflies (prey) encounter challenges in remaining at their desired locations when pursued by predators. Instead, they seek new locations that are devoid of predators and potentially more favorable. The predatory behavior aids fireflies in efficiently exploring the search area. The predation by predators is regulated by a modest hunting probability factor η, and the predators are characterized based on the least optimal solutions.

The fireflies consistently distance themselves from predators, a behavior that can be represented through modeling.

The improved firefly algorithm prevents the swarm from converging to a suboptimal point in the search space. Instead, it enhances exploration capabilities and compels the population to settle at the globally optimal solution.

3.1.3. EHSA

This metaheuristiciterative strategy, which takes inspiration from artists' improvisational approach to music, explores problem space to find the best global solution thatmaximizes the chosen fitness function (F) while meeting the problem constraint. The problem space is defined by a harmony memory (HM), which consists of several candidate solutions, each representing a harmony, as outlined in the following equation:

The goal of the optimization is to minimize error by optimally selecting the MSF parameters , , and in the ANFIS. The harmony fitness function (F), which is derived from the goal as the selected problem as shown in equation (15), evaluates the quality of each harmony. As stated in equation (23), an improvised harmony is produced by comparing a random number with the HM adjusting rate (HMAR) value.

Here, 0∼1 is a random number and rand (). Equation (24) modifies the pitch of every variable in the improved harmony according to the pitch tuning rate (PTR).

Here, BW stands for bandwidth. The poorest harmony in the HM is substituted by the new harmony if the improved harmony vector is better than the worst harmony.

The conventional harmony search optimization may fall into suboptimal traps during problem-solving due to the absence of a jumping mechanism. To address this issue, this section introduces a mechanism utilizing poorly composed music that induces dissonance. Referred to as the dissonance-avoiding mechanism, it draws inspiration from the predator-prey optimization concept, enabling the newly generated harmony to jump away from unfavorable harmonies. If the spontaneous combination of musical tones resembles the unpleasant combination of tones in the harmonic minor scale, the newly created combination of tones may result in discord. The new harmony must be altered to ensure its dissimilarity from bad harmony by augmenting the Euclidean distance between them using the following equation:

Here, resembles the dissonance factor. The process of generating new harmony is iterated until convergence. Every fly modifies its location, HMAR, and PTR in HSA based on the value, which helps the convergence to accurately signify the global optimal solution. The process is executed until it reaches the maximum number of iterations (Tmax). The HS method offers notable benefits such as fast convergence, minimized parameter changes, and straightforward implementation. Nevertheless, it exhibits other shortcomings, such as suboptimal convergence speed and premature convergence. Table 1 presents the parameters chosen for the suggested optimizations and their subsequent comparison.BeginStep 1. Collect the dataSet the parameters: define , t = 1; Tmax, , at r = 0; HMAR, BW, PTR, HMS, number of fireflies.Step 2. Assess the Brightness function F.Step 3. While t < Tmax Arrange the fireflies based on their brightness; for i = 1: Give value for ith firefly (all fireflies) do  Execute simulation and obtain THD using equation (17) for j = 1: Give value for jth firefly (all fireflies) do  Execute simulation and obtain THD using equation (17)  if ( < ) then  By calculating equation (19), move firefly j toward i using equation (22);  else   for k = 1: (all harmonies) do    if (rand ( ) < HMAR) then     Utilize equation (23)     if (rand ( ) < PTR) then     Utilize equation (24)     Apply equation (25) to avoid bad harmony    end if   end for k  end if  if r and <η  Hunt jth-firefly by equation (20) and (21)  Modify attractiveness; Modify brightness; end for j end for i Get the brightness F. Rank the fireflies, and the one with the highest brightness is the sought-after optimal solution; =  + 1;Step 4. endwhile End.

3.2. Neural Network for Reference Signal Production

Figure 7 illustrates the proposed artificial neural network (ANN) controller for the shunt filter. The ANNC configuration includes the input layer (IPL), hidden layer (HIL), and output layer (OPL). The objective of IPL is to collect the given data and transmit it to the HIL. The weights on the interconnected linkages between the IPL and HIL are subsequently multiplied by this quantity. At this location, mathematical calculations are carried out with a pre-established inclination towards HIL. Ultimately, the OPL is employed to resolve the discoveries. To ensure accurate results, the link weights are modified during training through an evaluation of the error. Thus, the LMBP training strategy is employed to achieve expedited convergence.

Figure 7 designates the reference currents (irefsh_a, irefsh_b, irefsh_c) as the desired data, while the load currents (il_a, il_b, il_c) and DC loss component (Δidc) are treated as the input. Figure 8 illustrates the expected BP structure for the 200 neurons in the HIL system, which is utilized to generate the reference current signal. The shunt VSC is believed to generate the required gating signals through the operation of a hysteresis controller within the ±0.25 A and ±0.5 A range.

3.3. Series Converter

The principal function of a SAPF is to reduce grid voltage disruptions and ensure a constant load voltage by generating compensating voltages. Figure 9 illustrates the suggested control system for the VSC series. The supply voltage signal (Vs_a, Vs_b, and Vs_c) is considered as input data for generating the reference voltage signals (Vrefse_a, Vrefse_b, and Vrefse_c), which are considered as target data for the neural network. Figure 10 provides the configuration of a neural network with 200 neurons in the HIL. PWM is employed to generate the sequence of VSC gating pulses.

4. Results and Discussion

The proposed UPVBSS with ANNC was implemented using MATLAB 2016a. The appendix provides the system’s and UPQC’s configurations. Four test cases were selected to show the functionality of the proposed ANNC-controlled PPF-EHSA. These test cases involved different rectifier-based nonlinear loads, balanced and unbalanced, as well as varying source voltages. Additionally, the test cases included circumstances such as swell, disturbance, and sag, which were influenced by changing irradiation (G).

The test cases are presented in Table 2. In case 4, is selected as an unbalanced phase supply, while, for cases 1–3, it is chosen as a balanced phase supply. The investigation focused on cases 1 and 2, specifically examining concerns related to balanced sag and swell. Besides, the unbalanced condition is assessed in case 3. This study focuses on minimizing THD by optimizing the selection of filter parameters Rse, Rsh, Lse, and Lsh. The limits for these parameters are chosen as (0–10), (0–0.5), (0.01–10), and (0.01–10), respectively. The major objective is to improve PF and ensure a constant DLCV by optimizing the selection of parameters for the ANFIS. The performance of the proposed ANN-based PPF-EHSA is demonstrated by comparing the results with GA and ACA approaches. Figure 11 presents the convergence plot of MSE for the suggested technique, genetic and ant colony algorithms in relation to case 1. The PF is determined by applying equation (26) to the obtained THD.

For the first case study, the balanced voltage source is used to analyze the behavior of the SAPF. According to Figure 12(a), 30% of balanced sag and swell occurred in the range of 0.2 to 0.3 seconds, and another occurrence happened between 0.4 and 0.5 seconds in the VS system. ANNC accurately detects and responds to changes in voltage, efficiently providing the necessary compensating voltage to provide a constant load terminal voltage. To assess the performance of the suggested approach’s SHAPF, we examined load 1 and load 4. The load current shape in Figure 12(b) is nonsinusoidal and balanced due to the presence of harmonics. The proposed solution rectifies the deficiencies in the existing waveform, resulting in a reduction of the THD of the current waveform from 17.74% to 2.06% and an increase in the PF to 0.9898. In addition, as illustrated in Figure 12(c), the proposed approach regulates the constant DLCV under a fixed 1000 W/m2 light and a constant temperature of 25°C. Figure 12(d) demonstrates that the suggested system adequately meets the load demand

In case study 2, which is similar to Case 1, the is chosen to be balanced. To verify the functionality of the series filter, a disturbance is introduced from 0.6 to 0.7 seconds. Nevertheless, as depicted in Figure 13(a), ANNC accurately identifies the disruption in the grid voltage and resolves it by introducing the required compensatory voltage. As a result of the simultaneous operation of loads 1, 2, and 3, the waveform was determined to be nonsinusoidal and imbalanced, as depicted in Figure 13(b). The proposed technique effectively reduces the current THD from 21.54% to 4.72%, a significantly lower value compared to alternative solutions. Additionally, the PF improves to almost unity. In this scenario, both variable irradiation and load variation are taken into account while maintaining a constant temperature of 25°C. The proposed technique maintains a constant DLCV as G fluctuates, as depicted in Figure 13(c). Additionally, it effectively provides power to the load, as demonstrated in Figure 13(d).

In the third case study, the is deliberately adjusted to achieve a balanced state. This balanced state is then subjected to a 30% increase in sag and swell, as well as an external disturbance, in order to verify its performance. Nevertheless, as depicted in Figure 14(a), ANNC accurately identifies the asymmetrical phase voltage fluctuation, voltage increase, and disruption and resolves it by introducing the required compensatory voltage. Furthermore, in order to assess the efficiency of the SHAPF, loads 1 and 4 were consolidated, and at the 0.7-second mark, load 3 was added. Consequently, the resultant waveform exhibited significant contamination, imbalance, and amplified magnitude, as depicted in Figure 14(b). The proposed method rectifies the disparities in the current signal. The PF rises to 1, and the THD of the current signal decreases from 3.76% to 27.44%. Furthermore, Figure 14(c) demonstrates that the proposed controller effectively keeps the DLCV constant while simultaneously meeting the load requirements specified in Figure 14(d).

In the fourth case study, it is believed that the VS is unequal in phases. However, the system identifies the imbalances and effectively rectifies them, as depicted in Figure 15(a). In this case, loads 1 to 3 were sequentially connected by incrementally applying to the existing load at time intervals of 0.1 seconds to 0.4 seconds, 0.4 seconds to 0.6 seconds, and 0.6 seconds to 0.7 seconds, respectively. Consequently, the il waveform was determined to be contaminated and lacking equilibrium, as depicted in Figure 15(b). The THD decreased from 25.86% to 3.43%, and the PF rose to a value of 1. Furthermore, as illustrated in Figures 15(c) and 15(d), the proposed controller effectively ensures a consistent DLCV despite changes in load, variations in irradiation, and a constant temperature of 25°C. It successfully fulfills the required demand.

Figures 16 and 17 present a comparison of the THD and PF between the suggested methodology and other commonly used methods such as GA, ACA, p-q method, SRF, and other controllers mentioned in the existing literature. The data demonstrate that the suggested approach has much lower THD and higher PF in comparison to existing techniques. The PPF-EHSA optimized ANFIS enhances the system’s efficiency by minimizing error and improving the adjustment capability of the UPQC. Table 3 presents the comparison of the MSE values obtained from the algorithms. The data demonstrate that the proposed approach yields a lower MSE in comparison to GA and ACA techniques. In addition, the optimum values of UPQC filter parameters for the proposed system are presented in Table 4. Figure 11 demonstrates that the proposed PPF-EHSA achieves a lower MSE in a smaller number of iterations (22), indicating faster convergence compared to GA (45) and ACA (39). Figure 18 depicts the FFT analysis of the proposed system for case study 4. Furthermore, based on the findings presented in Figure 19, the implemented strategies demonstrate their ability to rapidly stabilize the DCLV in a brief duration (almost less than 0.1 seconds) amidst changes in both load and irradiation. This is significantly lower compared to the effectiveness of alternative methods.

5. Conclusion

This study presents an innovative LMBP-trained ANNC method for producing the reference signals for SBES and battery-associated UPQC to avoid the complex abc to dq0 conversions. Additionally, the PPF-EHSA algorithm is used to design the optimal MSF of ANFIS and filter parameters, with the multiobjective of decreasing both the MSE and THD. Besides, the suggested UPVBSS ensures a consistent DLCV under various conditions such as loads, sun irradiation, and temperature fluctuations. It also effectively reduces current harmonics, enhances the current waveform, hence improving the PF, and eliminates voltage fluctuations. In the future, the approach can be extended to incorporate advanced metaheuristic algorithms for the implementation of multilevel UPQC.

Appendix

Test System Specifications

The system values are PCC line voltage: 415 V, 50 Hz; DC-bus voltage: 700 V; DC-bus capacitor: 2200 μF. PV panel type: SPR-305E-WHT-D; no. of parallel strings/series module per string: 66/5; no of cells considered per each module: 96; max power obtained as output: 305.226 W; current at output: 5.58 A; open circuit voltage: 64.2 V; short circuit current: 5.96 A.

Battery: nickel metal hydrate; nominal voltage: 500; SOC: 60%; full charge voltage: 588.983; rated capacity: 100 Ah; cut-off voltage: 37 V

Data Availability

No data were used to support the findings of this study.

Conflicts of Interest

The authors declare that they have no conflicts of interest.