+ All Categories
Home > Documents > Electric Power Systems Research · Toki´c et al. / Electric Power Systems Research 127 (2015)...

Electric Power Systems Research · Toki´c et al. / Electric Power Systems Research 127 (2015)...

Date post: 17-Jan-2020
Category:
Upload: others
View: 1 times
Download: 0 times
Share this document with a friend
9
Electric Power Systems Research 127 (2015) 177–185 Contents lists available at ScienceDirect Electric Power Systems Research j o ur na l ho mepage: www.elsevier.com/locate/epsr Simulation of three-phase transformer inrush currents by using backward and numerical differentiation formulae Amir Toki ´ c a , Viktor Milardi ´ c b,, Ivo Ugleˇ si´ c b , Admir Jukan a a Faculty of Electrical Engineering, Tuzla University, Tuzla 75000, Bosnia and Herzegovina b Faculty of Electrical Engineering and Computing, University of Zagreb, Zagreb 10000, Croatia a r t i c l e i n f o Article history: Received 28 November 2014 Received in revised form 31 March 2015 Accepted 24 May 2015 Keywords: Three-phase transformer inrush currents Numerical oscillations L-stability Extremely stiff system Backward differentiation method a b s t r a c t This paper presents a simplified model of a three-phase transformer developed in the state-space form using the linear graph theory. The algorithm for generating the coefficient matrixes of the state-space equation is described. Stiff detection procedures of differential equation systems that describe the three- phase transformer inrush current transients are explained. It is shown that the time-domain transient response of three-phase transformers mathematically describes extremely stiff systems. The numerical integration methods based on strong stable (A and L) backward differentiation formulae are used to solve extremely stiff differential equation systems arising from the state-space formulation of the transformer inrush current transient equations. A comparison of the measured and simulated three-phase transformer inrush currents showed very good agreement. The proposed procedure of modeling and the simulation method are useful tools that can be applied to other electrical transients where extremely stiff systems appear. © 2015 Elsevier B.V. All rights reserved. 1. Introduction The transformer is one of the most important elements of power systems. It is important to make a valid transformer model in the observed transient electromagnetic phenomena. There are differ- ent models of transformers depending on the frequency spectra of transients [1]. According to [2], the transformer inrush current belongs to the low-frequency transients, frequency up to 1 kHz. The transformer inrush currents are low-frequency electromagnetic transients that occur during energization of unloaded transform- ers. Depending on the transformer parameters, residual flux and the moment of switching on, the magnetic flux can reach a twice higher value in comparison with the rated operating value. When the transformer is switched on and the value of the residual flux is near the point of saturation, the reduction of the transformer impedance to winding resistance and low inductance may occur in the saturation region of the magnetization curve. A direct consequence of this scenario is the iron core saturation and the production of transformer inrush currents. Inrush currents, which may be several times higher than the rated currents, can reduce the power quality due to voltage sag [3], cause the false Corresponding author. Tel.: +385 1 6129976; fax: +385 1 6129890. E-mail addresses: [email protected] (A. Toki ´ c), [email protected] (V. Milardi ´ c), [email protected] (I. Ugleˇ si´ c), [email protected] (A. Jukan). operation of protective relays or fuses [4], damage the transformer windings due to developed mechanical forces [5] and in some sce- narios cause harmonic resonance overvoltages [6,7]. Significant work has been done on developing the transformer models for the inrush current analysis. Several approaches to the modeling of the transformer in the time domain suitable for inrush current simulations are given in papers [8–15]. In general, a transformer model can be separated into two main parts: the transformer windings and the transformer iron core. The first part has a linear and the second one has a nonlinear character. The time-domain modeling of transformers is possible using the nodal approach (used in EMTP-based programs) or state-space approach (used in MATLAB). In addition to the problem of transformer modeling, it is very important to pay special attention to the choice of simulation algorithm. The solution algorithm depends on the choice of the appropriate numerical method used in the simulation procedure of the mathematical model. For example, the EMTP-based programs use the compensation method to solve the system solution [16]. The system is first solved using Thevenin’s equivalents, ignoring the nonlinear elements. A possible problem of a compensation method is that the Thevenin’s equivalent cannot always be determined due to possible floating network formulations. In addition, special prob- lems may arise during the simulation of the transformer transients. The main purpose of this paper is to present a simplified technique of the three-phase transformer modeling with suitable http://dx.doi.org/10.1016/j.epsr.2015.05.020 0378-7796/© 2015 Elsevier B.V. All rights reserved.
Transcript
Page 1: Electric Power Systems Research · Toki´c et al. / Electric Power Systems Research 127 (2015) 177–185 179 Fig. 2. (a) Nonlinear hysteretic inductor, (b) state-space model. 2.1.

Sb

Aa

b

a

ARRA

KTNLEB

1

soeobtteth

rtmAawr

(

h0

Electric Power Systems Research 127 (2015) 177–185

Contents lists available at ScienceDirect

Electric Power Systems Research

j o ur na l ho mepage: www.elsev ier .com/ locate /epsr

imulation of three-phase transformer inrush currents by usingackward and numerical differentiation formulae

mir Tokic a, Viktor Milardic b,∗, Ivo Uglesic b, Admir Jukana

Faculty of Electrical Engineering, Tuzla University, Tuzla 75000, Bosnia and HerzegovinaFaculty of Electrical Engineering and Computing, University of Zagreb, Zagreb 10000, Croatia

r t i c l e i n f o

rticle history:eceived 28 November 2014eceived in revised form 31 March 2015ccepted 24 May 2015

eywords:hree-phase transformer inrush currents

a b s t r a c t

This paper presents a simplified model of a three-phase transformer developed in the state-space formusing the linear graph theory. The algorithm for generating the coefficient matrixes of the state-spaceequation is described. Stiff detection procedures of differential equation systems that describe the three-phase transformer inrush current transients are explained. It is shown that the time-domain transientresponse of three-phase transformers mathematically describes extremely stiff systems. The numericalintegration methods based on strong stable (A and L) backward differentiation formulae are used to solve

umerical oscillations-stabilityxtremely stiff systemackward differentiation method

extremely stiff differential equation systems arising from the state-space formulation of the transformerinrush current transient equations. A comparison of the measured and simulated three-phase transformerinrush currents showed very good agreement. The proposed procedure of modeling and the simulationmethod are useful tools that can be applied to other electrical transients where extremely stiff systemsappear.

© 2015 Elsevier B.V. All rights reserved.

. Introduction

The transformer is one of the most important elements of powerystems. It is important to make a valid transformer model in thebserved transient electromagnetic phenomena. There are differ-nt models of transformers depending on the frequency spectraf transients [1]. According to [2], the transformer inrush currentelongs to the low-frequency transients, frequency up to 1 kHz. Theransformer inrush currents are low-frequency electromagneticransients that occur during energization of unloaded transform-rs. Depending on the transformer parameters, residual flux andhe moment of switching on, the magnetic flux can reach a twiceigher value in comparison with the rated operating value.

When the transformer is switched on and the value of theesidual flux is near the point of saturation, the reduction of theransformer impedance to winding resistance and low inductance

ay occur in the saturation region of the magnetization curve. direct consequence of this scenario is the iron core saturation

nd the production of transformer inrush currents. Inrush currents,hich may be several times higher than the rated currents, can

educe the power quality due to voltage sag [3], cause the false

∗ Corresponding author. Tel.: +385 1 6129976; fax: +385 1 6129890.E-mail addresses: [email protected] (A. Tokic), [email protected]

V. Milardic), [email protected] (I. Uglesic), [email protected] (A. Jukan).

ttp://dx.doi.org/10.1016/j.epsr.2015.05.020378-7796/© 2015 Elsevier B.V. All rights reserved.

operation of protective relays or fuses [4], damage the transformerwindings due to developed mechanical forces [5] and in some sce-narios cause harmonic resonance overvoltages [6,7].

Significant work has been done on developing the transformermodels for the inrush current analysis. Several approaches tothe modeling of the transformer in the time domain suitable forinrush current simulations are given in papers [8–15]. In general,a transformer model can be separated into two main parts: thetransformer windings and the transformer iron core. The first parthas a linear and the second one has a nonlinear character. Thetime-domain modeling of transformers is possible using the nodalapproach (used in EMTP-based programs) or state-space approach(used in MATLAB).

In addition to the problem of transformer modeling, it is veryimportant to pay special attention to the choice of simulationalgorithm. The solution algorithm depends on the choice of theappropriate numerical method used in the simulation procedure ofthe mathematical model. For example, the EMTP-based programsuse the compensation method to solve the system solution [16].The system is first solved using Thevenin’s equivalents, ignoring thenonlinear elements. A possible problem of a compensation methodis that the Thevenin’s equivalent cannot always be determined due

to possible floating network formulations. In addition, special prob-lems may arise during the simulation of the transformer transients.

The main purpose of this paper is to present a simplifiedtechnique of the three-phase transformer modeling with suitable

Page 2: Electric Power Systems Research · Toki´c et al. / Electric Power Systems Research 127 (2015) 177–185 179 Fig. 2. (a) Nonlinear hysteretic inductor, (b) state-space model. 2.1.

178 A. Tokic et al. / Electric Power Systems Research 127 (2015) 177–185

Rp1 Ls1

Rm1 Lh1

Rm2 Rm3

3L0

1:1

1:1Rp2 Ls2

Rp3 Ls3

Lh2 Lh3

L12

L31

L23

ch inc

smss

ltgtcwfri

2

tnbTcnt

ia

Fig. 1. Three-phase transformer circuit model: (a) the starting model whi

olution algorithm based on the use of strongly stable numericalethods. The proposed numerical method was found to be strongly

table and accurate for the three-phase transformer inrush currentimulations.

The reminder of this paper is organized as follows: in the fol-owing section the simplified circuit model of the three-phase,hree-leg, two-winding transformer is explained. An algorithm forenerating the state-space equations describing the three-phaseransformer inrush current transients is developed in Section 3. Theharacteristics of the appropriated solution method based on back-ard differentiation formulae (BDF) or numerical differentiation

ormulae (NDF) are described in detail. The transformer inrush cur-ent measurements and numerical simulation results are comparedn Section 4. The paper is concluded in Section 5.

. Simplified transformer modeling procedure

The simplified circuit model of the three-phase, three-leg, andwo-winding laboratory transformer with a star-star winding con-ection is shown in Fig. 1. The parameters of the circuit models cane obtained from standard open, positive and zero sequence tests.he proposed transformer model includes phase-to phase mutualoupling. This circuit model with additional zero sequence mag-etizing inductance is the common simplified representation of a

hree-phase transformer in inrush current simulations [16,17].

Labels in Fig. 1 are: Rpi winding resistances, Lsi winding leakagenductances, Rmi core loss resistors, Lhi core hysteretic inductorsnd L0 zero sequence magnetizing inductance, i = 1,2,3.

lude mutual coupling between phases, (b) the equivalent circuit model.

The self inductance Ls = Lsi and mutual inductance Lm = Lij arecalculated from positive (Lp) and zero (Lz) sequence values:

Ls = Lz + 2Lp

3(1)

Lm = Lz − Lp

3(2)

The starting model of the transformer is shown in Fig. 1(a),while the equivalent circuit model, which include mutual couplingbetween phases, is shown in Fig. 1(b).

In this part of the paper, particular attention will be devotedto the modeling of the nonlinear hysteretic inductor, Fig. 1(b).Normally, the nonlinear single-valued magnetization (� − im) ornonlinear multi-valued hysteresis (� − ih) characteristics of ironcore materials are typically modeled by piece-wise linear func-tions or some other nonlinear analytical functions. Common waysof modeling these nonlinear curves are to use a piece-wise linearfunction [18] or a polynomial [19], arctg [20] or hyperbolic func-tion [21]. The use of nonlinear analytical functions in modelingnonlinear electrical components generally extends the simulationtime of dynamic systems because of the Newton–Raphson itera-tive method, compared to the use of a piece-wise linear model. Inaddition, the use of curve-fitting extrapolation techniques can lead

to problems in modeling the nonlinear inductance or hysteresis ina saturated area. On the other hand, the use of a piece-wise linearmodel is closely related to the appearance of unwanted overshoot-ing effects [22].
Page 3: Electric Power Systems Research · Toki´c et al. / Electric Power Systems Research 127 (2015) 177–185 179 Fig. 2. (a) Nonlinear hysteretic inductor, (b) state-space model. 2.1.

A. Tokic et al. / Electric Power Systems

2

eil

(

wmfl

i

w

mc

salt

3i

sdtcaav

ctnncg

⎢ iL =1 iL =1 iL =1 i =1 i =1 i =1 ⎥

Fig. 2. (a) Nonlinear hysteretic inductor, (b) state-space model.

.1. Modeling of hysteretic iron core inductor

In this paper, a modified approach to hysteretic inductor mod-ling is used, already shown in the paper [23]. Hysteretic inductors defined by a set of points of one branch of the major hystereticoop:

ih1, �h1

), (ih2, �h2

), . . ., (ihp , �hp )

here p is the total number of the sampled points of the (half)ajor hysteresis loop. It can be seen [24] that the final expression

or magnetizing current of the kth piece-wise linear region of majoroop in terms of the actual flux is:

h = 1Lhk

� + Shk(3)

here there are, respectively:

Lmk=

�hk+1− �hk

ihk+1− ihk

, �Lmk= sgn (��) �k

sgn (��) �k − 1Lmk

, Lhk=Lmk

− �Lmk

�Ik = 1Lmk

�k, Shk= sgn (��) ×

(Ihk

− �Ik)

, 1 ≤ k ≤ p − 1

Finally, the nonlinear hysteretic inductor Lh in Fig. 2(a) isodeled through linear inductor Lhk

in parallel with an artificialurrent source Shk

, Fig. 2(b).The developed hysteretic inductor model takes into account the

pecial operating conditions occurring due to the fact that the oper-ting point in one particular case lies outside the major hysteresisoop. The developed model has a special subroutine for eliminatinghe possible overshooting effect [22,23].

. Solution procedure for the three-phase transformernrush current calculations

The developed models of nonlinear hysteretic inductors are veryuitable for the development of state-space equation systems thatescribe low-frequency three-phase transformer transients such asransformer energization, Fig. 3. An arbitrary integration methodould be applied in a state-space form. In the EMTP-ATP elementsre strongly dependent on the integration step; this fact becomespparent when a trapezoidal numerical rule is applied to the rele-ant branch.

It should be noted that some authors reported some numeri-al problems (numerical oscillations) during the simulation of theransformer transients [25–27]. In these works, the cause of the

umerical problem is cited as ‘stiff system’ or ‘nonlinearity of mag-etizing curve’. However, these works do not explore in detail theauses of unwanted numerical oscillations, which is one of the mainoals of this paper.

Research 127 (2015) 177–185 179

3.1. Modeling of the three-phase transformer transients

The algorithm procedure for generating state-space matrices ispresented below. The standard state-space equation that describestransformer inrush current analysis is:

dX(t)dt

= A X(t) + B U(t) = F(X, t) (4)

The input vector contains the system voltages and currentsources generated from nonlinear hysteretic inductors:

U(t) =[

e1 e2 e3 Sh1jSh2k

Sh3l

]T(5)

In order to reach a solution of the standard state-space equation(2), and to generate the matrix of A and B coefficients, the theoryof linear graphs will be used [24,28].

First, the proper graph tree is defined as a series of branchesthat connect all the nodes and it does not contain any loop. Theremaining branches of the graph make a cotree, i.e. the connectingbranches of the graph.

For electrical circuit model in Fig. 3, an appropriate graph witha properly defined tree or a cotree can be formed as in Fig. 4. Then,the variables of the system are defined as a current through theinductances that belong to the graph cotree. It should be notedthat the graph in Fig. 4 contains the inductor cutset (marked in red)which reduces the dimension of the state vector i.e. the dimensionof the whole system.

At the beginning, the state vector is defined as:

X(t) =[

iL1 iL2 iL0 ih1jih2k

ih3l

]T(6)

Customized equations of the state space can be written as:

LdX(t)

dt= AX(t) + BU(t) (7)

where coefficients of matrices A, B and L are unknown.The elements of matrix A are obtained in stages, column by

column. Hence, all voltage sources are short circuited, while allcurrent sources and inductors are disconnected, excluding only theinductance through which the 1 A step source current flows. In thefirst three columns, currents are taken through ordinary inductors,while in the last three columns currents are taken through artificiallinear hysteretic inductors.

The analogous procedure is used to determine the coefficients ofmatrix B. In the first three columns, all current sources and induc-tors are disconnected, while all voltage sources are short circuited,excluding only the voltage source across which the 1 V step sourceis connected.

The last three columns are treated by analogy provided that allinductors and current sources are disconnected, excluding only thecurrent source through which the 1 A step source current flows.

Elements of the matrices A and B are, respectively:

A =

⎡⎢⎢⎢⎢⎢⎢⎢

uL1

∣∣iL1

=1uL1

∣∣iL2

=1uL1

∣∣iL0

=1uL1

∣∣ih1j

=1uL1

∣∣ih2k

=1uL1

∣∣ih3l

=1

uL2

∣∣iL1

=1uL2

∣∣iL2

=1uL2

∣∣iL0

=1uL2

∣∣ih1j

=1uL2

∣∣ih2k

=1uL2

∣∣ih3l

=1

uL0

∣∣iL1

=1uL0

∣∣iL2

=1uL0

∣∣iL0

=1uL0

∣∣ih1j

=1uL0

∣∣ih2k

=1uL0

∣∣ih3l

=1

uh1j

∣∣ uh1j

∣∣ uh1j

∣∣ uh1j

∣∣ uh1j

∣∣ uh1j

∣∣

⎤⎥⎥⎥⎥⎥⎥⎥

⎢⎢⎣

1 2 0 h1j h2k h3l

uh2k

∣∣iL1

=1uh2k

∣∣iL2

=1uh2k

∣∣iL0

=1uh2k

∣∣ih1j

=1uh2k

∣∣ih2k

=1uh2k

∣∣ih3l

=1

uh3l

∣∣iL1

=1uh3l

∣∣iL2

=1uh3l

∣∣iL0

=1uh3l

∣∣ih1j

=1uh3l

∣∣ih2k

=1uh3l

∣∣ih3l

=1

⎥⎥⎦

Page 4: Electric Power Systems Research · Toki´c et al. / Electric Power Systems Research 127 (2015) 177–185 179 Fig. 2. (a) Nonlinear hysteretic inductor, (b) state-space model. 2.1.

180 A. Tokic et al. / Electric Power Systems Research 127 (2015) 177–185

trans

B

tat

ostbtsTtote

ifit

F

Fig. 3. Equivalent circuit model for

˜ =

⎡⎢⎢⎢⎢⎢⎢⎢⎢⎢⎢⎣

uL1

∣∣e1=1

uL1

∣∣e2=1

uL1

∣∣e3=1

uL1

∣∣Sh1j

=1uL1

∣∣Sh2k

=1uL1

∣∣Sh3l

=1

uL2

∣∣e1=1

uL2

∣∣e2=1

uL2

∣∣e3=1

uL2

∣∣Sh1j

=1uL2

∣∣Sh2k

=1uL2

∣∣Sh3l

=1

uL0

∣∣e1=1

uL0

∣∣e2=1

uL0

∣∣e3=1

uL0

∣∣Sh1j

=1uL0

∣∣Sh2k

=1uL0

∣∣Sh3l

=1

uh1j

∣∣e1=1

uh1j

∣∣e2=1

uh1j

∣∣e3=1

uh1j

∣∣Sh1j

=1uh1j

∣∣Sh2k

=1uh1j

∣∣Sh3l

=1

uh2k

∣∣e1=1

uh2k

∣∣e2=1

uh2k

∣∣e3=1

uh2k

∣∣Sh1j

=1uh2k

∣∣Sh2k

=1uh2k

∣∣Sh3l

=1

uh3l

∣∣e1=1

uh3l

∣∣e2=1

uh3l

∣∣e3=1

uh3l

∣∣Sh1j

=1uh3l

∣∣Sh2k

=1uh3l

∣∣Sh3l

=1

⎤⎥⎥⎥⎥⎥⎥⎥⎥⎥⎥⎦

Since the linear graph for the model contains inductor cutset,he elements of matrix L are obtained in a completely different wayccording to the redefined and generalized procedure described inhe paper [22].

The procedure in the paper [22] could not solve the scenariof the appearance of the inductor cutset, the problem has beenolved by inserting artificial elements in the original model ofhe system. The current sources are connected in series, in everyranch of the cotree containing the inductances. Inductances in theree remained in the original positions without adding the currentources. All other elements are removed from the electric circuit.hen matrix L is obtained in stages by type, so that the elements ofhe first type are obtained while maintaining the current sourcef the first inductance of the cotree until all current sources ofhe remaining inductances of the cotree are disconnected from thelectric circuit.

The coefficients of the first type are obtained as equivalentnductance that is seen from cotree branches where there is therst inductance of the cotree. Analogously, the coefficients of otherypes are obtained as equivalent inductances that are seen from

e1(t)

e2(t) e3(t)

Rp1

Rp2

Rp3

L12

L23

L31

iL2

u12

u23

iL3

u31

iL1

ig. 4. Oriented graph for transformer circuit model. (For interpretation of the references t

former inrush current simulations.

other cotree branches in which there are residual inductances of thecotree. The signs of the coefficient matrix L are obtained depend-ing on the correlation of the voltage inductances in the branchesof the cotree with the corresponding current through the induc-tances. The detailed procedure for obtaining the coefficients of theelements of the mentioned matrix is described in Ref. [24].

When the matrices A, B and L are calculated according to pre-viously described procedures, then the shift X = KX , where K is adiagonal transformation matrix, i.e.

K =[diag(ki,i)

]i=1,2,...,6

(8)

with elements:

ki,i = 1, i = 1, 2, 3, ki,i = 1Lhi(j,k,l)

, i = 4, 5, 6

becomes the state vector containing the currents of the linearinductances and magnetic fluxes on the nonlinear hysteretic induc-tances:

X(t) =[

iL1 iL2 iL0 �1j�2k

�3l

]T(9)

Moving to the magnetic fluxes as state variables is suitablebecause, as integrals of the corresponding voltages, they arechanged more smoothly than the corresponding currents.

Now Eq. (7) is written in the form:

L KdX(t)

dt= A K X(t) + B U(t) (10)

The final equation obtained the form of a standard state-spaceequation (2), where the matrix of the system is obtained as

A = (L K)−1

A K (11)

Inductor cutset Ls1−L12−L31

Rm1 Lh1j

Rm2 Rm3

iL1

iL2

ih1j

3L0

Ls2−L23−L12

Ls3−L31−L23

ih2k ih3l

iL0

Sh1j

Lh2k

Sh2k

Lh3l

Sh3l

u2 iL0

iL0 u3

o color in this figure legend, the reader is referred to the web version of this article.)

Page 5: Electric Power Systems Research · Toki´c et al. / Electric Power Systems Research 127 (2015) 177–185 179 Fig. 2. (a) Nonlinear hysteretic inductor, (b) state-space model. 2.1.

stems

B

d

A

B

L

K

m

o

L

L

A. Tokic et al. / Electric Power Sy

= (L K)−1

B (12)

The matrices A, B, L and K are obtained according to the aboveescribed procedure:

˜ =

⎡⎢⎢⎢⎢⎢⎢⎢⎢⎢⎣

−2(Rp + Rm) −(Rp + Rm) 0 Rm 0 −Rm

−(Rp + Rm) −2(Rp + Rm) 0 0 Rm −Rm

0 0 −3Rm −Rm −Rm −Rm

Rm 0 −Rm −Rm 0 0

0 Rm −Rm 0 −Rm 0

−Rm −Rm −Rm 0 0 −Rm

⎤⎥⎥⎥⎥⎥⎥⎥⎥⎥⎦

˜ =

⎡⎢⎢⎢⎢⎢⎢⎢⎢⎢⎣

1 0 −1 Rm 0 −Rm

0 1 −1 0 Rm −Rm

0 0 0 −Rm −Rm −Rm

0 0 0 −Rm 0 0

0 0 0 0 −Rm 0

0 0 0 0 0 −Rm

⎤⎥⎥⎥⎥⎥⎥⎥⎥⎥⎦

˜ =

⎡⎢⎢⎢⎢⎢⎢⎢⎢⎣

2(Ls − L13) Ls + L12 − L13 − L23 0 0 0 0

Ls + L12 − L13 − L23 2(Ls − L23) 0 0 0 0

0 0 3L0 0 0 0

0 0 0 1 0 0

0 0 0 0 1 0

0 0 0 0 0 1

⎤⎥⎥⎥⎥⎥⎥⎥⎥⎦

,

=

⎡⎢⎢⎢⎢⎢⎢⎢⎢⎢⎢⎢⎢⎣

1 0 0 Rm 0 0

0 1 0 0 0 0

0 0 1 0 0 0

0 0 01

Lh1j

0 0

0 0 0 01

Lh2k

0

0 0 0 0 01

Lh3l

⎤⎥⎥⎥⎥⎥⎥⎥⎥⎥⎥⎥⎥⎦

The previously written matrix L is valid for a general (unsym-etrical) case of mutual coupling between phases.In the case of Lm = Li,j, (i,j = 1,2,3, i /= j) the following relation is

btained:

P = Ls − Lm (13)

˜

Now the matrix L can be written in the following form:

˜ =

⎡⎢⎢⎢⎢⎢⎢⎢⎢⎣

2Lp Lp 0 0 0 0

Lp 2Lp 0 0 0 0

0 0 3L0 0 0 0

0 0 0 1 0 0

0 0 0 0 1 0

0 0 0 0 0 1

⎤⎥⎥⎥⎥⎥⎥⎥⎥⎦

Research 127 (2015) 177–185 181

Finally the matrices A and B are:

A =

⎡⎢⎢⎢⎢⎢⎢⎢⎢⎢⎢⎢⎢⎢⎢⎣

− Rp + Rm

Lp0 0

2Rm

3LpLh1j

− Rm

3LpLh2k

− Rm

3LpLh3l

0 − Rp + Rm

Lp0 − Rm

3LpLh1j

2Rm

3LpLh2k

− Rm

3LpLh3l

0 0 − Rm

L0− Rm

3L0Lh1j

− Rm

3L0Lh2k

− Rm

3L0Lh3l

Rm 0 −Rm − Rm

Lh1j

0 0

0 Rm −Rm 0 − Rm

Lh2k

0

−Rm −Rm −Rm 0 0 − Rm

Lh3l

⎤⎥⎥⎥⎥⎥⎥⎥⎥⎥⎥⎥⎥⎥⎥⎦

B =

⎡⎢⎢⎢⎢⎢⎢⎢⎢⎢⎢⎢⎢⎢⎣

23Lp

− 13Lp

− 13Lp

2Rm

3Lp− Rm

3Lp− Rm

3Lp

− 13Lp

23Lp

− 13Lp

− Rm

3Lp

2Rm

3Lp− Rm

3Lp

0 0 0 − Rm

3L0− Rm

3L0− Rm

3L0

0 0 0 −Rm 0 0

0 0 0 0 −Rm 0

0 0 0 0 0 −Rm

⎤⎥⎥⎥⎥⎥⎥⎥⎥⎥⎥⎥⎥⎥⎦

It should be noted that, at every integration step, the matrix Ais a function of the operating point position within all three majorhysteresis loops, i.e.:

A = A(j, k, l) (14)

3.2. Backward and numerical differentiation formulae

Before the application of any appropriate numerical method forthe efficient simulation of the system, it is necessary to determinethe character of the analyzed differential equation system (4). Theequation system (4) can be nonstiff, stiff or an extremely stiff sys-tem. In general, a system is stiff if the eigenvalues (time constants)of the Jacobian system differ significantly in magnitude.

In this regard, the concept of stiffness is introduced, which is aspecific characteristic of the system of differential equations relatedexclusively to solving the differential equation system using appro-priate numerical methods. The practical measure of stiffness can bedefined via the following quantitative parameters: stiffness ratio �and stiffness index �:

� =max

i

∣∣∣Re(

�(i)j,k,l

)∣∣∣min

i

∣∣∣Re(

�(i)j,k.l

)∣∣∣ (15)

� = maxi

∣∣∣Re(

�(i)j,k,l

)∣∣∣ (16)

where �(i)j,k,l

, i = 1, 2, . . ., dim (A(j, k, l)) are eigenvalues of statematrices A = A(j, k, l) calculated within every integration step.When � � 1, it is a stiff system and when �→ ∞, it is an extremely orvery stiff system. In other cases it is a nonstiff system. The numeri-cal integration of stiff or very stiff systems by explicit numericalmethods should be avoided, because these methods require anextremely small integration step to ensure numerical stability.

Stiff equation systems represent problems for which explicitmethods do not work [29]. Regarding the second Dahliquist bar-

rier, there are no explicit A-stable numerical methods, and implicitmultistep methods can be A-stable if their order is at most 2 [29].Implicit A- and L-stable numerical methods are required for thenumerical integration of these kinds of systems [29,30].
Page 6: Electric Power Systems Research · Toki´c et al. / Electric Power Systems Research 127 (2015) 177–185 179 Fig. 2. (a) Nonlinear hysteretic inductor, (b) state-space model. 2.1.

1 stems Research 127 (2015) 177–185

stsiht

X

aNmietpsint

wttti

p

pao

B

w∑ra

ε

w

ε

Fεt

-15 -1 0 -5 0 5 10 15-2

-1.5

-1

-0.5

0

0.5

1

1.5

2

Mag

netic

flux

[Vse

c]

82 A. Tokic et al. / Electric Power Sy

The numerical methods of the second order of accuracy and theirpecific characteristics will be presented in the following text. Therapezoidal method is certainly the most widespread one in theimulations of the electrical systems. This method is very easy tomplement because it is simple, A-stable of the second order andas the smallest error constant. The trapezoidal method applied tohe state Eq. (2) is as follows:

n+1 = Xn + �t

2[F (Xn, tn) + F (Xn+1, tn+1)] (17)

However, a fundamental weakness of the trapezoidal method isssociated with the occurrence of spurious numerical oscillations.amely, the trapezoidal method is stable but not strong stable;ore precisely, it has no characteristics of L-stability, so that dur-

ng the simulation of extremely stiff systems, this method can giverroneous results. When using the trapezoidal method, the ampli-ude and frequency of the numerical oscillations depend on thearameters of energy storage elements and the integration stepize, which is explored in detail in the paper [22]. The conclusions that this method is advantageously used for the simulation ofonstiff or moderately stiff systems, while it should be avoided inhe simulation of extremely stiff systems.

To overcome these problems, it is possible to use implicit back-ard Euler’s method, since it is L-stable. However, this method is of

he first order and it is insufficiently accurate in comparison withhe trapezoidal method. The integration step size must be reducedo achieve the same accuracy as the trapezoidal method, whichncreases the simulation time.

On the other hand, the backward differentiation formulae of theth order (BDFp) are the following [29–31]:

p

m=1

1m

∇mXn+1 = �t F (Xn+1, tn+1) (18)

BDFp are more accurate, and are A(˛)- and L-stable. L-stabilityroperties of these methods damp out the response of the stiffnd extremely stiff components, i.e. BDF suppresses the numericalscillations.

The numerical differentiation formulae (NDFp) are fine-tunedDFp with the following relations [32,33]:

p

m=1

1m

∇mXn+1 = �t F (Xn+1, tn+1) + pp

(Xn+1 − X[0]

n+1

)(19)

here parameter p =∑p

m=11m , the starting value X[0]

n+1 =pm=0∇mXn and are the optimally chosen additional terms that

etain maximum possible stability, reduce the truncation error andllow larger time step size. NDFp are also A(˛)- and L-stable.

The truncation error of BDFp can be approximated as

BDFp = 1p + 1

hp+1X(p+1) (20)

hile the truncation error of NDFp can be approximated as

NDFp =(

p∑m=1

1m

+ 1p + 1

)hp+1X(p+1) (21)

It is clear that the integration step ensures a given accuracy.or the same defined tolerance of BDFp and NDFp method i.e. fromBDFp = εNDFp, a connection between the integration steps used in

hese two methods, hBDFp and hNDFp, was obtained:

1p + 1

hp+1BDFp =

(pp + 1

p + 1

)hp+1

NDFp (22)

Magnetizing curre nt [A]

Fig. 5. Transformer hysteresis loop.

If the percentage of the change in integration steps of these twomethods is marked with:

ıp% =hp+1

NDFp − hp+1BDFp

hp+1BDFp

· 100% (23)

the following value is obtained:

ıp% =

⎡⎣(

1/ (p + 1)

pp +(

1/ (p + 1)))1/(p+1)

− 1

⎤⎦ · 100% (24)

NDF2 is L-stable method of the second order, so its relationshipis ı2% = 26 %. It can be concluded that the NDF2 is about 26% moreefficient than the BDF2, and because of that NDF2 is the preferredmethod in this paper.

4. Three-phase transformer inrush currents:Measurements and simulations

The developed three-phase three-legged transformer equiva-lent circuit model is used for inrush current analysis (Fig. 4).

The electrical system parameters are (i = 1,2,3):

• source voltages: ei(t) = 311cos(ωt + i120◦ − 155◦) V;• rated system frequency: f = 50 Hz;• transformer power rate: Str = 2.4 kV A;• transformer ratio: Up/Us = 0.38/0.5 kV;• short circuit voltage: uk% = 3.0%;• winding resistance: Rpi = 1.5 ;• positive sequence inductance: Lpi = 1.0 mH;• zero sequence inductance: Lzi = 0.9 mH;• core loss resistance: Rmi = 4626 ;• zero sequence magnetizing inductance: L0 = 5.0 mH.

The major transformer hysteresis loop is shown in Fig. 5.The presented measurements of three-phase transformer

inrush currents were performed with MI 7111—Power Analyzer(sample rate: 256 S/period) and with FLUKE 434/5—Power QualityAnalyzer (the maximum sampling rate 200 kS/s).

The accuracy levels of these devices are: MI 7111—Power Ana-lyzer 0.1% plus 1 digit and FLUKE 434/5—Power Quality Analyzer0.1%.

The moment of switching on (T0 = 3.10 ms) was estimated,although there was dissipation between phases (3:05 ms, 3.12 ms,

3.15 ms). The source voltage was sine signal of fundamental fre-quency (50 Hz) although there were distortions of the phasevoltages, i.e. THD of phase voltages were 2.62%, 2.80% and 2.83%,respectively.
Page 7: Electric Power Systems Research · Toki´c et al. / Electric Power Systems Research 127 (2015) 177–185 179 Fig. 2. (a) Nonlinear hysteretic inductor, (b) state-space model. 2.1.

A. Tokic et al. / Electric Power Systems Research 127 (2015) 177–185 183

0 0.01 0.02 0.03 0.04 0.05 0.06 0.07 0.08-60

-40

-20

0

20

40

60

80

100

Time [s ec]

Cur

rent

[A]

ph 1ph 2ph 3

Fig. 6. Inrush current simulation, trapezoidal method, �t = 80 �s.

0 0.02 0.04 0.06 0.08 0.1 0.12 0.14 0.16-1.5

-1.48

-1.46

-1.44

-1.42

-1.4

-1.38 x 107

Min

eig

enva

lue

[1/s

ec]

F

ta

uims

t

F

0 0.02 0.04 0.06 0.08 0.1 0.12 0.14 0.160

1

2

3

4

5

6

7 x 107

Time [s ec]

Eige

nval

ue ra

tio

Fig. 9. Propagation of eigenvalue ratio during the simulation time.

0 0.02 0.04 0.06 0.08 0.1 0.12 0.14 0.16-20

-15

-10

-5

0

5

10

Cur

rent

[A]

meas uredsimulated

Time [s ec]

ig. 7. Propagation of minimum real part of eigenvalues during the simulation time.

The simulation results of transformer inrush currents by usinghe classical trapezoidal method with integration step �t = 80 �sre shown in Fig. 6.

The existence of the artificial numerical oscillations is evident bysing the trapezoidal method. To detect the cause of these numer-

cal oscillations in every integration step of the simulation, theaximal and minimal eigenvalues, as well as the stiffness ratio and

tiffness index were computed. These results are shown in Figs. 7–9.The limit values of defined stiffness parameters are obtained by

he following:

1.388 × 107 ≤ �j,k ≤ 1.497 × 107

0.579 × 106 ≤ �j,k ≤ 6.947 × 107

0 0.02 0.04 0.06 0.08 0.1 0.12 0.14 0.16-30

-25

-20

-15

-10

-5

0

Time [s ec]

Max

eig

enva

lue

[1/s

ec]

ig. 8. Propagation of maximum real part of eigenvalues during the simulation time.

Time [s ec]

Fig. 10. Measured and simulated transformer inrush currents: phase 1.

It is clear that the state-space form of the transformer inrushcurrent transients exhibits very stiff systems. Therefore, BDF2 andNDF2 methods were used for further simulations of the transformerenergization.

The comparison between the measured and simulated trans-former inrush currents is shown in Figs. 10–12. The simulationswere performed by using the numerical method (NDF2) with theintegration step size of �t = 80 �s.

The absolute difference between the measured and simulated

transformer inrush currents as a function of time is shown inFigs. 13–15 according to the formula:

ε(tk) =∣∣isimul.(tk) − imeas.(tk)

∣∣ (25)

0 0.02 0.04 0.06 0.08 0.1 0.12 0.14 0.16-20

-15

-10

-5

0

5

10

Time [s ec]

Cur

rent

[A]

meas uredsimulated

Fig. 11. Measured and simulated transformer inrush currents: phase 2.

Page 8: Electric Power Systems Research · Toki´c et al. / Electric Power Systems Research 127 (2015) 177–185 179 Fig. 2. (a) Nonlinear hysteretic inductor, (b) state-space model. 2.1.

184 A. Tokic et al. / Electric Power Systems Research 127 (2015) 177–185

0 0.02 0.04 0.06 0.08 0.1 0.12 0.14 0.16-10

0

10

20

30

40

Time [s ec]

Cur

rent

[A]

meas uredsimulated

Fig. 12. Measured and simulated transformer inrush currents: phase 3.

0 0.02 0.04 0.06 0.08 0.1 0.12 0.14 0.160

2

4

6

8

10

Time [s ec]

Cur

rent

[A]

Fi

ip

ı

w

tEt

Fi

0 0.02 0.04 0.06 0.08 0.1 0.12 0.14 0.160

2

4

6

8

10

Time [s ec]

Cur

rent

[A]

Fig. 15. Absolute difference between measured and simulated transformer inrushcurrents: phase 3.

1 2 3 4 5 6 7 80

0.5

1

1.5

2

2.5

3

3.5

Rel

ativ

e er

ror [

%]

ph 1ph 2ph 3

ig. 13. Absolute difference between the measured and simulated transformernrush currents: phase 1.

The propagation of the relative error of the transformer peaknrush currents is shown in Fig. 16. The relative error of currenteak k, 1 ≤ k ≤ 8 per phase j = 1, 2, 3 is calculated by relation:

j(k) =∣∣isimul.(k) − imeas.(k)

∣∣imeas.j

· 100% (26)

here imeas j = maxj

{imeas.j(k)

}.

Based on the above explanation, it is possible to proposehe implementation of the hybrid numerical method within theMTP-based programs as a linear combination of the traditionalrapezoidal method and the proposed BDF2 (NDF2) methods

0 0.02 0.04 0.06 0.08 0.1 0.12 0.14 0.160

2

4

6

8

10

Time [s ec]

Cur

rent

[A]

ig. 14. Absolute difference the between measured and simulated transformernrush currents: phase 2.

Peak number

Fig. 16. Relative error of peak value of transformer inrush currents.

0 ≤ � ≤ 1:

Xn+1 =(

1 + �

3

)Xn − �

3Xn−1 +

(1 + �

3

)�t

2F (Xn, tn)

+(

1 − �) �t

2F (Xn+1, tn+1) (27)

Xn+1 =(

1 + �

5

)Xn − 3�

10Xn−1 +

(1 − �

) �t

2F (Xn, tn)

+(

1 + �

5

)�t

2F (Xn+1, tn+1) + �

10X[0]

n+1 (28)

In expressions (27) and (28), � = 0 leads to the trapezoidalmethod, whereas � = 1 leads to the BDF2 (NDF2). In this way, it ispossible to overcome some problems in using the standard trape-zoidal method.

5. Conclusions

The simplified three-phase three-legged transformer modelbased on linear graph theory was developed in this paper. Themodel takes into account mutual coupling between the phases andhysteretic character of iron core.

The algorithm for generating system matrices in electrical

networks is presented here. The analyzed network may containinductor cut-sets and/or capacitor loops.

The main focus of the paper was to research the specific char-acteristics of the system of differential equations that describe the

Page 9: Electric Power Systems Research · Toki´c et al. / Electric Power Systems Research 127 (2015) 177–185 179 Fig. 2. (a) Nonlinear hysteretic inductor, (b) state-space model. 2.1.

stems

tpfnetoopoas

mtcfawFtomd

aozta

tntpmifi

R

[

[

[

[

[

[

[

[

[

[

[

[

[

[

[

[

[

[

[

[

[

[

A. Tokic et al. / Electric Power Sy

hree-phase transformer inrush current transients. In addition, theaper examined the corresponding numerical methods suitableor the simulation of extremely stiff systems. Based on the stiff-ess detection, it has been proven that the system of differentialquations describing the three-phase transformer inrush currentransient is an extremely stiff system that is solved by using meth-ds based on backward differentiation formulae. The main causef the stiffness of the system of differential equations is the dis-ersion of the parameters of the system as well as the nonlinearityf the hysteresis curve. The worst stiffness scenarios of the systemre occurring at a time when the transformer iron core is in deepaturation.

Because of the stability properties of the mentioned BDF/NDFethods, it completely damps out unwanted numerical oscilla-

ions that are inherent in the classical trapezoidal method. Theomparison of the measured and simulated three-phase trans-ormer inrush currents showed very good agreement. Certainly, theuthors are working on a more complex model of the transformerhich will include the frequency dependence of the parameters.

urther research will include asymmetric scenarios, i.e. a model ofhree-phase transformer that will take into account the equationsf its magnetic circuits. The analog algorithm of generating systematrix and stiffness detection of the corresponding system of the

ifferential equations will be applied in this model.The proposed BDF/NDF methods have excellent qualities of

ccuracy and stability. The numerical methods are of the secondrder (local truncation error is of the same order as in the trape-oidal method) and are A- and L-stable. Additionally, NDF2 allowso use a 26% greater integration step than BDF2 to achieve the sameccuracy.

In the paper the implementation of the hybrid method withinhe EMTP-type programs is suggested in order to overcome theumerical oscillations problems. This implementation refers tohe general electrical networks which may alter the topology andarameters during the course of time so that the state equationay be non-stiff and stiff during the simulation and in this case it

s interesting to use this hybrid rule. This will definitely be a specialeld of scientist’s research in the future.

eferences

[1] CIGRE Working Group 33.02, Guidelines for Representation of Network Ele-ments When Calculating Transients CIGRE Brochure 39, 1990.

[2] IEEE PES Task Force on Data for Modeling System Transients, Parameter deter-mination for modeling system transients—Part III: Transformers, IEEE Trans.Power Delivery 20 (Jul (3)) (2005) 2051–2062.

[3] M.E. Golshan, M. Saghaian, A. Saha, H. Samet, A new method for recognizinginternal faults from inrush current conditions in digital differential protectionof power transformers, Electr. Power Syst. Res. 71 (2004) 61–71.

[4] M. Nagpal, T.G. Martinich, A. Moshref, K. Morison, P. Kundur, Assessing and

limiting impact of transformer inrush current on power quality, IEEE Trans.Power Delivery 21 (April (2)) (2006) 890–896.

[5] M. Steurer, K. Fröhlich, The impact of inrush currents on the mechanical stressof high voltage power transformer coils, IEEE Trans. Power Delivery 17 (Jan (1))(2002) 155–160.

[

[

Research 127 (2015) 177–185 185

[6] D. Povh, W. Schultz, Analysis of overvoltages caused by transformer magne-tizing inrush current, IEEE Trans. Power Delivery PAS 97 (Jul/Aug (4)) (1978)1355–1362.

[7] A. Tokic, I. Uglesic, Power quality problems due to transformer inrush cur-rent, in: Inter. CIGRE Symposium Transient Phenomena in Large Electric PowerSystems, April 2007, Zagreb, Croatia, 2007, p. 8.

[8] J.A. Martinez, B.A. Mork, Transformer modeling for low- and mid-frequencytransients—a review, IEEE Trans. Power Delivery 20 (Apr (2)) (2005)1625–1632.

[9] B.A. Mork, F. Gonzalez, D. Ishchenko, D.L. Stuehm, J. Mitra, Hybrid transformermodel for transient simulation—Part I: Development and parameters, IEEETrans. Power Delivery 22 (1) (2007) 248–255.

10] B.A. Mork, F. Gonzalez, D. Ishchenko, D.L. Stuehm, J. Mitra, Hybrid transformermodel for transient simulation—Part II: Laboratory measurements and bench-marking, IEEE Trans. Power Delivery 22 (1) (2007) 256–262.

11] E.P. Dick, W. Watson, Transformer models for transient studies based on fieldmeasurement, IEEE Trans. Power Appl. Syst. PAS-100 (1) (1981) 401–419.

12] D. Dolinar, J. Pihler, B. Grcar, Dynamic model of a three-phase power trans-former, IEEE Trans. Power Delivery 8 (Oct (4)) (1993) 1811–1819.

13] C.E. Lin, J.C. Yeh, C.L. Huang, C.L. Cheng, Transient model and simulation inthree-phase three-limb transformers, IEEE Trans. Power Delivery 10 (Apr (2))(1995) 896–905.

14] H. Mohseni, Multi-winding multi-phase transformer model with saturablecore, IEEE Trans. Power Delivery 6 (1) (1991) 166–173.

15] C.G.A. Koreman, Determination of the magnetizing characteristic of three-phase transformers in field tests, IEEE Trans. Power Delivery 4 (Jul (3)) (1989)1779–1785.

16] H.W. Dommel, Electromagnetic Transients Program Theory Book, BonnevillePower Admin, Portland, OR, USA, Aug. 1986.

17] M. Kizilcay, Power System Transients and Their Computation, Univ. Appl. Sci.Osnabruck, Osnabruck, Germany, Jun. 2003.

18] A. Tokic, I. Uglesic, G. Stumberger, Simulations of transformer inrush currentby using BDF-based numerical methods, Math. Prob. Eng. 2013 (2013) 10.

19] I.D. Mayergoyz, Mathematical Models of Hysteresis and Their Applications,Academic Press, Elsevier, New York, NY, USA, 2003.

20] C. Pérez-Rojas, Fitting saturation and hysteresis via arctangent functions, IEEEPower Eng. Rev. (2000) 55–57.

21] J. Takacs, A phenomenological mathematical model of hysteresis, COMPEL: Int.J. Comp. Math. Electr. Electron. Eng. 20 (4) (2001) 1002–1014.

22] A. Tokic, I. Uglesic, Elimination of overshooting effects and suppression ofnumerical oscillations in transformer transient calculations, IEEE Trans. PowerDelivery 23 (1) (2008) 243–251.

23] A. Tokic, V. Madzarevic, I. Uglesic, Hysteresis model in transient simulationalgorithm based on BDF numerical method, in: Proc. of the IEEE Power TechConference, St. Petersburg, Russia, 2005, pp. 1–6.

24] A. Tokic, Modeling, Simulation of Continuous Systems, PrintCom, Tuzla, BiH,2011.

25] S.G. Abdulsalam, W. Xu, V. Dinavahi, Modelling and simulation of three-phasetransformers for inrush current studies, IEE Proc. Gener. Transm. Distrib. 152(May (3)) (2005) 328–333.

26] M. Vakilian, R.C. Degeneff, A method for modeling nonlinear core characteristicsof transformers during transients, IEEE Trans. Power Delivery 9 (Oct (4)) (1994)1916–1925.

27] M. Vakilian, R.C. Degeneff, M. Kupferschmid, Computing the internal transientvoltage response of a transformer with a nonlinear core using Gear’s method,Part 1: Theory, IEEE Trans. Power Delivery 10 (Oct (4)) (1995) 1836–1842.

28] D.B. West, Introduction to Graph Theory, Pearson Education, Inc, Singapore,2002.

29] E. Hairer, G. Wanner, Solving Ordinary Differential Equations II: Stiff andDifferential-Algebraic Problems, Springer, Berlin, 2010.

30] U. Ascher, L.R. Petzold, Computer Methods for Ordinary Differential Equationsand Differential-Algebraic Equations, SIAM, Philadelphia, PA, 1998.

31] C.W. Gear, Numerical Initial Value Problems in Ordinary Differential Equations,

Prentice-Hall, Englewood Cliffs, NJ, USA, 1971.

32] L.F. Shampine, M.W. Reichlet, The MATLAB ODE suite, SIAM—J. Numer. Anal. 18(1) (1997) 1–28.

33] R. Ashino, M. Nagase, R. Vaillancourt, Behind and beyond the MATLAB ODEsuite, Comp. Math. Appl. 40 (2000) 491–512.


Recommended