where h = 1, 5, 7, …, L. For h = 1 the entries are zero.
7.4.5 Harmonic Jacobian Entry Formulas Related to Line Currents
Figure 7.15 shows a typical nonlinear bus i of an n bus system. This ith bus is connected to three other buses, m, k, and l. The nonlinear device connected to bus i demands a complex load current g˜(h)load,i (referred to the nonlinear bus i) at the hth harmonic frequency.
The total hth harmonic complex current leaving bus i via the lines is
where (Y¯¯¯(h)bus)ij is the (i,j)th entry of the hth harmonic admittance matrix. Because k, l, and m are the only buses connected to bus i (see Fig. 7.15),
I˜(h)lines,i=(rowiofY¯¯¯(h)bus)iiV¯¯¯(h)bus,
(7-115)
where V¯¯¯(h)bus is a complex vector of the hth harmonic bus voltages. Therefore, the mismatch current for the hth harmonic is based on the Kirchhoff current law at bus i:
where G˜(h)load,i is the hth harmonic nonlinear complex load current (for bus i), referred to the swing bus:
G˜(h)load,i=G(h)r,i+jG(h)i,i
(7-117)
In this equation, the second index i pertains to bus i and the first index i indicates imaginary. Breaking the mismatch current ΔĨi(h) into a real part ΔIr,i(h) and an imaginary part ΔIi,i(h) we get
where yij(h) and θij(h) are the magnitude and phase angle of the (i,j)th entry of the hth harmonic admittance matrix, respectively, and |V~(h)j| and δj(h) are the hth harmonic voltage magnitude and phase angle of bus j with respect to swing bus.
The entries of the Jacobian matrix corresponding to line currents are submatrices Y¯¯¯(h,h) (h = 1, 5, …, L). These matrices are defined as
Y¯¯¯(h,h)=∂(I¯(h))∂(V¯¯¯(h)).
(7-120)
Note that Y¯¯¯(h,j) = 0 for h ≠ j. The zero terms are due to the fact that the (v-i) characteristics of the nonlinear devices are modeled in the Jacobian matrix using submatrices G¯¯¯(h,j).
For h = 1 only the last 2(n – m + 1) rows exist because fundamental current balance is not performed for linear load buses. Also for h = 1 the first two columns of the matrix do not exist (are zero) because ∣∣V˜(1)1∣∣ and δ1(1) are known and constant.
The entries of Y¯¯¯(h,h) are computed from Eq. 7-119 by setting Gr,i(h) and Gi,i(h) to zero:
where h and j denote harmonic order and bus number, respectively.
7.4.6 Newton-Based Harmonic Power Flow Algorithm
Based on the equations given, the harmonic power flow algorithm is the computation of bus voltage vector Ū for a given system configuration with linear and nonlinear loads. The Newton–Raphson approach (Eq. 7-107) will be used to force the mismatch vector (Eq. 7-101) to zero using the harmonic Jacobian matrix and obtaining appropriate correction terms ΔŪ. Therefore (ξ represents the iteration number),
ΔU¯¯¯ξ=J¯¯−1ΔM¯¯¯¯(U¯¯¯ξ),
(7-123)
U¯¯¯(ξ+1)=U¯¯¯ξ−ΔU¯¯¯ξ.
(7-124)
The solution procedure for the harmonic power flow algorithm is as follows (Fig. 7.16):
Step 1: Perform the fundamental load flow analysis (treating all nonlinear devices as linear loads) and compute an initial (approximate) value for the fundamental bus voltage magnitudes and phase angles. Make an initial guess for the harmonic bus voltage magnitudes and phase angles (e.g., 0.1 pu and 0 radians).
Step 2: Compute nonlinear device currents Gr,m(h) and Gi,m(h) (referred to the swing bus) for nonlinear loads.
Step 3: Evaluate ΔM¯¯¯¯(U¯¯¯) using Eqs. 7-101, 7-102. If it is small enough then stop.
Step 4: Evaluate J¯¯(h) (Eqs. 7-108 to 7-112 and 7-121) and calculate ΔŪ (Eqs. 7-107 and 7-123) using matrix inversion or forward/backward substitutions.
Step 6: Update the total (fundamental plus harmonic) powers at nonlinear buses (Pjt and Qjt) (Eq. 7-99, Eq. 7-100), and the specified total apparent power or total reactive power (Eq. 7-98), whichever is known.
Step 7: Go to Step 2.
7.4.7 Application Example 7.14: Computation of Harmonic Admittance Matrix
The harmonic power flow algorithm will be applied to the nonlinear power system as shown in Fig. E7.14.1 where all impedances are given in pu at 60 Hz and the base is Sbase = 1 kVA. In order to simplify the problem, the harmonic (v–i) characteristic of the nonlinear load at bus 4 (referred to the voltage at bus 4) is given as
It will be assumed that the voltage at the swing bus (bus 1) is ∣∣V˜(1)1∣∣ = 1.00 pu and δ(1)1=0 rad.
The swing bus can be represented by Fig. E7.14.2 at the fundamental frequency. For the 5th harmonic, Ẽan of Fig. E7.14.3 represents a short-circuit, and the synchronous machine impedance Z1 is replaced by the (subtransient) impedance Z2 ≈ jX− = j0.0001 pu at 60 Hz (see Fig. E7.14.1). In this case the subtransient reactance has been chosen to be very small in order to approximate bus 1 as an ideal bus.
Compute the fundamental and 5th harmonic admittance matrices.
Solution to Application Example 7.14
The fundamental bus admittance matrix (X− does not exist for fundamental quantities) is computed in Application Example 7.8. The 5th harmonic bus admittance matrix takes into account X− and its entries are calculated as follows:
7.4.8 Application Example 7.15: Computation of Nonlinear Load Harmonic Currents
For the system of Fig. E7.14.1, assume an initial value for the bus vector Ū0 and compute the fundamental and the 5th harmonic currents injected into the system by the nonlinear load. The computation of the nonlinear load harmonic currents is the initial step of the harmonic load flow algorithm.
Solution to Application Example 7.15
The initial step of harmonic load flow is as follows:
The real and imaginary nonlinear device currents G(1)r,4 and G(1)i,4 – referred to the swing bus – may be computed as follows, where the following powers are referred to the nonlinear bus 4:
I4(1) and γ4(1) = δ4(1) – tan−1(Q4(1)/P4(1)) are the magnitude and phase angle of the fundamental nonlinear device current, respectively. The diagram of Fig. E7.15.1 demonstrates the phasor relationships.
The real part of the fundamental of the nonlinear device current at bus 4 (referred to the swing bus) is
G(1)r,4=I(1)4cosγ(1)4
where
I(1)4=P(1)4V(1)4cos(δ(1)4−γ(1)4).
Thus
G(1)r,4=P(1)4cosγ(1)4V(1)4cos(δ(1)4−γ(1)4).
Correspondingly one obtains for the imaginary part of the fundamental of the nonlinear device current at bus 4 (referred to the swing bus):
G(1)i,4=P(1)4sinγ(1)4V(1)4cos(δ(1)4−γ(1)4).
The real and imaginary harmonic (5th) nonlinear device currents are given as (referred to bus 4)
where δ4(5) is the angle between V˜(5)4 and V˜(1)1 the swing bus voltage, I4(5) is the fifth harmonic current magnitude
I(5)4=(g(5)r,4)2+(g(5)i,4)2−−−−−−−−−−−−−−√
and γ4(5) is the phase angle of Ĩ4(5) with respect to the swing bus voltage Ṽ1(1).
Assuming bus 1 to be the swing bus (δ(1)1=0radians,∣∣V(1)1∣∣=1.00pu), the solution procedure is as follows.
Step #1 of Harmonic Load Flow. Using the solution vector x¯ of the fundamental power flow analysis (see Application Example 7.13) and assuming harmonic voltage magnitudes and phase angles of 0.1 pu and 0 radians, respectively, the bus vector Ū0 will be
Note that the nonlinear device variables (α4 and β4) are assumed to be zero because there are no device variables defined in this example for the nonlinear load at bus 4.
Step #2 of Harmonic Load Flow. Use Ū0 to compute the nonlinear device currents. With P4(1) = 250 W corresponding to 0.25 pu, Q4(1) = 100VAr corresponding to 0.100 pu, V4(1) = 0.9960 pu, and δ4(1) = –3.414 · 10−3 radians, one gets
Therefore, the fifth harmonic currents at bus 4 referred to the swing bus are G(5)r,4=I(5)4cosγ(5)4 and G(5)i,4=I(5)4sinγ(5)4.
The phasor diagram for the 5th harmonic is shown in Fig. E7.15.2, where the angles are
δ(5)4=ɛ(5)4+γ(5)4
or
γ(5)4=δ(5)4−ɛ(5)4=0−ɛ(5)4=−0.01014rad
resulting in G(5)r,4 = 0.2994 pu and G(5)i,4 = –0.003036 pu.
These nonlinear currents referred to the swing bus are about the same as those referred to bus 4 because the angle γ4(5) is very small for this first iteration.