Abstract
Accurate modelling of distribution transformers (TXs) is crucial to identify their operating characteristics across several power system applications. Consequently, this paper employs an improved version of the artificial ecosystem optimizer (called IAEO) in parameters estimation of distribution TXs with different four sizes (i.e. 4, 15, 112.5 and 167 kVA ratings). Comparison with well-known literature optimizers, including genetic algorithm, particle swarm optimizer, coyote optimization algorithm, artificial hummingbird optimizer, and others, validates the performance of the proposed IAEO. The IAEO demonstrates its superiority by getting the lowest possible value of the sum of absolute errors (SAEs) between measured and calculated values, which serves as the objective function (OF) to be optimized. Moreover, three additional optimizers are employed and compared to IAEO for all study cases: firefly algorithm, political optimizer, and exponential distribution optimizer. It is found that IAEO attains the minimum SAEs values of 1.12e-5 and 0.0322, outperforming the best competitors for 4 kVA and 15 kVA TXs, respectively. Furthermore, IAEO accurately captures the steady state fingerprint of all studied TXs in terms of efficiency and voltage regulation (VR). This way, the peak efficiency occurs at 36.2% loading in 112.5 kVA TX while the negative VR may reach -8% when the 167 kVA TX is loaded with its rated leading power factor. Finally, all executed optimizers are analyzed using several statistical indices, including t-test, where the proposed IAEO gets the smoothest and fastest OF minimization trend.
Similar content being viewed by others
Introduction
Transformers (TXs) are fundamental components in electrical power systems for securing efficient transmission and distribution of electricity through adjusting voltage levels as needed1. Therefore, ensuring their operational reliability and performance optimization is essential for maintaining power system stability2. Consequently, the development of accurate steady-state and dynamic models has become a major focus of recent research since such models can facilitate comprehensive analysis of TXs behavior across various operating conditions3,4. Specifically, through these models, key performance metrics, including efficiency, losses, and thermal response, can be accurately predicted prior to real-world implementation5. By reducing reliance on physical testing, these models help minimize development costs and enhance the design process. For example, understanding steady-state characteristics (CCs) such as impedance and voltage regulation aids system operators in making well-informed decisions related to maintenance, fault detection, and network planning. Additionally, as the integration of renewable energy sources continues to grow, the need for accurate TX models becomes even more pressing to ensure the infrastructure can adapt to evolving load demands and generation variability6,7.
Many TX’s models depend on parameters that are not explicitly provided in manufacturer datasheets8. The accuracy of these parameters directly affects the precision of simulation outputs in replicating real-world TX’s behavior. Thus, precise parameter identification is crucial to ensure such models accurately reflect TX’s performance under varying operating conditions9. Conversely, inadequate estimation methods can lead to inefficient design, increased operational expenses, and potential risks to system reliability. Therefore, selecting an appropriate determination technique is imperative for constructing robust models that facilitate effective monitoring, optimization, planning, and control of TX’s operations10.
Several challenges affect the accuracy of parameter determination, including harmonic distortion, transient effects, and core saturation11. Thus, various techniques have been employed, such as time-domain behavioral analysis12 and frequency response assessments13, to account for the aforementioned issues. Inrush current measurements have also been integrated into models to consider core saturation effects14. For parameter estimation initialization, phase measurement units, short-circuit and no-load tests, inrush current analysis, and load-based data acquisition are the commonly used measurement techniques15. However, performing these tests often requires taking TXs offline, which is impractical for large-scale implementation since it can lead to widespread power outages and increased economic losses16.
To overcome the aforementioned limitations, finite-element-based analytical techniques have been widely adopted for TX sizing17,18. Despite their effectiveness, these methods face difficulties when dealing with nonlinear materials and intricate TX structures. As a result, researchers have increasingly turned to metaheuristic optimization algorithms (MOAs). MOAs have demonstrated strong potential in solving a variety of engineering problems, such as relay coordination for TX protection19, parameter estimation in fuel cells20, photovoltaic (PV) systems21, and battery modelling22. MOAs have also been employed for economic dispatch23 and optimal placement of distributed energy resources24. Unlike traditional methods, MOAs can efficiently explore search spaces25, handle nonlinearities, and avoid local optima26, qualifying them as a well-suited technique for accurate and flexible parameter estimation even under challenging noise and uncertainties27. Their adaptability to different TX operating conditions further enhances their suitability for modern power systems, ultimately leading to improved energy management and distribution through precise TX modelling28.
In this regard, numerous studies have explored the application of MOAs for optimizing TX equivalent circuit parameter estimation by maximizing the correlation between computed and measured data29. This correlation is typically evaluated using a specific objective function (OF), where minimizing the OF value indicates superior algorithmic performance. Instead of relying on direct TX testing, researchers often extract real-world data from nameplate specifications or load-based measurements to enhance estimation accuracy without requiring service interruptions30. Various MOAs have been explored for transformer equivalent circuit parameter estimation, such as artificial bee colony (ABC) optimization, artificial hummingbird optimizer (AHO), blackhole optimization algorithm (BOA), coyote optimization algorithm (COA), chaotic optimization technique (COT), and crow search optimizer (CSO). Other MOAs applied in this domain include dandelion optimization algorithm (DOA), forensic-based investigation optimizer (FIO), generalized normal distribution optimizer (GNDO), genetic algorithm (GA), gravitational search algorithm (GSA), and hurricane optimization algorithm (HOA). Additionally, imperialistic competitive optimizer (ICA), improved Tasmanian devil optimizer (ITDO), jellyfish search optimizer (JSO), particle swarm optimizer (PSO), and slime mould optimizer (SMO) are attempted to attain the same goal.
Comprehensive comparisons of these MOAs are provided in Table 1, detailing their inspiration, OFs, advantages, disadvantages, TX types, and the specific tests used for circuit data extraction. The table categorizes different OFs applied to assess algorithmic accuracy, including percentage error (PE), sum of absolute error (SAE), average mean quadratic error (AMQE), mean quadratic error (MQE), sum of quadratic absolute percentage error (SQAPE), sum of quadratic error (SQE), and sum of quadratic relative error (SQRE). It also highlights the variations in TX types, from single-phase to three-phase transformers, and the corresponding tests such as no-load, short-circuit, full-load, load, DC, and nameplate data extraction. Despite their advantages, MOAs require careful parameter tuning, as improper adjustments may lead to suboptimal results. Their inherently stochastic nature can sometimes result in inconsistent solutions, necessitating the application of multiple optimization strategies to enhance robustness. Furthermore, as per the no free lunch theorem, no single optimization algorithm is universally superior for all parameter estimation tasks, reinforcing the need for diverse approaches tailored to specific problem complexities15,16,31,32.
Modifications of MOAs are often introduced to enhance their performance in terms of convergence speed, solution quality, or robustness across diverse optimization problems43. These enhancements are necessary because the original or classical versions may suffer from issues like premature convergence, slow exploration, or stagnation in local optima44. Modifications are typically applied to core operators such as initialization, selection, crossover, mutation, and update mechanisms. For instance, hybridizing exploration and exploitation strategies, incorporating adaptive parameters, or using problem-specific knowledge can significantly improve algorithmic efficiency. Overall, such modifications aim to strike a better balance between global search and local refinement, thereby increasing the algorithm’s generalization capability45.
Driven by the ongoing need for accurate transformer models in system design and operation, the limitations of direct testing methods, and the growing demand for accurate, non-intrusive parameter estimation methods compatible with modern grid requirements, this study explores the improved artificial ecosystem optimizer (IAEO), a recent variant of the artificial ecosystem optimizer (AEO), for TXs parameter estimation46. Compared to earlier MOAs, IAEO offers better convergence stability, enhanced global search capabilities, and fewer parameter dependencies, making it a strong candidate for complex nonlinear optimization tasks such as TX parameter estimation. The IAEO has demonstrated promising results in other power system applications, indicating its potential for handling complex transformer modeling problems47,48. This study aims to investigate the application of IAEO for offline transformer parameter estimation, evaluating its effectiveness across various transformer sizes and a wide range of operating conditions. To validate its performance, the proposed method is benchmarked against several recent metaheuristic optimization algorithms from the literature. Accordingly, the contributions of this research can be summed up as follows: (i) Utilizing an improved IAEO in parameters determination of distribution TXs, (ii) Validating IAEO competency against literature algorithms against well-established algorithms from the literature, including firefly algorithm (FA), political optimizer (PO), and exponential distribution optimizer (EDO), (iii) Evaluating the proposed methodology over small and medium sized single-phase TXs, (iv) Identifying the rated fingerprint of these TXs under various loading conditions, and (v) Assessing the proposed methodology with several statistical performance measures.
The remainder of this research is structured as follows: Mathematical modelling of single-phase TXs with governing equations are presented in Section “Transformer mathematical modelling”. The general procedure of the proposed IAEO with its methodology are discussed in Section “Optimization technique”. Section “Optimization model formulation” formulates the optimization problem with associated constraints and details the statistical analyses methods employed for testing different MOAs algorithms. Section “Simulation results with debates” provides simulation results, illustrative graphs, and discussions. Finally, Section “Conclusions” concludes the research work along future insights.
Transformer mathematical modelling
TXs are composed of primary and secondary windings that are magnetically linked through an iron core. The primary winding is connected to the supply voltage, \({V}_{pr} \left(V\right)\), while the secondary winding, \({V}_{sr} \left(V\right)\), delivers power to the load, \({Z}_{Lr} \left(\Omega \right)\). Consequently, the TX equivalent circuit incorporates primary and secondary resistances, \({R}_{pr}\) and \({R}_{sr}\), primary and secondary leakage reactances, \({X}_{pr}\) and \({X}_{sr}\), core-loss resistance, \({R}_{cr}\), and magnetizing reactance, \({X}_{mr}\), all measured in \(\left(\Omega \right)\). Notably, all these parameters are referenced to the primary side, as illustrated in Fig. 115,33.
Based on this configuration, the impedances associated with the primary and secondary windings, as well as the core magnetizing branch, denoted as \({Z}_{pr}\), \({Z}_{sr}\), and \({Z}_{mr}\), respectively, all in Ω, can be mathematically expressed as follows:
When the TX is energized by an applied voltage source \({V}_{pr}\) and connected to a load \({Z}_{Lr}\), the overall impedance observed from the primary side, \({Z}_{all} \left(\Omega \right)\), the input current, \({I}_{pr} \left(A\right)\), the load current, \({I}_{sr} \left(A\right)\), and the load voltage, \({V}_{sr}\), can be derived using (4) to (7)29:
Under typical operating conditions, the TX percentage voltage regulation, \(VR\%\), input power, \({P}_{inr} (W)\), output power, \({P}_{outr} (W)\), and efficiency, \(\eta (\%)\), can be determined as indicated in (8)-(11)34,40:
Accordingly, it is clear that \({R}_{pr}\), \({X}_{pr}\), \({R}_{cr}\), \({X}_{mr}\), \({R}_{sr}\), and \({X}_{sr}\) need to be optimally estimated to ensure an accurate TX model that aligns with actual measured data. Once these parameters are identified, the TX equivalent impedance in per unit (PU), denoted as \({Z}_{TXr}\), can be computed by (12), which will be further utilized in short-circuit (SC) calculations. Lastly, the loading level at which the TX achieves maximum efficiency (ε) can be determined by (13).
where, \({S}_{TXr}\) represents the TX apparent power in \(VA\), \({P}_{core}\) accounts for iron or core losses which remain constant regardless of loading percentage in \(W\), and \({P}_{cufl}\) signifies the copper losses in \(W\) when the TX is fully loaded.
Optimization technique
This section introduces the inspiration and equations of the IAEO, explains the differences and advantages compared to the conventional AEO, and describes how it performs the exploration, and exploitation phases and makes the transition between them.
Conceptual foundation
The AEO is a nature-inspired algorithm based on the dynamics of ecosystems, where individuals represent solutions, interact with each other and their environment. The algorithm takes inspiration from the natural process of evolution, where species must adapt to their surroundings, optimize their survival strategies, and maximize their chances of reproducing. This process is modeled in the AEO, where the algorithm’s population represents species in an ecosystem, and various operations like production, consumption, and decomposition mimic natural behaviors that drive the search for optimal solutions48. The AEO employes three main evolutionary operators: production, consumption, and decomposition, which simulate the survival and reproduction strategies of species in a natural ecosystem. These operators work together to guide the algorithm through the exploration and exploitation phases of the optimization process47.
Production phase
The production operator in AEO is inspired by the way organisms reproduce and generate offspring. In this operator, the best individual in the population produces new solutions by combining its traits with those of a randomly selected individual. This process aims to introduce new individuals into the population, contributing to the search for better solutions. The new candidate solution produced at iteration \(it+1\), \({X}_{1}\left(it+1\right)\), is generated as:
where, \({X}_{{N}_{p}}\left(it\right)\) represents the current best solution in the population \({N}_{p}\) at iteration \(it\). \(\alpha\) is a production factor that is gradually decreased during the optimization process to reduce exploration and enhance exploitation, as defined in (15). \({X}_{rd}\) is a randomly selected individual from the population at iteration \(it\) which is calculated by (16).
where, \({IT}_{m}\) is the maximum number of iterations. \({U}_{l}\) and \({L}_{l}\) denote the higher and lower limits of the search space, respectively. \({s}_{1}\) and s are randomly generated number and vector, respectively. \({s}_{1}\) and s values range from \(0\) to \(1\).
The production operator helps to introduce diversity in the population by generating new individuals. The value of \(\alpha\) decreases over time, shifting the focus from global search (exploration) to local search (exploitation).
Consumption phase
The consumption operator models the interaction between individuals in the ecosystem based on their fitness levels. Individuals can consume other individuals based on their relative fitness, mimicking the behavior of herbivores, carnivores, and omnivores in nature. This operator helps in refining the search by allowing individuals to consume solutions that are better or more competitive. General consumption behavior is controlled by the consumption factor, \(C\), based on Levy flight, as defined by (17) and (18).
where, \(\widetilde{N}\left(\text{0,1}\right)\) denotes a Gaussian distribution with a zero mean and unit variance.
The consumption phase is modeled by three different consumers:
-
An herbivore consumes the nearest producer, a solution with higher fitness, which is mathematically expressed by (19).
-
A carnivore consumes other randomly selected individuals in the population based on their fitness, as given by (20).
-
An omnivore consumes both producers and other consumers, enabling further diversity in the population, as explained in (21).
$${X}_{i}\left(it+1\right)={X}_{i}\left(it\right)+C.\left({X}_{i}\left(it\right)-{X}_{1}\left(it\right)\right), i\in \left(2,\dots ,{N}_{p}\right)$$(19)$${X}_{i}\left(it+1\right)={X}_{i}\left(it\right)+C.\left({X}_{i}\left(it\right)-{X}_{j}\left(it\right)\right), i\in \left(3,\dots ,{N}_{p}\right) \& j=rand\left(\left[2, i-1\right]\right)$$(20)$${X}_{i}\left(it+1\right)={X}_{i}\left(it\right)+C.\left({s}_{2}\left({X}_{i}\left(it\right)-{X}_{j}\left(it\right)\right)+\left(1-{s}_{2}\right)\left({X}_{i}\left(it\right)-{X}_{j}\left(it\right)\right)\right),$$$$i\in \left(3,\dots ,{N}_{p}\right) \& j=rand\left(\left[2, i-1\right]\right)$$(21)
where \({X}_{i}\left(it+1\right)\) is the current position of the \({i}^{th}\) individual. \({X}_{j}\left(it\right)\) is a randomly chosen individual from earlier individuals, excluding the best. \({s}_{2}\) is a randomly generated scalar from 0 to 1.
Decomposition phase
The decomposition operator simulates the death of individuals in the ecosystem, where deceased individuals are decomposed, and their CCs contribute to the survival of the remaining individuals. This operator ensures diversity within the population and avoids the algorithm from becoming stuck in local optima. The mathematical representation of the decomposition phase is given by (22).
where, \({X}_{n}\left(it\right)\) is the best individual at iteration \(it\). \(D\) and \(e\) are random factors that represent the decomposition strength and determine the direction of the decomposition, which are described by (23), (24), respectively. \(h\) a random factor that influences the strength of the decomposition, given by (25).
where, \({s}_{3}\) is a randomly generated number between (0, 1).
This formulation enables the best individual to contribute its traits to the rest of the population in a directionally randomized manner, thereby enhancing exploration capabilities while retaining information from superior solutions.
IAEO
The IAEO improves upon the traditional AEO by refining its performance. Unlike the AEO, which functions across three phases, production, consumption, and decomposition, the IAEO specifically targets and optimizes the efficiency of the consumption phase. The mathematical formulas of the consumption phase (19)-(21) are upgraded to a sinusoidal-based ones. This method generates diverse solutions by oscillating outward or towards the optimal solution. Accordingly, it contributes to a more dynamic and effective search process. Specifically, the mathematical representation of the herbivore, carnivore, and omnivore consumers are updated to that in (26,27,28,29,30), respectively48.
where \({s}_{4}\) controls the step size reduction over time and \({s}_{5}\) introduces a random phase angle. \({s}_{6}\in (\text{0,1})\) is random scalar to switch between sine and cosine operations. By improving the consumption phase through the sine–cosine method, it enhances the algorithm’s ability to generate diverse solutions and more effectively explores the search space. This approach helps maintain a balance between exploration and exploitation which prevents premature convergence. Additionally, the dynamic nature of the IAEO allows for better adaptation to complex optimization problems since it improves both convergence speed and solution quality. The flowchart of the IAEO is presented in Fig. 2.
Time complexity is a crucial metric for evaluating an algorithm’s performance, as it reflects both operational efficiency and the capacity to address complex optimization problems. The time complexity analysis for AEO and its improved variant, IAEO, is detailed below:
For AEO, given a population size N, problem dimension D, and maximum number of iterations T, the time complexities are as follows:
-
Population initialization: O (N.D)
-
Fitness evaluation: O (N.D)
-
Producer position update: O (D)
-
Consumer position update: O ((N-1).D)
-
Decomposer position update: O (T.N.D)
Thus, the overall time complexity of AEO is dominated by O (T.N.D).
For IAEO, which uses the same parameters as AEO, the complexities are:
-
Population initialization via Latin Hypercube Sampling (LHS): O (N.D)
-
Quadratic interpolation: O (T.N.D)
-
Adaptive neighborhood search: best-case complexity is O (0), while worst-case is O (T.N.D)
Hence, the overall time complexity of IAEO remains O (T.N.D). Although IAEO incorporates additional mechanisms, its time complexity does not increase exponentially compared to AEO. However, it yields significantly better performance.
Optimization model formulation
Objective function
The OF acts as the key performance indicator to quantify the mismatch between the actual measured data and the values produced by the model. Hence, diminishing its value signifies the optimizer ability to fine-tune TX parameters, resulting in a close alignment between the model outcomes and actual behavior. A well-defined OF not only directs the MOA toward precise solutions but also enhances its ability to handle complex and nonlinear CCs inherent in TX modelling. Thus, the efficiency of an MOA in parameter estimation largely depends on how accurately the OF captures the problem’s constraints and the nature of the data. Consequently, the SAE between the actual and computed datasets is selected as the objective criterion, as defined in (31). The mathematical representation of the proposed OF is provided in(32).
where \({I}_{prms}\), \({I}_{srms}\), and \({V}_{srms}\) represent the actual measured values of the primary current, load current, and load voltage, respectively. \({\eta }_{ms}\) denotes the recorded TX efficiency corresponding to a given loading condition. Inequality constraints defining the boundaries of the optimized variables are formulated in (33).
This formulation ensures that the optimized parameters remain within their predefined physical limits, improving the reliability and feasibility of the estimated TX model. Furthermore, several OFs may also be examined to ensure the robustness of the proposed methodology such as mean absolute error (MAE) and mean square error (MSE) which can be formulated as shown in (34) and (35) respectively.
Statistical analysis
A t-test, or Student’s t-test, is a statistical method used in hypothesis testing to compare the means of one or two populations. It can be applied in various scenarios: To assess if the mean of a single group differs from a specified value (one-sample t-test), to determine if there is a difference between the means of two independent groups (independent two-sample t-test), or to evaluate whether there is a significant difference between paired measurements (paired, or dependent samples t-test). First, the hypothesis to be tested is defined and an acceptable level of risk for making an incorrect conclusion is chosen. For instance, when comparing two populations, one may hypothesize that their means are equal and set a threshold for the likelihood of mistakenly concluding there’s a difference when there isn’t. Then, a test statistic (\(ts\)) based on the data is calculated and compared to a critical value from the t-distribution. Based on this comparison, one either rejects or fails to reject the null hypothesis.
When defining a hypothesis, one also should determine whether to use a one-tailed or two-tailed test. This decision should be made before gathering data or performing any calculations. It applies to all three types of t-tests for means. For all t-tests involving means, the analysis follows the same steps:
-
1.
Start by defining null and alternative hypotheses before gathering any data.
-
2.
Select an alpha (α) value, which represents the level of risk possible to accept for making an incorrect conclusion. For instance, if α is set to 0.05 when comparing two independent groups, it is accepted that a 5% chance of incorrectly concluding that the population means differ when they actually don’t.
-
3.
Review the data for any errors.
-
4.
Verify that the assumptions required for the test are met.
-
5.
Conduct the test and draw a conclusion. All t-tests for means involve calculating a \(ts\), which is then compared to a theoretical value from the t-distribution. This theoretical value depends on both the α value and the degrees of freedom, \(df\), in the data.
A one-sample t-test is a statistical hypothesis test used to assess whether the mean of an unknown population differs from a specified value. Initially, the mean, standard deviation, SD, and sample size, n, are defined, then, the standard error of the mean \(, {SE}_{mean}\), is computed from (36).
\(ts\) can be calculated through (37):
where \(\Delta\) denotes the difference between the sample mean and the assumed value (hypothesis theory). To make the decision, the \(ts\) value is compared to a value from the t-distribution. This process involves two steps:
-
1.
The level of accepted risk is determined by mistakenly identifying a difference when none exists. As mentioned earlier, take a 5% chance of concluding that the unknown population mean differs from zero when it actually doesn’t. In statistical terms, we set α = 0.05. Ideally, this risk level (α) should be established before collecting any data.
-
2.
The corresponding value from the t-distribution is obtained based on the risk level. For a t-test, this requires knowing the \(df\), which are determined by the sample size as illustrated in (38).
$$df=n-1$$(38)
Simulation results with debates
Initially, the competitiveness of the proposed IAEO against the original AEO is checked in solving the CEC2017 benchmark functions. Table 2 lists a brief comparison among selected test suits before going through the research’s core. Afterwards, the efficacy of the proposed IAEO is verified either with published work or newly executed algorithms over the nominated approach. Four different study cases are investigated in this paper: 4 kVA30,49, 15 kVA30,49, 112.5 kVA50, and 167 kVA35. For the first two cases, IAEO will be compared with the acclaimed GA38,51, PSO36,51, GSA39, and ICA39. In addition, JSO41 and FIO36 are referred in 4 kVA TX while COA39 and AHO30 are reviewed in the 15 kVA test case. Concurrently, 3 algorithms are executed with the main IAEO: FA52, PO53, and EDO54 in addition to the original AEO to manifest how the modifications improve the simulation results.
It is worth highlighting that the formulated OF announced in Section"Optimization model formulation"is utilized in all study cases with the extension of the efficiency supplement in the first case. Clearly, all the implemented algorithms are executed with the same conditions for an equitable comparison: 100 populations with 200 iterations for the 1st two cases and 400 iterations for the other two cases with 10 independent simulation runs for all cases. Furthermore, lower boundaries (LB) and upper boundaries (UB) of the modelled TXs are listed in Table 3 as addressed in the literature. Last but not least, all results have been rounded to four decimal points for improved clarity and convenience.
Study case 1: 4 kVA
4 kVA single-phase TX is rated at 250/125 V and 50 Hz with the following measured voltages and currents at full load: \({I}_{prms}=15.2825 A\), \({I}_{srms}=15.0782 A\), \({V}_{srms}=235.5967 V\), and \({\eta }_{\text{ms}}=94.07\%\). The 6 unknown parameters will be estimated using the IAEO along with the 3 rivals and compared with literature algorithms as reported in Table 4. Obviously, there are no violations in the reported values, however, IAEO and AEO attain the lowest possible value of the SAE compared to FA, PO, and EDO as indicated in Table 5. Moreover, Fig. 3 depicts the OF convergence using the nominated contenders showing the superior performance of the proposed IAEO. Additionally, IAEO achieves the lowest values for OF supplements as declared in Table 5 resulting in SAEs of 1.12e-5. In this regard, FA is considered as the best rival to IAEO with SAEs of 1.75e-3 while EDO loses the competition with SAEs of 0.0107. Afterwards, efficiency and VR curves are extracted for this TX using IAEO as declared in Fig. 4 using various loading power factors (PFs). Explicitly, VR accepts negative values for leading PFs as shown in Fig. 4(b) while the maximum efficiency occurs at 49.4% loading.
A closer look at the convergence patterns demonstrated in Fig. 3 for AEO and IAEO, the reader may note that the IAEO accelerate faster to the final best value in only 50 cycles.
Study case 2: 15 kVA
The technical specs of this TX are 2400/240 V, 50 Hz, single-phase with the following measured currents and voltages at full load: \({I}_{prms}=6.2 A\), \({I}_{srms}=6.2 A\), and \({V}_{srms}=2383.8 V\). Table 6 announces the optimal unknown parameters of this test case using IAEO, FA, PO, and EDO with other reported results from the literature. Moreover, it has been revealed that IAEO attains the minimum OF value among all algorithms as indicated in Table 7 with SAEs of 0.0322. In this case, EDO is deemed as the best rival to IAEO by achieving SAEs of 0.0328 while FA loses the competition by 0.0424. In this context, Fig. 5 captures the OF convergence using the 5 executed algorithms showing a similar performance during the iterations process. It is worth mentioning that the proposed IAEO gains the best OF value compared to other referred work such as PSO, ICA, GSA, GA, COA, and AHO. Moreover, Fig. 6 expresses the steady state evaluation of this TX by printing the efficiency and VR CCs. The maximum efficiency arises at 54.5% loading factor meanwhile the VR CCs have almost flat behavior with leading PF loads.
Study case 3: 112.5 kVA
This TX has the following nameplate data: 112.5 kVA, 13,200/440 V, 60 Hz, single-phase with these measured currents and voltage: \({I}_{prms}=7.9032 A\), \({I}_{srms}=7.7484 A\), and \({V}_{srms}=\text{12,000.7485} V\). The obtained optimal parameters are tabulated in Table 8 with \({R}_{pr}=32.2951 \Omega\), \({X}_{pr}=101.3391 \Omega\), \({R}_{sr}=70 \Omega\), \({X}_{sr}=300 \Omega\), \({R}_{cr}=200 k\Omega\), and \({X}_{mr}=40 k\Omega\) using the IAEO. Additionally, Table 9 manifests the preeminence of IAEO over other competitors by accomplishing SAEs of 0.0282 with a speedy convergence CCs as shown in Fig. 7. It is worthy to say that EDO is the best rival to IAEO by attaining SAEs of 0.0315 while FA and PO attain SAEs of 0.0833 and 0.0564 respectively. Even though, IAEO wins the overall competition by fulfilling a percentage reduction of the OF value by 11.7% compared to EDO. Additionally, the OF complementary values are the least among other optimizers as indicated in Table 9. Specifically, Fig. 8 shows the steady state fingerprint of this TX using the proposed IAEO when loading with diverse loading types. Its peak efficiency takes place at about 36.2% loading regardless of the PF type. Moreover, the VR CCs seems to be more intensive in the case of lag PF that may reach 20% for full loading condition.
Study case 4: 167 kVA
This single-phase TX has these typical nameplate ratings: 167 kVA, 11,400/240 V, 60 Hz with the measured currents and voltages of \({I}_{prms}=13.2533 A\), \({I}_{srms}=13.1642 A\), and \({V}_{srms}=\text{10,244.4207} V\). The optimal unknown parameters of this TX are reported in Table 10 using the four executed algorithms. The reached results using IAEO are \({R}_{pr}=30.2025 \Omega\), \({X}_{pr}=100.4757 \Omega\), \({R}_{sr}=30.6067 \Omega\), \({X}_{sr}=105.4181 \Omega\), \({R}_{cr}=200.835 k\Omega\), and \({X}_{mr}=41.174 k\Omega\). Table 11 declares the dominance of IAEO over other challengers by attaining SAEs of 9e-6 with the excellence convergence CCs as shown in Fig. 9. Clearly, IAEO outperforms all algorithms by achieving a great percentage reduction of the OF value even when it is compared to the best rival (i.e. EDO). In this study case, FA loses the competition when accomplishing the highest OF value of 0.0296. In this regard, Fig. 10 captures the steady state performance of this large single-phase TX showing the trend of efficiency and VR CCs for various loads. Notably, the peak efficiency occurs at a lower value of loading almost 23.3% irrespective of the PF type. Moreover, the VR negative trend may reach −8% when this TX is loaded by its full loading leading PF.
It is well known that \(X/R\) defines the ratio between the equivalent reactance to the equivalent resistance, while \({I}_{o}\) denotes the percentage of the no-load current with respect to the nominal current. Hereinafter, the steady state CCs calculations are highlighted in Table 12 for the 4 test cases using the implemented algorithms. The results obtained are almost identical for each study case which proves the efficacy of the optimization methodology. It is concluded that 15 kVA TX reaches its peak efficiency at a higher percentage loading while the 167 kVA TX reaches the peak efficiency at the lower percentage loading. Obviously, the largest TX (i.e. 167 kVA) has the minimum no load current percentage with an average value of 2% using the 4 optimizers.
Further validations and statistical measures
Afterwards, the proposed IAEO-based methodology is validated using various OFs such as MAE and MSE. As reported in Table 13, the optimal parameters of all test cases with the corresponding OF are tabulated. Furthermore, Fig. 11 depicts the OF convergence of MAE metric while Fig. 12 shows the OF trend of MSE metric using the IAEO. Analyzing some results, optimal unknown parameters are very close using both metrices as compared to the original OF (i.e. SAE) especially, for the largest TXs. However, there are little variations in the obtained parameters of the 1st test case when modelling different OF. Finally, whenever the OF changes, the optimal parameters can be efficiently recalculated and expected outcomes achieved.
A closer look at Table 14, if the output value from statistics is larger than the value from t-distribution, the null hypothesis is rejected. Accordingly, Table 14 and Fig. 13 illustrate the above-mentioned statistical indices showing good accuracy in the simulation results.
Despite the promising results, this study has certain limitations. The optimization process relies on algorithm-specific parameters, which require careful tuning for effective performance. Additionally, the stochastic nature of metaheuristic methods may result in variability across runs. The computational time and scalability of the proposed approach can also pose challenges for larger or real-time systems. Moreover, the transformer models used are based on standard assumptions and simulations, with no direct real-world validation conducted. Future work may address these aspects by incorporating adaptive tuning, hybrid optimization methods, and practical field testing.
Conclusions
This paper presents a forward step in accurate estimation of the 6 unknown parameters of distribution transformers with several ratings. This is achieved by utilizing a novel enhanced version of the AEO enhancing the efficiency of the consumption phase by incorporating sinusoidal-based one’s technique. This way, IAEO succeeds in obtaining the lowest possible value of SAEs among all other literature methods such as the well-established GA and PSO. Additionally, FA, PO, and EDO are tested along with the proposed IAEO over the 4 study cases showing the superior performance of IAEO. For instance, 1.12e-5 is the best OF value attained by IAEO compared to 1.75e-3 achieved by FA in the 4 kVA TX, while in the 112.5 kVA TX, IAEO gains 11.7% reduction in the SAEs compared to the EDO. Furthermore, efficiency and voltage regulation CCs are extracted for all study cases at different loading conditions. It has been revealed that the largest TX with a size of 167 kVA exhibits a notable increment in the terminal voltage by 8% when it is fully loaded with its rated leading PF. Conversely, the VR experiences a flat behavior as in the case of 15 kVA TX when it is loaded with rated PF. Considering other aspects, the peak efficiency takes place at 49.4% and 36.2% for 4 kVA and 112.5 kVA TXs respectively. Nevertheless, this study is confined to analyze TXs operation under steady-state conditions, without accounting for transient events. In future work, the proposed methodology will be validated and tested on large power TXs, taking into consideration the influence of let-through fault protection CCs.
Data availability
The datasets generated and/or analyzed during the current study are not publicly available due to intellectual property rights but are available from the corresponding author on reasonable request.
Abbreviations
- ABC:
-
Artificial bee colony
- AEO:
-
Artificial ecosystem optimizer
- AHO:
-
Artificial hummingbird optimizer
- AMQE:
-
Average mean quadratic error
- BOA:
-
Blackhole optimization algorithm
- CCs:
-
Characteristic curves
- COA:
-
Coyote optimization algorithm
- COT:
-
Chaotic optimization technique
- CSO:
-
Crow search optimizer
- DC:
-
Direct current
- DOA:
-
Dandelion optimization algorithm
- EDO:
-
Exponential distribution optimizer
- FA:
-
Firefly algorithm
- FBI:
-
Forensic-based investigation optimizer
- FIO:
-
Forensic-based investigation optimizer
- GA:
-
Genetic algorithm
- GNDO:
-
Generalized normal distribution optimizer
- GOA:
-
Grasshopper optimization algorithm
- GSA:
-
Gravitational search algorithm
- HOA:
-
Hurricane optimization algorithm
- IAEO:
-
Improved artificial ecosystem optimizer
- ICA:
-
Imperialistic competitive algorithm
- ICO:
-
Imperialistic competitive optimizer
- ITDO:
-
Improved tasmanian devil optimizer
- JSO:
-
Jellyfish search optimizer
- LB:
-
Lower boundary
- MOA:
-
Metaheuristic optimization algorithm
- MQE:
-
Mean quadratic error
- NR:
-
Not reported
- OF:
-
Objective function
- PE:
-
Percentage error
- PO:
-
Political optimizer
- PSO:
-
Particle swarm optimization
- PV:
-
Photovoltaic
- SAE:
-
Sum of absolute error
- SD:
-
Standard deviation
- SMO:
-
Slime mould optimizer
- SQAPE:
-
Sum of quadratic absolute percentage error
- SQE:
-
Sum of quadratic error
- SQRE:
-
Sum of quadratic relative error
- TX:
-
Transformer
- UB:
-
Upper boundary
- VR:
-
Voltage regulation
- \(C\) :
-
Consumption factor based on Levy flight
- \(D\) :
-
Decomposition strength
- \(e\) :
-
Decomposition direction factor
- \(h\) :
-
Strength factor in decomposition
- \({I}_{pr}\) :
-
Computed primary current (A)
- \({I}_{prms}\) :
-
Measured primary current (A)
- \({I}_{sr}\) :
-
Computed secondary current (A)
- \({I}_{srms}\) :
-
Measured secondary current (A)
- \(it\) :
-
Current iteration number
- \(I{T}_{m}\) :
-
Maximum number of iterations
- \({N}_{p}\) :
-
Population count
- \(OF\) :
-
Objective Function
- \({R}_{cr}\) :
-
Core loss resistance (Ω)
- \({R}_{pr}\) :
-
Primary resistance (Ω)
- \({R}_{st}\) :
-
Secondary resistance (Ω)
- \(SAE\) :
-
Sum of Absolute Error
- \(s,{s}_{1},{s}_{2},{s}_{3}, {s}_{4},{s}_{5},{s}_{6}\) :
-
Random numbers/vectors in range [0, 1]
- \({U}_{l}\) , \({L}_{l}\) :
-
Upper and lower bounds of decision variables
- \({V}_{sr}\) :
-
Computed secondary voltage (V)
- \({V}_{srms}\) :
-
Measured secondary voltage (V)
- \({X}_{1}\left(it\right)\) :
-
Global best position at iteration \(it\)
- \({X}_{i}\left(it\right)\) :
-
Individual position at iteration \(it\)
- \({X}_{mr}\) :
-
Magnetizing reactance (Ω)
- \({X}_{pr}\) :
-
Primary reactance (Ω)
- \({X}_{rd}\) :
-
Random candidate in the population
- \({X}_{sr}\) :
-
Secondary reactance (Ω)
- \(\eta\) :
-
Computed transformer efficiency (%)
- \({\eta }_{ms}\) :
-
Measured transformer efficiency (%)
- \({v}_{1}\), \({v}_{2}\) :
-
Random Gaussian-distributed variables
References
Jin, L., Kim, D. & Abu-Siada, A. State-of-the-art review on asset management methodologies for oil-immersed power transformers. Electr. Power Syst. Res. 218, 109194 (2023).
Abbasi, A. R. Fault detection and diagnosis in power transformers: a comprehensive review and classification of publications and methods. Electr. Power Syst. Res. 209, 107990 (2022).
Kolesnikov, E., Novozhilov, A., Rakhimberdinova, D., Kislov, A. & Novozhilov, T. Mathematical model of a nonlinear power transformer for needs of relay protection. Energie 17, 1710 (2024).
Hamidi, R. J. & Bhadra, A. B. Identifying the Core Aspect Ratios of Three-Limb Core-Type Transformers using Machine Learning. IEEE Access (2024).
Sima, L., Miteva, N. & Dagan, K. A novel approach to power loss calculation for power transformers supplying nonlinear loads. Electr. Power Syst. Res. 223, 109582 (2023).
Kazemi, R., Jazebi, S., Deswal, D. & de Leόn, F. Estimation of design parameters of single-phase distribution transformers from terminal measurements. IEEE Trans. Power Deliv. 32, 2031–2039 (2016).
Pires Corrêa, H. & Henrique Teles, V. F. An approach to steady-state power transformer modeling considering direct current resistance test measurements. Sensor 21, 6284 (2021).
Aravind, M. & Naidu, O. In 1st International Conference on Power Electronics and Energy (ICPEE). 1–6 (IEEE 2021).
Ćalasan, M. P., Jovanović, A., Rubežić, V., Mujičić, D. & Deriszadeh, A. Notes on parameter estimation for single-phase transformer. IEEE Trans. Ind. Appl. 56, 3710–3718 (2020).
Yoon, Y. et al. High-frequency modeling of a three-winding power transformer using sweep frequency response analysis. Energie 14, 4009 (2021).
Geth, F. & Van Acker, T. Harmonic optimal power flow with transformer excitation. Electr. Power Syst. Res. 213, 108604 (2022).
Dirik, H., Gezegin, C. & Özdemir, M. A novel parameter identification method for single-phase transformers by using real-time data. IEEE Trans. Power Delivery 29, 1074–1082 (2013).
Mitchell, S. D. & Welsh, J. S. Modeling power transformers to support the interpretation of frequency-response analysis. IEEE Trans. Power Delivery 26, 2705–2717 (2011).
Bogarra, S., Font, A., Candela, I. & Pedra, J. Parameter estimation of a transformer with saturation using inrush measurements. Electr. power syst. Res. 79, 417–425 (2009).
El-Dabah, M. A. & Agwa, A. M. Identification of transformer parameters using dandelion algorithm. Appl. Syst. Innov. 7, 75 (2024).
Rizk-Allah, R. M., El-Sehiemy, R. A. & Abdelwanis, M. I. Improved Tasmanian devil optimization algorithm for parameter identification of electric transformers. Neural Comput. Appl. 36, 3141–3166 (2024).
Chang, W.-C. & Kuo, C.-C. A novel excitation approach for power transformer simulation based on finite element analysis. Appl. Sci. 11, 10334 (2021).
Medeiros, L. H. et al. Finite element analysis for calculation of total and distributed electromagnetic forces on power transformers windings arrangements. Electr. Eng. 106, 931–940 (2024).
Draz, A., Elkholy, M. M. & El-Fergany, A. A. Automated settings of overcurrent relays considering transformer phase shift and distributed generators using gorilla troops optimizer. Mathematics 11, 774 (2023).
Ashraf, H., Elkholy, M. M., Abdellatif, S. O. & El-Fergany, A. A. Accurate emulation of steady-state and dynamic performances of PEM fuel cells using simplified models. Sci. Rep. 13, 19532 (2023).
Sharma, P., Salgotra, R., Raju, S., Abouhawwash, M. & Askar, S. A hybrid Prairie INFO fission naked algorithm with stagnation mechanism for the parametric estimation of solar photovoltaic systems. Sci. Rep. 15, 4001 (2025).
Wu, L. et al. Decomposed particle swarm optimization for optimal scheduling in energy hub considering battery lifetime. Eng. Appl. Artif. Intell. 133, 108252 (2024).
Nagarajan, K. et al. Optimizing dynamic economic dispatch through an enhanced Cheetah-inspired algorithm for integrated renewable energy and demand-side management. Sci. Rep. 14, 3091 (2024).
Alyu, A. B., Salau, A. O., Khan, B. & Eneh, J. N. Hybrid GWO-PSO based optimal placement and sizing of multiple PV-DG units for power loss reduction and voltage profile improvement. Sci. Rep. 13, 6903 (2023).
Diab, A. A. Z., Abdelhamid, A. M. & Sultan, H. M. Comprehensive analysis of optimal power flow using recent metaheuristic algorithms. Sci. Rep. 14, 13422 (2024).
Cui, E. H., Zhang, Z., Chen, C. J. & Wong, W. K. Applications of nature-inspired metaheuristic algorithms for tackling optimization problems across disciplines. Sci. Rep. 14, 9403 (2024).
Choi, K. P., Kam, E. H. H., Tong, X. T. & Wong, W. K. Appropriate noise addition to metaheuristic algorithms can enhance their performance. Sci. Rep. 13, 5291 (2023).
Abdelwanis, M. I., Abaza, A., El-Sehiemy, R. A., Ibrahim, M. N. & Rezk, H. Parameter estimation of electric power transformers using coyote optimization algorithm with experimental verification. IEEE Access 8, 50036–50044 (2020).
Yilmaz, Z., Oksar, M. & Basciftci, F. Multi-objective artificial bee colony algorithm to estimate transformer equivalent circuit parameters. Period. Eng. Nat. Sci. 5 (2017).
Kotb, M. F., El-Fergany, A. A. & Gouda, E. A. Estimation of electrical transformer parameters with reference to saturation behavior using artificial hummingbird optimizer. Sci. Rep. 12, 19623 (2022).
Bakır, H., Duman, S., Guvenc, U. & Kahraman, H. T. Improved adaptive gaining-sharing knowledge algorithm with FDB-based guiding mechanism for optimization of optimal reactive power flow problem. Electr. Eng. 105, 3121–3160 (2023).
Kahraman, H. T. et al. Dynamic FDB selection method and its application: Modeling and optimizing of directional overcurrent relays coordination. Appl. Intell. 1–36 (2022).
Arenas-Acuña, C. A., Rodriguez-Contreras, J. A., Montoya, O. D. & Rivas-Trujillo, E. Black-hole optimization applied to the parametric estimation in distribution transformers considering voltage and current measures. Computer 10, 124 (2021).
Ćalasan, M., Mujičić, D., Rubežić, V. & Radulović, M. Estimation of equivalent circuit parameters of single-phase transformer by using chaotic optimization approach. Energie 12, 1697 (2019).
Gracia-Velásquez, D. G., Morales-Rodríguez, A. S. & Montoya, O. D. Application of the crow search algorithm to the problem of the parametric estimation in transformers considering voltage and current measures. Computer 11, 9 (2022).
Youssef, H., Kamel, S. & Hassan, M. H. In 22nd International Middle East Power Systems Conference (MEPCON). 445–448 (IEEE, 2021).
Camelo-Daza, J. D., Betancourt-Alonso, D. N., Montoya, O. D. & Gómez-Vargas, E. Parameter estimation in single-phase transformers via the generalized normal distribution optimizer while considering voltage and current measurements. Result. Eng. 21, 101760 (2024).
Mossad, M. I., Azab, M. & Abu-Siada, A. Transformer parameters estimation from nameplate data using evolutionary programming techniques. IEEE Trans. Power Deliv. 29, 2118–2123 (2014).
Illias, H. A., Mou, K. & Bakar, A. Estimation of transformer parameters from nameplate data by imperialist competitive and gravitational search algorithms. Swarm Evol. Comput. 36, 18–26 (2017).
Cortés-Caicedo, B., Montoya, O. D. & Arias-Londoño, A. Application of the hurricane optimization algorithm to estimate parameters in single-phase transformers considering voltage and current measures. Computer 11, 55 (2022).
Youssef, H., Hassan, M. H., Kamel, S. & Elsayed, S. K. In IEEE International Conference on Automation/XXIV Congress of the Chilean Association of Automatic Control (ICA-ACCA). 1–4 (IEEE, 2021).
Elsayed, S. K., Agwa, A. M., El-Dabbah, M. A. & Elattar, E. E. Slime mold optimizer for transformer parameters identification with experimental validation. Intell. Autom. Soft Comput 28, 639–651 (2021).
Bakır, H. A novel artificial hummingbird algorithm improved by natural survivor method. Neural Comput. Appl. 36, 16873–16897. https://doi.org/10.1007/s00521-024-09928-z (2024).
Bakır, H. Dynamic fitness-distance balance-based artificial rabbits optimization algorithm to solve optimal power flow problem. Expert Syst. Appl. 240, 122460. https://doi.org/10.1016/j.eswa.2023.122460 (2024).
Bakır, H. Enhanced artificial hummingbird algorithm for global optimization and engineering design problems. Adv. Eng. Softw. 194, 103671. https://doi.org/10.1016/j.advengsoft.2024.103671 (2024).
Wang, Y., Zhang, J., Zhang, M., Wang, D. & Yang, M. Enhanced artificial ecosystem-based optimization for global optimization and constrained engineering problems. Clust. Comput. 27, 10053–10092 (2024).
Yang, J., Chen, Y.-L., Yee, P. L., Ku, C. S. & Babanezhad, M. An improved artificial ecosystem-based optimization algorithm for optimal design of a hybrid photovoltaic/fuel cell energy system to supply a residential complex demand: A case study for Kuala Lumpur. Energies 16, 2867 (2023).
Sultan, H. M. et al. An improved artificial ecosystem optimization algorithm for optimal configuration of a hybrid PV/WT/FC energy system. Alex. Eng. J. 60, 1001–1025 (2021).
Rizk-Allah, R. M., El-Fergany, A. A., Gouda, E. A. & Kotb, M. F. Characterization of electrical 1-phase transformer parameters with guaranteed hotspot temperature and aging using an improved dwarf mongoose optimizer. Neural Comput. Appl. 35, 13983–13998 (2023).
Bocanegra, S. Y., Montoya, O. D. & Molina-Cabrera, A. Parameter estimation in singe-phase transformers employing voltage and current measures. Rev. UIS Ing 19, 63–75 (2020).
Bhowmick, D., Manna, M. & Chowdhury, S. K. In IEEE International Conference on Power Electronics, Drives and Energy Systems (PEDES). 1–6 (IEEE, 2016).
Zhao, M. et al. Investigation of transmission line operation condition monitoring method based on firefly algorithm. Intell. Decis. Technol. 1–14 (2024).
Suresh, V., Jasinski, M., Leonowicz, Z., Kaczorowska, D. & Reddy, K. H. Political-optimizer-based energy-management system for microgrids. Electronics 10, 3119 (2021).
Zhang, C., Chang, X., Dai, J., Chen, Z. & Babanezhad, M. Designing of a wide-area power system stabilizer using an exponential distribution optimizer and fuzzy controller considering time delays. Sci. Rep. 15, 1773 (2025).
Funding
Open access funding provided by The Science, Technology & Innovation Funding Authority (STDF) in cooperation with The Egyptian Knowledge Bank (EKB).
Author information
Authors and Affiliations
Contributions
CRediT author statement Abdelmonem Draz: Conceptualization, Data curation, Writing- Original draft preparation, Software. Hossam Ashraf: Methodology, Writing- Original draft preparation, Data Validations, Investigation. Ahmed R. El Shamy: Visualization, Software, Formal analysis. Attia A. El-Fergany: Writing- Reviewing and Editing, Supervision, Validations of Results.
Corresponding author
Ethics declarations
Competing interests
The authors declare no competing interests.
Additional information
Publisher’s note
Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Supplementary Information
Rights and permissions
Open Access This article is licensed under a Creative Commons Attribution 4.0 International License, which permits use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons licence, and indicate if changes were made. The images or other third party material in this article are included in the article’s Creative Commons licence, unless indicated otherwise in a credit line to the material. If material is not included in the article’s Creative Commons licence and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder. To view a copy of this licence, visit http://creativecommons.org/licenses/by/4.0/.
About this article
Cite this article
Draz, A., Ashraf, H., El Shamy, A.R. et al. Competency of improved artificial ecosystem optimizer in parameters identification of small and medium sized distribution transformers. Sci Rep 15, 32421 (2025). https://doi.org/10.1038/s41598-025-14233-3
Received:
Accepted:
Published:
Version of record:
DOI: https://doi.org/10.1038/s41598-025-14233-3















