## 1. Introduction

The analysis of a transmission line allows a complex study that can be used to measure losses in line, to understand the behavior of them in case of a voltage surge and other kinds of phenomena.

This chapter presents the development of a routine that evaluates a method for determining real transformation matrices in three-phase systems considering the presence of ground-wires. Thus, for Z (longitudinal impedance) and Y (transversal admittance) matrices that represent the transmission line, the ground wires are considered not implicit in the values of the phases. This routine was developed using the mathematical tool Matlab^{TM}.

As a proposal, the routine uses a real transformation matrix throughout the frequency range of analysis. This transformation matrix is an approximation of the exact transformation matrix. For elements related to the phase of the system considered, the transformation matrix is composed from the elements of the Clarke’s matrix [18].

In parts related to ground wires, the elements of the transformation matrix must establish a relationship with the elements of the phases considering the establishment of a unique, single homopolar reference in mode domain.

In case of three-phase transmission lines with the presence of two ground wires, it is not possible to obtain the complete diagonalization of Y and Z matrices in mode domain. Finally, a correction routine is applied with the goal of minimizing errors obtained for the eigenvalues.

## 2. Background

Different methods can be used in order to analyze electromagnetic transient phenomena in transmission lines. Many mathematical tools can be used. The main tools are: circuit analysis using Laplace transform and Fourier transform, state variables and also differential equations. These tools can be included in a numerical routine in order to obtain the values of voltage and current in electromagnetic transient simulation for any point in the circuit.

The EMTP (ElectroMagnetic Transient Program) identifies a type of program, considering its various versions, which performs simulations of transients in electrical networks [1]. The prototype was developed in the 1960s by professionals in power systems, led by Dr. Hermann Dommel (University of British Columbia, Vancouver, BC, Canada), and Dr. Scott Meyer (Bonneville Power Administration in Portland, Oregon, USA). Currently, the EMTP is the basis of simulations of electromagnetic transients in power systems.

With EMTP-type programs, the following tests may be performed: simulation by switching and lightning surges, transient and temporary overvoltages, transients in electric machines, resonance phenomena, harmonics, power quality and power electronics applications. The most popular type programs are EMTP: MicroTran, PSCAD and ATP.

In analysis of transmission systems, there are simulators that represent different types of systems, from generation, transmission and distribution.

Because it is practically impossible to perform the simulation of electromagnetic transients on real transmission lines, simulations by digital models become useful tools. However, these tools do not provide satisfactory performance as regards the correct representation of the electrical line parameters, as these are dependent on the frequency.

In modal domain, it’s possible to represent the transmission line circuits using simple circuits and easily entering frequency dependence of longitudinal parameters.

In general, a system composed of *n-*phases can be transformed into independent modes using a real and unique transformation matrix, if transposition applies to all phases for the frequency range used (ideal transposition). If the analyzed system is not transposed, a mode is obtained for each phase using the frequency dependent phase-mode transformation matrix.

Applying real and unique transformation matrix for the nontransposed lines, approximate results can be obtained. Thus, there is an approximate representation of frequency dependence using a real phase-mode transformation matrix [2]-[3]. One possible simplification is to consider the transformation matrix frequency independent, obtaining insignificant errors related to the eigenvalues that represent the line. Using the mentioned simplification, the obtained numerical routine may be faster because it avoids using a convolution method [4]-[28].

The objective of this chapter is to analyze the application of a real transformation matrix that is frequency independent in three-phase lines considering the presence of two ground wires. Errors are presented in relation to the exact values obtained from the matrix of eigenvalues.

The proposed model is based on an approximate modal transformation performed by a single real phase-mode transformation matrix, and frequency independent. This matrix is obtained by linear combination of Clarke’s matrix elements. With the implementation of the transformation matrix frequency independent, it’s obtained a diagonal matrix for transposed lines. In case of a three-phase transmission line not transposed the line parameters matrix can’t be diagonalized, with application of a single real phase-mode transformation matrix mentioned. For these cases, the goal is to analyze the relative errors obtained by the establishment circumstances to use a transformation matrix frequency independent.

For the proposed method in this chapter, a similar mathematical basis is used to homopolar hypothesis of a single reference for all phases of the system regardless of the geometrical distribution and organization of the three-phase circuit. Thus, the development is based on the analysis of eigenvectors and eigenvalues, using a linear combination of Clarke’s matrix elements, and assuming a unique homopolar reference.

It’s presented two different proposals for real matrices and frequency independent in order to replace the modal transformation matrix of a typical three-phase transmission line in the presence of two ground-wires.

## 3. Mathematical model

A transmission line is represented by a longitudinal impedance Z and the transversal admittance Y matrices, the characteristics of ground wires are not implied in the values related to the phases. Thus, for a line with two ground wires, the Z and Y matrices are 5-order ones.

For the mentioned systems, the three-phase circuit configurations are considered and the transposed case can be described by a system where each three-phase circuit is ideally transposed and there are coupling impedances and admittances among the three-phase circuits. For EMTP type programs, if each three-phase circuit is considered independently, the transformation matrix is frequency dependent for general cases. For the method proposed in this chapter, a similar mathematical base is used for all considered cases: the assumption of unique ground reference for all phases of the system independently of the geometrical distribution and the organization of the three-phase circuits. The unique ground reference leads to a unique homopolar mode in mode domain.

The relationships between transversal voltages

Applying the eigenvector and eigenvalue analyses for YZ and ZY product matrices, the λ diagonal eigenvalue matrix and the eigenvector matrices are determined. The eigenvector matrices,

If the

In general, these frequency dependent transformation matrices (

In case of the EMTP type programs, the transformation matrices are real, if the system is ideally transposed. For this, there is only one self-impedance value for all phase interactions. Considering the admittance values, a similar structure to the impedance values is obtained. Applying the EMTP type programs, a system composed by three-phase circuits is analyzed as a non-transposed case, if the each three-phase circuit is considered transposed independently of the ground wires.

Using a single homopolar mode reference, the

The homopolar or zero sequence components (

## 4. Ground wires in three-phase transmission line

Considering two ground wires in a three-phase lines system, these matrices are 5-order ones. Therefore, the single real phase-mode transformation matrix has the following structure presented in (6).

In case of a three-phase lines system is ideally transposed, it creates only one coupling impedance between the lines. The average self-phase impedance value is represented by A. The average coupling impedances are represented by B, within a circuit, and C, between the line and ground wires or other circuits. The average ground wires impedance value is represented by D. The average coupling impedance between the both ground wires is represented by E. For the case of a single three-phase line in the presence of two ground wires (Fig. 1), the structure of the impedance matrix is shown in (7).

The three-phase transmission line circuit tower (Fig. 2) has a height of 36.0 m and is the structure used in this chapter. This is a 400 km length line that operates in 440 kV. It is a system whose conductors are disposed in such way that there is a vertical symmetry plane.

The result determined through (4) is a diagonal matrix and the matrix elements are the exact eigenvalues, for the cases where the ground wires are implicit in the phase values and the line is transposed. The impedance matrix in mode domain (

Considering ground wires, the single real phase-mode transformation matrix does not perfectly diagonalize the impedance matrix.

## 5. Initial configuration routine

A routine with initial configuration was developed in order to set parameters that would be used for other routines. This routine was developed using Matlab and is presented below:

## 6. Eigenvalue analyses for non-transposed three-phase transmission line

Considering the three-phase line tower with two ground wires shown in Fig. 2, the total longitudinal impedance value is composed by earth effect, calculated by Carson`s method [28], external effects and skin effect. For phase 1, the longitudinal resistance is shown in Fig. 3 (a), the longitudinal inductance in Fig. 3 (b) and capacitance in Fig. 3 (c).

The longitudinal resistance and inductance and the capacitance of phase 1 were obtained using a routine developed in MatLab, which is commented and shown below:

The theoretical procedure of routines presented above can be fully found in [29]-[30]. The above routines show how useful Matlab is in order to perform calculus and link routines. It’s easy to note that the routines are simple to implement and to understand.

The principal point to be observed is that all the data generated by the routines are stored into m-files to be used by other routines. To perform this action, first it’s necessary to open a file (if doesn’t exist, it’ll be automatically created) and link with a variable, for this operation, function *fopen* shall be used, the arguments of this function are the name of file and the kind of action to be performed by the file, in this case, *w* was used in order to *write* in the file. To write in the file, the function *fprintf* must be used, the arguments are the name of file, the text (which can be variables of decimal point (%d), float point (%f), and so forth, followed by the variables name. Finally, it’s necessary to close the file, with the function *fclose*. In this case the argument *all* is used in order to close all opened files.

As the procedure for calculus in all impedances cases shown above are the same, a lasso function can be used in order to make the routine shorter. Thus, structure *for* is implemented together structure *if* in order to make a loop and to decide what kind of operation shall be performed.

In the *z_skins.m* file it’s noted the use of Bessel function; this is a special function which can be found in any advanced mathematical calculus. This function is used in order to calculate the impedance due to skin effect, as described in [29].

*Evaluation of proposed real transformation matrix*

A first analysis is based on Eq. (9). Through iterative process the exact eigenvectors and eigenvalues, and also the eigenvectors and eigenvalues, from Clark`s matrix are calculated. At the end of process the relative difference is calculated for each mode with Eq. (10).

The relative difference between modes α, β, 0 and δ is relatively low (Fig. 4 (a)), however, the relative difference of mode γ is high (Fig. 4 (b)). To minimize the error shown for mode 4, a correction procedure for non-transposed three-phase transmission line cases [31]-[35] shall be used in a future work.

In order to verify the limits of this method, a frequency range from

The numeric routine used to obtain the results shown above was developed with Matlab and is described below in details:

The above routines show the procedure to calculate the correct and proposed method values. The first routine call subroutines capacitance and Zfull (which is the sum of impedances shown before), thus for the correct value it uses the eigenvalue function (*eig*) and for the proposed method it performs calculus as shown before.

The second routine gets all processed data and plot the information considering the relative difference between the correct value and the proposed one as could be seen in Fig. 4.

## 7. Conclusion

The objective of this project was to analyze the application of modal transformation matrix that is independent of frequency in analyses of three-phase lines considering the presence of 2 ground wires. Through analysis, both the limits of this approach and the possible errors in relation to the exact values obtained from eigenvalues and eigenvectors.

The model proposed in this project uses approximate modal transformation, accomplished through a transformation matrix independent of frequency. This matrix is obtained by linear combination of elements of Clarke’s matrix. With application of this transformation matrix independent of frequency, it obtains diagonal matrices for the cases of transposed three-phase lines. For non-transposed three-phase lines, matrices of parameters are not diagonal with the application of the transformation matrix mentioned. For those cases not implemented, the proposal is to analyze the relative errors obtained by establishing circumstances in which one can use a transformation matrix independent of frequency.

This chapter presented a method that can be used for analyzing electromagnetic transients using real transformation matrices in three-phase systems considering the presence of ground wires. This method was implemented using Matlab, and then the routines used to develop it were presented and commented. The proposal analyzed used a real transformation matrix for the entire frequency range considered in this case. For those elements related to the phases of the considered system, the transformation matrix was composed of the elements of Clarke’s matrix. In part related to the ground wires, the elements of the transformation matrix had to establish a relationship with the elements of the phases considering the establishment of a single homopolar reference in the mode domain. In the case of three-phase lines with the presence of two ground wires, it was unable to get the full diagonalization of the matrices Z and Y in the mode domain. The relative errors between the proposed routine and the correct values of eigenvalues were shown by graphs plotted using Matlab. Thus, for a future work, a correction routine will be used for non-transposed three-phase transmission line cases for the transformation matrix presented.

## Acknowledgments

This work was supported by FAPESP.