Академический Документы
Профессиональный Документы
Культура Документы
4, OCTOBER 2008
2599
I. INTRODUCTION
As a second objective, this work describes in a comprehensive manner the numerical issues of the NLT in such a way that
a power system engineer (without being a specialist in digital
signal processing) can understand the basic theory and develop
a FD program for handling transients. Since some of the references mentioned in this paper are old and/or out of reach for
most of power engineers, we repeat here many of the theory already contained in those papers.
Although the NLT technique is applied in this work to the
power systems transients area, it is deemed here that its applicability can be expanded to other Engineering areas.
Finally, a code section is included (Appendices A and B) that
allows to apply the NLT in Matlab.
II. HISTORY
Manuscript received October 14, 2007; revised December 17, 2007. First published May 7, 2008; current version published September 24, 2008. Paper no.
TPWRD-00600-2007.
P. Moreno and A. Ramirez are with CINVESTAV, Guadalajara 44550,
Mexico (e-mail: pmoreno@gdl.cinvestav.mx).
Task Force Members: J. L. Naredo (Task Force Chairperson), A. Ametani,
S. Carneiro, M. Davila, V. Dinavahi, J. A. de la O, F. de Leon, P. Gomez, J.
L. Guardado, B. Gustavsen, J. A. Gutierrez-Robles, J. R. Marti, J. A. MartinezVelasco, F. Moreira, P. Moreno, A. Morched, N. Nagaoka, W. A. Neves, T.
Noda, V. H. Ortiz-Muro, A. I. Ramirez, M. Rioual, A. C. Siqueira de Lima, F.
A. Uribe, K. Strunz, N. Watson, D. J. Wilcox.
Digital Object Identifier 10.1109/TPWRD.2008.923404
2600
(3a)
(3b)
(1a)
.
where the period of oscillation is equal to
with maximum frequency
Suppose that a data window
is defined, we would like to obtain back
from the truncated integral
(4)
where
(5a)
and
(1d)
is
(5b)
(2)
(6)
2601
(7a)
where
is known as the window function in TD. For instance,
consider that
corresponds to the rectangular time window
function shown in Fig. 2(a). Then, the substitution of (4) into
, gives
(7a), and using
(7b)
where
Fig. 2(a)]
(7d)
Notice that for numerical implementation, only the central
lobe of Lanczos window is taken. The effect of truncating and
introducing the window function is represented in the FD and
in the TD by
(8a)
(8b)
respectively, and is illustrated by Fig. 2. Comparison of the
graphs in Figs. (1c) and (2b) shows the attenuation of Gibbs
oscillations in the latter due to the use of the window function.
B. Discretization Error
In the numerical computation of the inverse Fourier transform, what it has actually done is transform an FD sampled
signal (instead of a continuous one) into the TD as follows:
(9)
the truncation process described by (3)(6). The ringing phe[see Fig. 1(c)] is known as Gibbs
nomenon appearing in
oscillations and has a period of oscillation that is equal to
[17]. The value of also corresponds to the minimum rise time
; that is, due to frequency truncation, the resulting funcof
tion not only presents Gibbs oscillations, it also has a finite rise
time.
2602
is the TD image of
given by
(12)
(13)
As an illustration of the discretization error, the functions described by (9)(13) are shown in Fig. 3 for a specific triangular
signal. Fig. 3(a) shows the TD triangular function and its FD
counterpart. The sampled FD signal is depicted in Fig. 3(b) and
its corresponding TD counterpart in Fig. 3(c).
As it can be noted from (13), the resulting TD function obtained after discretization of its FD image consists of a periodic
. According to the sampling
function with period
[17].
theorem, overlapping will exist if
To decrease the aliasing phenomenon, the NLT takes aim into
the fact that the inversion involves the function attenuated by a
2603
(16a)
(16b)
Equation (16b) is defined by the odd sampling procedure
and (16a) represents the minimum useful time step. This value
comes from the fact that truncation of the spectrum produces a
rise time of
(16c)
and the ratio
gives samples.
By using the sampling scheme defined by (15) (and including
the window function), (2) can be approximated numerically as
(18a)
where
(18b)
The term inside the square brackets in (18a) permits us to
utilize the fast Fourier transform (FFT) algorithm [17] which
in a very efficient manner when
makes the calculation of
is equal to an integer power of two.
V. NUMERICAL FORMULATION
A. Odd Sampling
The numerical evaluation of (2) requires the consideration of
and , as shown in Fig. 4. The numersampling intervals
ical formulation that will be described uses an odd discretization
, and normal time steps of
;
in the FD with spacing of
therefore, the following definitions are made:
for
(17)
(15a)
and
B. Choice of
, and
for
(15b)
2604
equal to
given by
(19)
where
and
(20b)
Note that in (20b), the samples at the left hand side of the
imaginary axis have been flipped to the right and conjugated. In
, and should be modified accord(20), the selection of ,
ingly.
D. Direct Transform
For completeness of this paper, the numerical formulation of
the direct Laplace transform is provided in this subsection.
In order to obtain a useful formula for the frequency spectrum, the discretized TD function can be converted to a continuous analog time function. Since the behavior between samples
is unknown, it suffices to assume that time point
defines a
to
(sample
time rectangle of magnitude from
and hold operation). Hence, for the case of FD odd sampling,
(1c) can be expressed as follows:
(21a)
For the sake of illustration, we have taken the shifted unit step
(22a)
(21b)
(21c)
where ,
, and , are given by (15a), (15b), and (20b),
respectively.
Since the analog function formed from is a train of rectangular pulses, a different formula for the frequency spectrum can
be obtained by summing the Laplace transforms of all pulses. In
the authors experience, (21b) and (21c) provide good results.
into the TD
The NLT is evaluated by first transforming
and then comparing the result with the exact function given by
(22a). In the graphs of Fig. 5, the delay has been assumed
of the
to be equal to 0.1 s and the decimal logarithm
error is presented for each of the two choices for selecting
[i.e., (14a) and (14b)]. The number of samples in the NLT has
been taken as 512, 1024, and 2048. The spikes seen in the plots
of Fig. 5 correspond to the error at the discontinuity of the unit
step, which is caused by the different rise times between the
exact formula in (22a) and the numerical solution.
2605
TABLE I
DAMPING FACTOR c
(23)
is the TD waveform of the voltage between the
where
switch terminals for the whole observation time with the switch
opened and indicates the Laplace transform.
On the other hand, a closed switch is represented by a curthat is equal to the current flowing across it.
rent source
Switch opening is performed by connecting in parallel to
a current source
of equal magnitude but opposite polarity,
[see Fig. 8(b)]. Opening the switch
so that
2606
when the current reaches its first zero value after a specified
opening time is accomplished by injecting the current source
(24)
is the current zero-crossing time and
is the TD
where
waveform of the current flowing through the closed switch for
the whole observation time.
It should be mentioned that when using a nodal formulation,
ideal voltage sources cannot be used to simulate switch closures.
must be accomplished
Hence, the injection of voltage
through a Norton equivalent current source
(25)
is a resistance with a very small value (or, alternawhere
tively, equal to the switch resistance).
Regarding the switch initial condition, a conductance of zero
for an
is assigned for an initial state of open and a value of
initial state of closed. In order to implement switching simulations, a topological change in the network nodal matrix must be
accomplished when a maneuver occurs. This topological change
is performed by introducing (closure) or extracting (opening)
from the network matrix before solving for the state due to
the injected current.
From the discussion before, a practical switch model suitable
for simulating closures and openings can be as the one shown
is given by
in Fig. 9. The injected current
closure
opening
and the Norton conductance
(27a)
is given by
closure
opening.
(27b)
When
is positive,
is introduced in the admittance
matrix, representing the connection between the switch nodes
is negative,
is subtracted, leaving the switch
and when
nodes disconnected.
After a switching operation, the complete system response
is obtained by adding the response existing before switching to
(28)
where
and
are the two-port
admittance submatrices for the transmission line with characand propagation matrix [6], [23], [28],
teristic admittance
[29].
is the vector of Norton equivalent currents,
is
a diagonal conductance matrix that represents the three phase
is a diagonal matrix whose elements are
switch condition,
, and
is the load admittance (
for an open
, (28) represents the system state
ended line). When
before switching. For an initially opened three-phase switch
. In (28), all submatrices are of order 3 3; therefore, the system matrix is of order 9 9.
As an application example, consider the energization of a
203 km long transmission line. The line is equipped with two
Bluejay ACSR subconductors per bundle separated by 450 mm.
The average height and horizontal separation of the bundle centers are 40 m and 8.8 m, respectively. The earth resistivity is
2607
(29)
where
is the unit step function. The topological change in
the admittance matrix is done by adding the switch conductance
matrix
(30)
After solving (28) for the node voltages due to the injection of , the complete voltage response is obtained by adding
the system response due to initial conditions (previous system
state). Closing the rest of the circuit-breaker poles is performed
in a likewise manner.
Fig. 12 shows the resulting voltage waveform of phase A at
the receiving end after closing the three phases using the method
presented in this work and using the PSCAD program. The cpu
time for this simulation with 1024 samples was 0.8125 s in a
Pentium IV with a 3 GHz processor.
APPENDIX A
The Matlab v.7 code used for the assessment of the NLT in
Section VI is provided:
2608
clear all;
function
% Laplace data;
%;
; error
% dt,
% c: damping factor;
%;
;
;
;
;
;
;
;
;
;
REFERENCES
; %Hanning;
;
%
%Lanczos;
%
; %Blackman;
% function in the time domain through NLT;
APPENDIX B
Matlab v.7 code for the direct Laplace transform with FD odd
sampling:
2609