1. Introduction
Electrical transformers are essential devices in the whole electric sector since these devices help with interconnected generation and demand points through transmission lines by increasing the voltage levels from medium-to-high voltage levels [
1]. When the transmission lines arrive at the subtramission and distribution substations, the voltage magnitude is again reduced to medium voltage levels to guarantee a secure electricity distribution service [
2]; finally, at the load connection points, the voltage is reduced from medium-to-low voltage magnitudes in the final distribution stage [
3]. Since the electrical transformers in the transmission and distribution sectors of the electricity service are vitally important, these devices play an important role in the dynamic and static behavior of the whole power system. In the case of static behavior of the grid, one of the main aspects that must be studied corresponds to the number of power losses of the distribution system, since these are an indicator of the grid efficiency, especially in the distribution sector where power losses can vary from 6% to 18% [
4], and the transformers can have more than 60% of the total power losses caused mainly by low loadability levels [
2]. However, to know the percentage of power losses with a high level of precision, participation of the transformers in the distribution sector is required to reveal the electrical parameters of the transformers. This is not an easy task, since these vary with respect to the nominal values which are influenced by the time of usage, level of loadability, and the weather conditions, among other factors.
Some classical approaches to obtain the electrical parameters of a transformer include laboratory tests such as short-circuit and open-circuit proofs; however, these tests are only possible with transformers that are not being used in the grid, since these tests imply the disconnection of the users to move the transformer from the load point to the laboratory site. This practice is not recommended, as distribution systems can have hundreds of transformers, which implies high expenses as well as affectation of the reliability indexes [
5].
To have correct parameters in transformers along distribution test feeders is fundamental for distribution companies, since these parameters help to improve their grid models in order to propose maintaining planes as a function of the grid performance indicators, such as energy losses or transformer loadabilities and efficiencies [
6]. To estimate the electrical parameters in transformers without laboratory tests, the literature has proposed multiple approaches that use voltage and current measures to feed an optimization model that determines the best combination of these parameters to reduce the mean square error between the calculated and measured voltages and currents [
5]. Some of these literature reports are summarized in
Table 1.
The main characteristics of the optimization methods listed in
Table 1 for solving the parametric estimation in single-phase transformers are as follows:
- ✓
All of the optimization methods are all from the family of combinatorial optimization approaches, except the work reported in [
5] where a large-scale nonlinear solver in the GAMS software was used to solve the model; however, metaheuristic optimization techniques are preferred, since these allow for dealing with the non-convexities of the problem while maintaining the solution space feasible, being implementable in multiple programming languages.
- ✓
The preferred objective function corresponds to the minimization of the mean square error between the measured and calculated voltages and currents, since this objective function allows for identifying sensitivities among the parameters of the transformers with the main advantage that the transformer is represented using a black-box model, which is internally represented through Kirchoff’s laws.
- ✓
The main advantage of the metaheuristic optimizers corresponds to their ease of implementation and their low processing times since they only take a few minutes to evaluate a million parameter combinations and possess the ability to explore the whole solution space and exploit some promissory solution regions.
Based on the revision of the state-of-the-art about parametric estimation in transformers, this research identifies the possibility of implementing a new combinatorial optimizer known in the scientific literature as the black-hole optimizer (BHO); this method has not been applied to the problem of parametric estimation in single-phase transformers. The main advantage of this algorithm corresponds to the simple but efficient rules for exploring and exploiting the solution space, which requires the adjusting of only a few parameters.
The main contributions of this research are summarized as follows:
- ✓
The application of BHO to the parametric estimation in single-phase transformers minimizes the mean square error between the measured and calculated current and voltage variable, with the main advantage that BHO finds minimum errors between the measured and calculated voltage and current variables when compared with classical optimization methods, such as the genetic algorithms, the imperialist competitive algorithm, the particle swarm optimizer, and the gravitational search algorithm.
- ✓
The reduced computational requirements for the implementation of BHO since the solution of the optimization problem takes about 111.30 s per test system. This is due to its simple evolution rules and the global exploration and exploitation properties of this optimizer, which helps to identify promissory solution regions in a few iterations.
It is worth mentioning that the application of the BHO approach to the problem of parametric estimation in single-phase transformers assumes that the measurements taken in the transformer sizes have been carefully revised and filtered; in addition, the proposed optimization model does not consider additional losses in the transformers due to material deterioration or induced currents in the transformer’s metallic components or three-phase connections. On the other hand, the evaluation of the methodology only covers the fundamental frequency analysis based on the main reports of the specialized literature that accepts the optimization model by considering only the fundamental frequency component to define the electrical parameters of the transformer. Note that these aspects are out of this research’s scope; however, some of these can be considered in future works.
An additional important fact of our research is that we only considers single-phase transformers in the analysis. We selected this type of transformer for two main reasons: (i) in the Colombian context, the vast majority of transformers in medium voltage levels are with single-phase connection with voltages among the primary side in the order of 11 kV to 13.8 kV, which helps with providing electrical service to end users with magnitudes of 120 V or 240 V, depending on the client needs in the secondary side; (ii) most of the research in the literature focus on single-phase transformers, which implies that most of the combinatorial methodologies that are used in this research as comparative methods have previously been validated with high-quality publications.
The remainder of this paper is structured as follows:
Section 2 presents the transformer model and the optimization model development;
Section 3 presents the main characteristics associated with the implementation of BHO to any optimization problem;
Section 4 presents the application of the BHO approach to solve the optimization model defined by Equations (
1)–(
11);
Section 5 presents the implementation of the proposed optimizer to three test systems composed of transformers with nominal powers of 4 kVA, 10 kVA, and 15 kVA, respectively, with their complete analysis and discussions; finally, in
Section 6, the main concluding remarks are drawn.
2. Equivalent Transformer Circuit and Optimization Model
The representation of an electrical distribution transformer with an electric circuit depends on the depth of the study [
1]; however, two alternatives for representing transformers are widely accepted in the current literature, namely, (i) a circuit equivalent with a magnetization branch in parallel with the voltage source [
1]; (ii) the model
T of the transformer, i.e., the magnetization branch in the middle in of the series branches [
13]. Here, we adopt the second model since this presents a better approximation of the electrical performance of the transformer regarding steady-state studies.
Figure 1 depicts the equivalent circuit of the transformer analysed in this research.
From the electrical circuit presented in
Figure 1, we can observe the following:
and
represents the resistance and reactance parameters of the primary side of the transformer, while
and
correspond to the resistance and reactance parameters in the secondary side of the transformer referred to the primary side;
and
are the magnetization reactance and resistance that models the energy dissipation effects in the core of the transformer;
represents the equivalent resistance associated with the load connected to the transformer in its secondary side. Note that the electrical variables in
Figure 1 are the primary current
and the secondary current referred to the primary side
as well as the secondary voltage in the primary side, i.e.,
. It is important to mention that the primary voltage
is considered as an input, which implies that it is a parameter for the problem parametric estimation in transformers [
5].
To obtain the equivalent impedance of the transformers at the input terminals, the equivalent resistance load is connected in the
terminals is considered, which produces the following equivalent impedance.
where
represents the primary equivalent impedance,
corresponds to the secondary impedance referred to the primary side, and
is the magnetization impedance.
Once the equivalent transformer impedance is calculated, then, the primary current can be calculated as follows:
Now, using the divisor current concept, the secondary current referred to the primary side is defined as presented below:
Finally, the value of the secondary voltage referred to the primary side is calculated as follows:
To formulate the problem of the parametric estimation in single-phase transformers, a quadratic function that determines the average error between the measured and calculated electric variables is considered, which takes the following form:
where
z corresponds to the average mean square error. It is important to highlight that
,
and
correspond to the primary and secondary measured currents as well as the secondary measured voltage, respectively.
The set of constraints of the parametric estimation problems in transformers is complete with the equality constraints (
1)–(
4) and the upper and lower bounds of the decision variables presented below:
where
and
represent the minimum and maximum limits of the decision variables.
Remark 1. The complete optimization model composed for the objective function (5) and the set of constraints (1)–(4) in conjunction with constraints (6)–(11) represents the problem of the parametric estimation problem in single-phase transformers [13]; it has a nonlinear non-convex structure due to the fractions and products among the variables in the calculated voltage and current variables. This situation implies that efficient optimization techniques are required as is the case of the black-hole optimizer presented in this research, which is simple to implement, but is efficient in solving nonlinear continuous optimization problems [15]. 4. Application of BHO to the Studied Problem
Unlike the classical approach where short-circuit and open-circuit tests are employed to determine the electrical parameters of an electrical distribution transformers in a laboratory [
9], the main idea of this research is to determine the parameters of the transformers considering only voltage and current measures taken directly from the location of the transformer without disconnecting its local load.
To applied BHO to the parametric estimation problem in single-phase distribution transformers, here, we adopt a modification of the objective function (
5) using an equivalent mean square error with the following form:
Note that the summation in (
18) is only possible if all the values are normalized using per-unit representation. The application of BHO to the problem of the parametric estimation in single-phase transformers is presented in Algorithm A1 available in the
Appendix A. For more details about the BHO approach, the following references can be consulted: [
15,
19].
Remark 3. An important fact previous to the implementation of an optimization strategy to determine the electrical parameters in transformers is associated with the data analysis of the voltage and current measured inputs. These data must be filtered and also normalized to avoid spurious information that can alter the final result of the optimization process.
5. Results and Discussion
This section presents the analysis of the results and their discussion when the proposed BHO is applied to solve the problem of the parametric estimation in single-phase transformers with nominal rates of 4 kVA, 10 kVA, and 15 kVA. The parametric information of these transformers was taken from references [
9,
10]. Different optimization methods reported in the specialized literature were used as comparative methodologies were considered, which includes particle swarm optimization (PSO) [
9], genetic algorithms (GA) [
9], imperialist competitive algorithm (ICA) [
10], and gravitational search algorithm (GSA) [
10]. In addition, to determine the average processing times taken by the proposed BHO to solve the studied optimization problem, three consecutive evaluations are made for each test system. All the numerical implementations were carried out in a personal computer AMD Ryzen 5 3500U processor 2.10 GHz. RAM 8 Gb, with a Windows 10 operating system, single language, 64 bits. In the computational evaluation, we have considered 100 consecutive evaluations of the BH optimizer in order to determine the standard deviation of the objective function and the average processing time per execution.
5.1. First Test System: 4 kVA, 50 Hz, 250/125 V Transformer
This is a low-voltage/low-voltage single-phase transformer with a nominal power transference capability of 4 kVA, operated with 50 Hz, with a voltage relation of 250/125 V. For this transformer, all the measures are assumed with full resistive load, i.e.,
Ω [
9]. It is worth mentioning that the real values associated with the electrical parameters of this transformer were taken from [
9], which are named in
Table 2 as the actual data.
Numerical results in
Table 2 shows that the lowest mean error is provided by the GSA method with a value of 6.168%, followed by the ICA with a value of
and in third place is located the proposed BHO with an average error about
; Note that this error is highly influenced by the errors introduced with the parameters with small magnitudes such as series resistance and inductance parameters. However, when is analyzed the level of precision of the proposed BHO to find the error between the calculated and the measured variables our approach presents the best numerical performance as can be seen in
Table 3.
Numerical results in
Table 3 show that BHO has an average error about
among the measured and calculated voltage and current variables, followed by the PSO approach with an average error of
; which implies that the precision of the proposed approach is at least 1000 times better than the PSO approach.
An important fact observed from the results in
Table 2 and
Table 3 is that even if BHO is the third best approach when compared each individual parameter, it is the best when the difference among measured variables and calculated variables is analyze, which confirms that the problem of the parametric estimation in single-phase transformers is nonlinear and non-convex and can have multiple local optimums; however, the value of the average error among the measured and calculated variables shows that BHO finds a high-quality local optimum when compared with the remainder optimization techniques. Note that the standard deviation value for this test system is about
, which demonstrates that BHO finds solutions inside of a small ball at each execution, which confirms its efficiency in solving the studied problem by providing the quasi-optimal solutions at each evaluation.
5.2. Second Test System: 10 kVA, 50 Hz, 500/125 V Transformer
This test system corresponds to a low-voltage/low-voltage transformer with a nominal power transference capability of 10 kVA, operated with 50 Hz, and a voltage relation of 500/125 V [
10]. The nominal restive load for this transformer is equivalent to
Ω.
Table 4 presents the comparison among the actual (i.e., real) data for each optimization approach.
It is worth mentioning that as has happened for the the first test system, in this simulation case, the GSA approach has the lowest average error per parameter with a value of
, followed by the ICA with a value of
, and in the third place is the proposed BHO with an error about
; however, when the error is observed among the measured and calculated variables (see
Table 5), BHO is the best methodology to find a solution.
Results in
Table 5 demonstrate that BHO is the best optimization method regarding the minimization of the error among the measured and calculated voltage and current variables with an error of
, which implies that the number of decimals considered in the measurement the coincidence with the calculated variables is perfect. When the objective function value is observed, the BHO approach reaches a value lower than
, which can be considered as zero for any practical implementation purposes, which is confirmed by a standard deviation of
.
5.3. Third Test System: 15 kVA, 50 Hz, 2400/240 V Transformer
The third transformer corresponds to a medium-voltage/low voltage transformer with a nominal power transference capability of 15 kVA, which is operated with 50 Hz, and a voltage relation of 2400/240 V [
10]. The nominal equivalent resistive load for this transformer is
Ω. Comparative results among parameters are reported in
Table 6 for the literature reports and the proposed BHO with respect to the actual data.
The comparison between the average error with respect to the transformer parameters shows once again that the GSA is the better optimization approach with a value of
; however, for this test system, the proposed BHO falls in the second place with an average error of
, followed by the third place by the ICA with a value of
. Notwithstanding, when
Table 7 is observed, it is possible to confirm that as had happened in the previous test systems as well, the proposed BHO reaches the minimum error among the measured and calculated variables with an error of
; this is at least 19 times better than the GA, which has an average error of
. In addition, the effectiveness of the BH optimizer to obtain quasi-optimal solutions at each evaluation is confirmed with a standard deviation value of about
that allows ensuring that all the solutions are contained inside a ball with a pretty small radius.
5.4. Complementary Analysis
This section shows the effectiveness of the proposed estimation method for the electrical parameters of single-phase transformers with primary and secondary windings and the magnetization branch. To demonstrate that the actual parameters of the transformer and the estimation provided by our proposed BHO have negligible errors, we vary the constant resistive load in its terminals from 50% to 150% of its nominal value, and we plot the per-unit power input calculated with the real and estimated transformer parameters, using the following formula:
where
represents the input power in the primary terminals of the transformer, and
is defined as the nominal power rate of the transformer.
The behavior of the input power for each of the test systems is depicted in
Figure 3,
Figure 4 and
Figure 5, respectively.
From these plots, we can observe the following:
- ✓
An equivalent resistance value of 50% of its nominal value implies different power inputs at each transformer, these being 1.7713 pu, 1.6908 pu, and 1.9578 pu, for the first, second, and third transformer, respectively. This behavior is explained in the power input of any transformer, since if the input voltage is constant, and the resistance load is reduced, then, the amount of current absorbed by the transformer increases.
- ✓
The minimum power input for each transformer is caused when the equivalent resistive load is 150% of its nominal value, in this case, the first, second, and third transformers consume 0.6539 pu, 0.6645 pu, and 0.6660 pu, respectively. These values imply that the loadabilities of these transformers are between 65% and 67%. Note that the effect of equivalent loads higher than 100% implies that the consumed currents are reduced (Ohm’s law), which is directly connected with the reduction in the power input.
- ✓
The most important fact in
Figure 3,
Figure 4 and
Figure 5 is that the estimated parameters and the actual data provide overlapped curves, which implies that from the circuital point of view (e.g., voltage, current and power calculations), the BHO approach is an adequate method to solve the problem of parametric estimation in single-phase transformers with errors lower than
.
On the other hand,
Figure 6 presents the numerical behaviour of the objective function when the proposed BHO is applied to estimate the electric parameters of the third transformer.
From
Figure 6, we can note that the objective function is lower than
after Iteration 2, which shows that the algorithm rapidly converges to an adequate function value lower than
in this test system.
After the application of BHO to determine all the electrical parameters of single-phase transformers considering voltage and current measures, we observe the following positive aspects of this algorithm: (i) the effectiveness of the exploration and exploitation of the solution space with simple evolution rules that allows us to identify promissory solution regions at the beginning of the searching process to be exploited when the iteration procedure advances; (ii) the easy adjusting process for the BHO parameters, since it only requires the definition of the population size and the number of iterations. The most important factor in this tuning is to find an adequate trade-off between the reduction in the objective function and the total processing time.
It is worth mentioning that after observing the final results regarding each particular parameter of the transformer and the final objective function value provided by BHO, there exists a low correlation among these variables since higher differences among the actual and calculated parameters do not imply high values in the objective function. This low correlation is explained as follows:
The nature of the optimization model is indeed nonlinear and non-convex, which implies that there can exist infinite solutions with similar objective functions dispersed along with the solution space, as reported by the different methodologies in the comparative reports.
The effect of the magnetization branch in the total injected current is minimum since this branch is in the order of kΩ, which implies that values less than 10% of the current flow though of it. This implies that higher variations on these parameters have insignificant effects of the final calculated currents.
The equivalent impedance of the transformer is dominated by the load resistance, which implies that the equivalent effect of the parameters of the transformers are reduced when the complete circuit is analyzed; this implies that variations in these parameters does not drastically influence the final objective function value.
To demonstrated that large differences in the transformer parameters do not drastically affect the calculated variables, i.e., the voltages and the currents, we consider the first test system where the series inductance (i.e.,
) in the primary side is the parameter that presents higher variations with respect to the actual data. For variations in this parameter from
to
of the value reported by BHO, the behaviours of the calculated primary and secondary currents as well as the output voltage are reported in
Figure 7 and
Figure 8.
From
Figure 7 and
Figure 8, it is possible to observe that the slope of the curves is very small, which allows for the conclusion that for variations from
to
in the value of the
, the estimation error is lower than
for the calculated currents and voltages. These results confirm that variation in a single parameter does not drastically influence the calculated variables, which explains the excellent performance of the proposed BHO to minimize the mean square error.
6. Conclusions
The problem of the parametric estimation in single-phase transformers considering voltage and current measures was addressed in this research through the application of the BHO technique in three different test systems. Numerical results demonstrated that in all the simulation cases, the objective function (i.e., mean square error) was lower than , which, for practical purposes, can be considered null or zero. In addition, BHO showed the best numerical performance when compared with the measured and calculated variables with errors lower than , which was better than the results reported with the rest of the comparative metaheuristic techniques.
Regarding the average error with respect to each one of the transformed parameters, BHO occupied the third place in the first two test systems behind the GSA and the ICA, while in the third test system, BHO was superior to the ICA in the second place. Even if the average error with respect to each one of the transformer parameters was higher than the GSA in all the cases, the calculated voltage and current variables was always better for the proposed BHO; this confirms that there exists infinity possible combinations of transformer parameters that minimize the mean square error between the calculated and measured voltage and currents, which is due to the nonlinear non-convexity of the optimization model.
In future works, it will be possible to develop the following research: (i) Apply recently proposed metaheuristic optimizers, such as the vortex search algorithm and the whale optimization algorithm, to the parametric estimation of transformers considering additional measures such as the input and output powers; (ii) extend the application of BHO to parametric estimation problems in photovoltaic panels and induction motors; and (iii) to propose the application of the combinatorial optimization techniques to three-phase transformers where the complexity of the optimization problem increases since the coupling between phases can produce important challenges in the problem of the parametric estimation.