Improvement of the Voltage Profile and Loss Reduction in Distribution Network Using Moth Flame Algorithm: Wolaita Sodo, Ethiopia

Voltage stability and line losses are inevitable issues even in modern power systems. )ere are several techniques that emerged to solve problems in the power system to provide quality and uninterrupted supply to customers.)e algorithms used in this paper to determine the appropriate location and size of the Static Var Compensator (SVC) in the Distribution Network (DN) are Moth Flame Optimization (MFO) and Particle Swarm Optimization (PSO). )e objective function is defined to minimize voltage deviation and power loss. )e burning problem of voltage stability improvement current scenario is because of a rise in electricity demands in all sectors. Paramount duties of power engineers are to keep the system stable and maintain voltage magnitude constant even during peak hours.)e results were checked with the aid of MATLAB onWolaita Sodo radial distribution of 34 bus data networks. )e potential use of SVC is key to solve distribution system power quality issues and estimating the advantage of the installation.)e results obtained from the test systemwere compared with PSO results.)is comparison was done to know the computational time of proposed techniques. )e performance of the MFA based SVC was superior in distribution system and highlighted the importance of device.


Introduction
In modern times, distribution network structure is going through massive transformation. Due to the introduction of new technologies, distribution network structure is becoming more complex, and there is an ever-increasing demand for load. During voltage breakdown, voltage instability occurs, resulting in loss of voltage for a significant part of the system [1]. In order to increase voltage stability margin, FACTS controllers should be installed at the appropriate location to incorporate reactive power. FACTS devices comprise series, hybrid, and shunt devices. When dealing with a specific system voltage instability problem, use the correct component to restore system voltage stability [2]. Network reconfiguration (NR) is known as the process of modifying the network topology by reconfiguring the distribution network (DN).
Increasing the power flow tends to reduce the percentage power loss. Because of voltage profile improvements, smooth demand patterns, and improved network reliability, network reconfiguration offers major benefits [3]. e Particle Swarm Optimization (PSO) technique was used to achieve minimization active power losses and total function cost. is involves including the generation costs and the UPFC investment costs, which are deployed by installing the UPFC in the power system network to maximize benefits [4]. One novel optimization, inspired by nature, is presented in this study. e navigational strategy is employed by moths in the universe. e algorithm is known as the moth flame optimization (MFO)-a creative problem that presents engineering design and constrained optimization [5]. Many of the researchers have proved that MFO is one of the suitable algorithms for engineering problems. e authors like Yu et al. had solved power system issues and some of the engineering problems with MFO effectively. e MFO technique was successfully handled in the optimal placements of the DG [6].
ere are keen researchers using MFA for the engineering problems like power engineering, computer engineering, and mechanical engineering. In this paper, the MFA algorithm was given quick results with less computational time than PSO. e moth flame optimization approach has also been used in medical and related sectors. e following are some of the studies of some academics. For the automatic detection of mitosis in breast cancer tissue pictures, Sayed and Hassanien [7] utilized neutrophils to optimize the moth flame population. Mingjing et al. [8] presented a new learning method for a nuclear limit learning machine using a chaotic moth flame optimization algorithm for medical diagnostics. In this work, a two-stage optimization strategy for optimal distributed generation (DG) planning with energy storage integration is provided. e first stage uses the well-known Loss Sensitivity Factor (LSF) approach to determine the installation locations and initial capacity of DGs, and the second stage determines the optimal installation capacities of DGs to maximize investment benefits and system voltage stability and minimize line losses. e proposed two-stage optimization method outperforms current state-of-the-art DG planning approaches like NSGA-II, MOPSO, and MOHS, implying that our method achieves better outcomes across the range, including higher investment benefits, improved voltage stability, and lower line losses [9]. e Kenyan Power Network has seen significant increases in load demand in recent years. Although growing load demand has been partially met by additional transmission and generating capacity, due to economic, environmental, and geographic limits, the rate of growth has not kept pace with the rate of increase in load demand [10]. e goal of this research is to combine a microgrid system with a Static Synchronous Compensator (STATCOM) controller in order to ensure a higher power flow with a better voltage profile and less power loss. e microgrid and STATCOM controller connected to the grid are modelled using MATLAB/PSAT. e STATCOM is also controlled by Proportional Integral (PI) control and Fuzzy Logic Controller (FLC). By connecting to the main distribution system via a typical IEEE 30-bus connection, the usefulness of STATCOM with microgrid integration is assessed. Finally, it was discovered that STATCOM improves the voltage profile and reduces power loss by increasing the capacity of the distribution line [11]. e proposal's innovation is that it uses IPSO to optimize the model's parameters with synchro phasors, which enhances the prediction performance of the ELM-based TSP model. Finally, the correctness and validity of the provided approach are confirmed based on test results on both an IEEE 39-bus system and a large-scale real power system. Machine learning has shown to be effective in resolving online TSA issues. e existing PRTSA methodologies, on the other hand, are unable to fulfill the demands of big data administration and usage [12].
In this paper, various FACTS devices were tested as fault current limiters. Several FACTS devices are being explored for their performance, including the SSSC, STATCOM, and UPFC. SSSC has little impact on fault current and voltage regulation and instead focuses solely on reactive power flow. UPFC and STATCOM, on the other hand, can reduce fault current while also correcting voltage and regulating current. STATCOM and UPFC absorb reactive power from the system in such a way that fault currents are considerably reduced. UPFC outperforms STATCOM in terms of stability, transients, and voltage control. As a result, the crucial clearing time for the system will be extended [13].

Statement of the Problem
In this paper, Wolaita Sodo substation and its surroundings were taken as case study area. It consisted of several feeders, transformers, lines, and buses. e design of distribution system looks exactly radial which has 34 buses. During the data collection, researchers have noticed several problems associated with substation and around 300 km radius. e researchers aimed to registered current status of the substation by analysing the collected data. e values of voltage variations, power factor, harmonics, etc. had been measured by using MICROVIP3 PLUS. All the collected data were interpreted in the graphical structure. e overall data of the substation were collected and encapsulated in this work for future reference. e following graphs depicted various parameters values like voltage variation and harmonics. Let us view them one by one.

Line Voltage Variation and Power Factor in Distribution
Network.
is paper's study area was Wolaita Sodo distribution system which is located in the south part of Ethiopia. e geographical location is southern side of Addis Ababa, the capital city of Ethiopia; it has a latitude and longitude of 6°54′N 37°45′E with an elevation between 1̦ 600 and 2̦ 100 meters above sea level. For this study, voltage measurement is taken from Wolaita Sodo substation's all outgoing feeders control panel. Since the substation supplys 15 kV to the distribution line, the voltage variation is occurring in the line. In Table 1, the distribution line voltage (kV) variation for peak time 8:00-21:00 is shown. is observed value leads researchers to focus on voltage profile of the distribution network.
In Figure 1, the voltage variation of Sodo line 2 from the substation control panel is shown. e data was measured in the intervals of one hour. ere are drastic changes in the load around Wolaita substation due to residential and industrial enlargement. If observed the obtained graph Figure 1 it was clearly reflecting the variation in the voltage from morning 8 a.m to 8 p.m. the lowest voltage point registered in the graph on particular day was around 14.2 kV. e power factor is a vital issue in the distribution level. e low power factor may lead to line losses and cause deteriorate the performance of the system. is power factor issues can be sort out by external devices like FACTS family because it is local phenomena. In this analysis, researchers were tried to adapt the optimal device to improve voltage profile in distribution system. e power factor for the distribution line of substation observed from the control panel is shown in Table 2.
In the distribution line, the voltage drop occurs due to long-distance coverage to achieve the utility's coverage.
ere is universal truth that power flow always flows from higher δ to lower δ; likewise, reactive power flows from higher voltage to lower voltage-in general, sending end to receiving end-but this will be failed sometimes in case of reactive power due to uneven voltage profile at distribution system. Such common issues could be resolved with aid of FACTS devices. In this work, SVC plays a superior role in enhancing voltage throughout Wolaita Sodo distribution network. ere are 34 buses dedicated to distributing power to the consumers. All the buses voltage must be near to knee point (0.95 to 1.05P.u). e moth flame algorithm was used for placing and sizing of the SVC in the network. e main emphasis of the work was voltage profile improvement. e researchers were focused on and investigated reactive power support for the system and worked on maintaining constant voltage with the help of optimizationbased SVC. Figure 2 shows the photograph while taking measurements by using MICROVIP3 PLUS.

Research Gap of the Work
Voltage profile improvement and loss minimization were successfully obtained using MFA in the distribution network. Voltage deviation and line losses are indispensable problems even in modern power system. When the undesirable symptoms recurred, the power engineers diagnosed something different to tackle issues. Nowadays, maintaining the distribution system under normal condition is a big challenge due to all countries, particularly for developing countries. All researchers begin the quest for a reliable artificial intelligence method to settle the existing problems. In such a manner, in this work, searching for different and feasible algorithms has intensified. Finally, with deep analysis and literature review, MFA has been selected for optimization techniques. It was tested on Wolaita Sodo 34-bus system successfully and to show greatness of the work, load of the tested system had changed randomly to register changing of the location and size.
e proposed algorithm could work on any kind of distribution system; depending on real and reactive power demands, it will optimize the place and size of the FACTS devices. erefore, research gap of the work is clearly fulfilled and executed in the respective sections of the paper.

Moth Flame Optimization
Seyedali Mirjalili introduces the Moth-Flame Optimizer in 2015. MFO is an algorithm based upon population and represents the moths in the set of matrix: e numbers n and d are the number of moths (dimension) variables. In this paper, assume that the corresponding fitness values are stored in the following way for all moths [5]: where n is the moth count,  Let us remember that the fitness value is the fitness return value (target) for each moth function. e fitness function and the output of the fitness function are passed to each moth position vector (first row in matrix M, for example) assigned as a fitness function to the corresponding moth (for example, OM Matrix OM). It is the moth set in a matrix. Moth flame optimization algorithm is conceived as transverse orientation by moth motion in nature. Moth flames could go right along the long distances of the night by keeping a fixed angle to their moon, but because of the artificial light they may move in a deadly spiral path. e moths are candidates for solutions in the proposed method, whereas the dependent variables or control variables are their position in space. e biggest distinction between the moths and the flames is that the moths are considered to be search agents migrating around the search area and that the flames portrayed by moth are the ultimate solution acquired. e flames are therefore the flags for moths; every moth moves around the flames and updates its position when a stronger decision is obtained, where n is the moth number and d the variable numbers (dimensions). Across all moths, researchers also assume that there is an array for the storing corresponding fitness values saved in array (M). We understand that for every moth the value of fitness is the fitness return value (objective) function. Each fitness function is transferred to the position vector (e.g., first row in matrix M) of each moth and the fitness function output is delegated as the fitness function of the respective moth (for example, OMI in matrix and OM). Flames are also the main components of the proposed algorithm. We consider a moth matrix-like matrix.
Researchers understand exactly that the M and F arrays dimensions are the same. For flames, authors also believe that the fitness values are saved in an array: where n is the moth number. Moths and flames are both solutions. e difference is how each iteration is handled and updated. e moths are original search agents travelling around the search area, while flames are the best position to get moths up to now. Each moth is therefore looking for and updating a flame if a better solution is found. A moth has not ever lost its optimal answer with this technique.

Moth Flame Algorithm for Placing and
Sizing SVC

Step-by-Step Algorithm of MFO
Step1: Read the information on the line and bus.
Step2: Compute power loss using a backward/forward sweeping load flow method, without an SVC connection. Deal with the power loss as the standard model.
Step3: Initialize moth population variables upper and lower limits, highest iterations and browse variable dimensions.
Step4: e random population (array) of the moth places continues to generate an initial array by equating appropriate with an array of the SVC sizes within   Step7: Save as best flame the minimum value of the target function and the related to moth position as optimal flame position.
Step8: Using equation (A) (i) � (L i. ebt.cos (2πt) + B j ) Review the moth position to enable moths to converge to an optimal solution.
Step9: If exceed the maximum threshold of iteration, go to step5.
Step10: If not, update the K �K + 1 iteration count and return to step5.
Step11: Break the best solution for the problem of optimization. e finest possible solution is to optimize SVC's location and size. e respective objective function value which embodies the lowest possible real power loss. Figure 3 shows the exact function of the MFA. e coding of the algorithm was developed in the m-script of the MATLAB platform. In this section, crucial execution of the program was explained step by step. e results of the MFA had been compared with PSO. e system data could be read by the function [d, V_base] � data (). e maximum number of the bus and line could be taken by the command nbus � max (max (d (: , 1). e results of load flow data were input to placing and sizing of SVC. In this optimization algorithm, maximum number of search agent is 30. e maximum number of iterations is 100. N is denoted as number of search agent. e SVC rating is in kVAR. e upper limit and lower limit were decided based on total reactive power demand of the system. e reactive power ranges from −1kVAR to +1kVAR. e dimension of the problem was taken as 1. en initialize the positions of the moths using (4) and search randomly to fix best fitness. Moth pos(:, 1) � SVC min + SVC max − SVC min * rand(N, 1).

(4)
e number of the flames in the work was decided by the following: It is mandatory to check whether the moths are out of search space or not. If the moths are out of search space, it should be brought into search boundaries. e fitness of moths was calculated by MATLAB function: Moth fitness(1, i) � Obj func(Moth pos(i, :)).
e next steps after the fitness were sorting the first population of the moths based on best fitness. After the sorting of the flame, update the best position of the flames. e 8 th step in the algorithm gives the absolute value of the flame distance. e algorithm had converged after flame scored best value. e converged speed of the algorithm was faster than PSO in this work. In this paper, MFA dominated over the PSO for the placing and sizing the SVC in the test system. Report the best positions of the moth Journal of Electrical and Computer Engineering were formed and the effectiveness of the techniques was observed. e computational time of the algorithm was also taken as a crucial parameter to fix the superiority in the Wolaita Sodo distribution network. e suggested reasoning was tested on 34 radial bus systems and the results obtained were improved with MFA and PSO optimizations. e test system had a demand of 3.72 MW and 2.3 MVAR for real power and reactive capacity, respectively. e PSO technique is carried out on a radial 34-bus network, as per the standard steps. is MATLAB simulation program was developed and run on Intel Pentium dual core personal computer with 2 GB RAM. e final result obtained from the MATLAB software is shown in Table 3. It is evident that the PSO approach shows its advancement and benefits over the existing method in terms of line loss decrement and computational time. Figure 4 clearly reiterates voltage deviation in the system while absence of SVC and voltage magnitude was restored in its optimal range with presence of SVC. In Figure 4, red colour line shows the results with SVC. Almost all 34 buses' voltage was maintained constant with reactive power support. e convergence line of PSO drawn on 34-bus system is also depicted in Figure 5. e iteration-1 starts objective function of 298.7986 and objective function is converged at iteration-100 value of 269.32 and elapsed time is 1.145873 seconds. Before SVC placement on optimal location, real power loss (kW) is 369.57 and reactive power loss (kVAR) is 356.07. After optimal location and optimal sizing of SVC/, the real power and reactive power loss were reduced into 270.01 kW and 260.12 kVAR, respectively.

Scenario 2.
e first scenario was tested successfully with PSO algorithm. In the second scenario, recent optimization technique, moth flame algorithm, was introduced for sizing and placing the SVC. is technique coding was developed in MATLAB and run on Intel Pentium dual core like PSO code. In Figure 6, results of voltage profile are constant in the entire distribution network. e range of the distribution system voltage started from 0.91 to 1.05 pu. e range in Figure 4 was accepted and matched with IEEE standard. is is one of the evidences that line losses would be minimized because of the constant voltage maintained in the system. e bus 7 was selected as weakest bus in the next for moment. e optimal size of the SVC was designed with MFA and placed at bus 7 for reactive power support. During the operation, bus 7 suffered more than the rest of the buses to maintain constant voltage at knee point. e optimal size of the SVC had been decided value of 2300 kVAR. e active power loss in kW without SVC was 210.99 kW and with SVC 168.57 kW. e percentage of the losses reduction in the system was 42.43 kW. e reactive power losses without and with SVC were 143.13 and 126.26 kVAR, respectively. e percentage of reactive power loss observed was exactly 16.87 kVAR. e overall results of the work are showcased in Table 3. e comparisons were made between MFA and PSO in the all level performance. Figure 7 shows voltage profile of the 34 buses and all the bus voltage was maintained constant around 1pu after inclusion of SVC with MFA. e MFO technique had taken slight edge in terms of computational time and was given proper placing and sizing to fix the problem in the system. e power system has been    more dynamical operation and uncertainty may occur any time. To prevent the faults, stability issues, compensation, and protection of the devices, the computerized monitoring system must act accordingly as fast as possible to take decision over the uncertainties. In that sense, MFA was shown its superiority in the case of improving voltage profile of the system. e big contribution of the work was helping to choose the rating of SVC during needed conditions. e operation of these proposed algorithms, MFA and PSO, would deliver exact sizing and placing of the SVC in the system. e detailed information of the collected and calculated data of Wolaita Sodo substation is recorded in Tables 4 to 7. e data used in the work was measured from the case study substation. To implement the algorithm-based SVC in the system proper data from concern substation is mandatory. e MICROVIP3 PLUS device was used to measure harmonics and voltage variations in different places of the substations. e collected 34-bus data is listed in Table 4. In Wolaita Sodo region, there are 34 distribution transformers under working conditions with different rating. All the transformer data are placed in Table 5. e line data of the system is catalogued in Table 6 and real and reactive power data of each bus during load flow execution is showcased in Table 7.
e overall data given in Tables 4-7 could be useful for future enhancement of the realistic work in the same substation.

Conclusion
MFO algorithm is used in this article to find the optimum location, size, and SVC units to improve voltage profile and minimize the power loss in a Wolaita Sodo distribution of the 34-bus system. e findings indicated the efficiency of the algorithm, since the enforced MFO algorithm implies a lower power loss value than the literary results reported and PSO algorithm. e system's voltage profile is also improved immensely with SVCs being placed at relevant locations where more reactive power is required for voltage stable. e validity of the proposed system was noteworthy and results in different places in the articles were tabled. In this paper, effectiveness of the algorithm was compared with one of the popular algorithms PSO. Both algorithms hav effectively helped with maintaining constant voltage profile over long distances. e weakest zone of the network was bus 11 and bus 7 under different situations. e prolonged changes in the reactive power cause massive changes in the voltage which sometimes leads to brownout or blockout in the distribution ring. e moth flame optimization had been sized and placed the SVC in the optimal place for correcting the voltage deviations. e consequence of the constant voltage at all 34 buses in Wolaita Sodo leads to minimization in the line losses. e obtained results from the proposed system have proved that, under any uncertainty, conditions in Wolaita Sodo substation would be restored as soon as possible. e computational times of the algorithms were registered as 0.65 sec for MFO and 1.14 sec for PSO.

Data Availability
e data used to support the findings of this study are included within the article. e data were collected from Sodo Substation and given in Tables 4-7.  Journal of Electrical and Computer Engineering 9