HVAC TL MatLab
HVAC TL MatLab
Description
power_lineparam opens a graphical user interface (GUI) to enter the line parameters
and return the electrical R, L, and C line parameters. You can also activate this GUI
from the Powergui block dialog box by selecting Compute RLC Line Parameters.
Rik=ΔRikΩ/km
The conductor self-inductance is computed from the magnetic flux circulating inside
and outside the conductor, and produced by the current flowing in the conductor
itself. The part of flux circulating inside the conducting material contributes to the
internal inductance Lint, which is dependent on the conductor geometry. Assuming
a hollow or solid conductor, the internal inductance is computed from the T/D ratio
where D is the conductor diameter and T is the thickness of the conducting material
(see the figure Configuration of a Three-Phase Double-Circuit Line). The conductor
self-inductance is computed by means of modified Bessel functions from the
conductor diameter, T/D ratio, resistivity, and relative permeability of conducting
material and specified frequency [1].
The conductor self-inductance can be also computed from parameters that are
usually found in tables provided by conductor manufacturers: the Geometric Mean
Radius (GMR) or the "Reactance at one-foot spacing."
The GMR is the radius of the equivalent hollow conductor with zero thickness,
producing no internal flux, giving the same self-inductance. The conductor self-
inductance is then derived from the GMR using the following equation.
𝜇 2.ℎ
𝐿𝑖𝑖 = 2𝜋0 . 𝑙𝑜𝑔 𝐺𝑀𝑅𝑖 + ∆𝐿𝑖𝑖 H/km
𝐺𝑀𝑅 = r. e−𝜇𝑟 /4
r = radius of conductor
μ = relative permeability of conducting material
r
The GMR obtained from this equation assumes a uniform current density in the
conductor. This assumption is strictly valid in DC. In AC, the GMR is slightly higher.
For example, for a 3 cm diameter solid aluminum conductor (Rdc = 0.040 Ω/km),
the GMR increases from 1.1682 cm in DC to 1.1784 cm at 60 Hz. Manufacturers
usually give the GMR at the system nominal frequency (50 Hz or 60 Hz).
The reactance Xa at 1-foot spacing (or 1-meter spacing if metric units are used) is
the positive-sequence reactance of a three-phase line having one foot (or one
meter) spacing between the three phases and infinite conductor heights. The
reactance at one-foot spacing (or 1-meter spacing) at frequency f is related to the
GMR by the following equation:
𝜇0 1
𝑋𝑎 = 𝜔. . 𝑙𝑜𝑔 Ohm/km
2𝜋 𝐺𝑀𝑅
ω = 2π.f in rad/s
f = frequency in hertz
Conductor DC resistance
Specify the DC resistance of conductor in ohms/km or ohms/mile.
Conductor relative permeability
Specify the relative permeability µ of the conducting material. µ = 1.0 for
r r
sag = Ytower−Ymin
Instead of specifying two different values for Ytower and Ymin, you may specify
the same Yaverage value.
Type
Specify one of the conductor or bundle type numbers listed in the first column
of the table of conductor characteristics.
Load typical data
Opens a browser window where you can select examples of line
configurations provided with SimPowerSystems™ software. Select the
desired .mat file.
Selecting Load typical data allows you to load one of the following line
configurations:
For a three-phase line (one circuit), R10, L10, and C10 vectors of two
values are displayed for positive-sequence and zero-sequence RLC
values.
For a six-phase line (two coupled three-phase circuits), R10, L10, and
C10 vectors of five values containing the following RLC sequence
parameters are displayed: positive-sequence and zero-sequence of
circuit 1, mutual zero-sequence between circuit 1 and circuit 2, positive-
sequence and zero-sequence of circuit 2.
Send RLC parameters to workspace (Envío a la Pantalla de MatLAb)
Sends the R, L, and C matrices, as well as the symmetrical component
parameters to the MATLAB workspace. The following variables are created in
®
your workspace: R_matrix, L_matrix, C_matrix, and R10, L10, C10 for
symmetrical components.
Send RLC parameters to block
Sends the RLC parameters into one of the following three blocks that you
previously selected in your model: the Distributed Parameter Line block
(either matrices or sequence RLC parameters), the single-phase PI Section
Line block (one dimension matrix required), or the Three-Phase PI Section
Line block (sequence components only).
Selected block
Confirms the block selection. The name of the selected block appears in the
left window.
RLC Matrices
Downloads RLC matrices into the selected block.
Sequences
Downloads RLC sequence parameters into the selected block.
Create a report
Creates a file, XXX.rep, containing the line input parameters and the computed
RLC parameters. The MATLAB editor opens to display the contents of
the XXX.rep file.
Close
Closes the Display RLC Values window.
Examples
These examples illustrate the inputs and outputs of the power_lineparam GUI.
The first example uses a simple line consisting of two conductors spaced by 1
meter at an average height of 8 meters above a perfect ground (ground
resistivity ρg = 0). The two conductors are solid aluminum conductors
(resistivity ρc = 28.3 10 Ω.m at 20 C) having a 15-mm diameter.
−9 º
0,161 0
𝑅=( )
0 0,161
For the solid conductors, the GMR is:
1,5 −1/4
𝐺𝑀𝑅 = 𝑟. 𝑒 −𝜇𝑟 /4 = .𝑒 = 0,5841
2
The self- and mutual- inductances are computed as follows. The ΔL
correction terms are ignored because ground resistivity is zero.
𝜇 2.ℎ 2𝑥8
𝐿11 = 𝐿22 = 2𝜋0 . 𝑙𝑜𝑔 𝐺𝑀𝑅𝑖 = 2. 10−4 . 𝑙𝑜𝑔 0,5841𝑥10−2 = 1,583𝑥10−3 H/km
𝜇 𝐷 √162 +1
𝐿12 = 𝐿21 = 2𝜋0 . 𝑙𝑜𝑔 𝑑12 = 2. 10−4 . 𝑙𝑜𝑔 1
= 0,5549𝑥10−3 H/km
12
−1 [
7 2 7
=1.7975×10
2
logG16 +1 =4.9872×10 km / F= P11P21P12P22 = 8.352×10−9−3.023×10−
1
]
9−3.023×10−98.352×10−9 F/km
In the power_lineparam GUI, make sure that the specified frequency is 50 Hz.
Select T/D ratio for computing the line inductance. Do not select Include
conductor skin effect.
The displayed GMR value (0.58433 cm) is the GMR value that you must use
to include the change of conductor inductance due to frequency. This GMR
value is slightly higher than the theoretical DC value (0.5841 cm). This 0.04%
increase is due to skin effect at 50 Hz which produces a nonuniform current
distribution. In this case, the line parameters are evaluated in DC because we
are not including the skin effect.
Click Compute RLC line parameters. The Display RLC Values window
opens. Compare the RLC matrices with their theoretical values.
The PI model for a 1-km line is obtained from the R, L, and C matrices. The
PI RLC values are deduced from the self- and mutual- terms of the R, L, and
C matrices. Subscripts s and m designate the self- and mutual- terms in the
R, L, and C matrices.
You can also vary the ground resistivity and the frequency. Observe their
impact on the resistance and inductance of the conductor and of the ground
return.
Vary the ground resistivity from zero to 10000 Ω.m while keeping the
frequency constant at 50 Hz. You should get values listed in the following
table. The expressions Rs-Rm and Ls-Lm represent respectively the
resistance and the inductance of the conductor, whereas Rm and Lm are the
resistance and the inductance of the ground return.
Now select Include conductor skin effect and repeat the computation with
different frequencies ranging from 0.05 Hz to 50 kHz, while keeping a ground
resistivity of 100 Ω.m.
Impact of Frequency
This table shows that frequency has a very large impact on ground resistance
but a much lower influence on ground inductance. Because of skin effect in
the ground, when frequency increases, the ground current flows closer to the
surface, reducing the equivalent section of the ground conductor and thereby
increasing its resistance. As ground current travels at a lower depth at high
frequencies, the loop inductance of conductor plus ground return (or self-
inductance Ls) decreases.
Phase numbering has been set to obtain the line parameters of the three-
phase line equivalent to the two circuits connected in parallel. Click Compute
RLC line parameters to display the R, L, and C matrices and sequence
parameters.
You can also get the parameters of the two individual circuits and have
access to the six phase conductors. Change the phase numbers of
conductors p4, p5, and p6 (circuit 2) to 6, 5, 4, respectively. The positive-
sequence, zero-sequence, and mutual zero-sequence parameters of the
transposed line are:
References
[1] Dommel, H., et al., Electromagnetic Transients Program Reference
Manual (EMTP Theory Book), 1986.
See Also
Distributed Parameter Line | PI Section Line | Powergui | Three-Phase PI
Section Line
PI Section Line
Implement single-phase transmission line with lumped parameters
Library
Fundamental Blocks/Elements
Description
The PI Section Line block implements a single-phase transmission line with parameters
lumped in PI sections.
For a transmission line, the resistance, inductance, and capacitance are uniformly
distributed along the line. An approximate model of the distributed parameter line is
obtained by cascading several identical PI sections, as shown in the following figure.
Unlike the Distributed Parameter Line block, which has an infinite number of states, the
PI section linear model has a finite number of states that permit you to compute a linear
state-space model. The number of sections to be used depends on the frequency range to
be represented.
An approximation of the maximum frequency range represented by the PI line model is
given by the following equation:
𝑁. 𝑣
𝑓𝑚𝑎𝑥 =
8. 𝑙𝑡𝑜𝑡
where
N Number of PI sections
For example, for a 100 km aerial line having a propagation speed of 300,000 km/s, the
maximum frequency range represented with a single PI section is approximately 375
Hz. For studying interactions between a power system and a control system, this simple
model could be sufficient. However for switching surge studies involving high-
frequency transients in the kHz range, much shorter PI sections should be used. In fact,
you can obtain the most accurate results by using a distributed parameters line model.
Note The Powergui block provides a graphical tool for the calculation of the
resistance, inductance, and capacitance per unit length based on the line geometry and
the conductor characteristics.
Hyperbolic Correction of RLC Elements
Let us assume the following line parameters:
r Resistance per unit length (Ω/km)
f Frequency (Hz)
For short line sections (approximately lsec <50 km) the RLC elements for each line
section are simply given by:
R=r⋅lsecL=l⋅lsecC=c⋅lsec
However, for long line sections, the RLC elements given by the above equations must
be corrected in order to get an exact line model at a specified frequency. The RLC
elements are then computed using hyperbolic functions as explained below.
ω=2πf
Characteristic impedance is
Zc=Gz/y
Propagation constant is
γ=Gz⋅y
( )
Z=R+jωL=Zc⋅sinh γ⋅lsec
( )
R=real Z
( )
L=imag Z /ω
( )
Y= c⋅tanh γ⋅
2Z lsec2
( )
C=imag Y /ω
Hyperbolic corrections result in RLC values slightly different from the non corrected
values. R and L are decreased while C is increased. These corrections become more
important as line section length is increasing. For example, let us consider a 735 kV line
with the following positive-sequence and zero-sequence parameters (these are the
default parameters of the Three-Phase PI Section Line block and Distributed Parameter
Line block):
Positive sequence r = 0.01273 Ω/km
l = 0.9337×10 H/km
−3
c = 12.74×10 F/km
−9
l = 4.1264×10 H/km
−3
c = 7.751×10 F/km
−9
For these particular parameters and long line section (350 km), corrections for positive-
sequence RLC elements are relatively important (respectively −6.8%, −3.4%, and +
1.8%). For zero-sequence parameters, you can verify that even higher RLC corrections
must be applied (respectively −18%, −8.5%, and +4.9%).
The PI Section Line block always uses the hyperbolic correction, regardless of the line
section length.
Measurement Label
Example
The power_piline example shows the line energization voltages and currents of a
PI section line.
The results obtained with the line modeled by one PI section of 100 km and 10 PI
sections of 10 km are shown.
See Also
Distributed Parameter Line, Three-Phase PI Section Line
Three-Phase PI Section Line
Implement three-phase transmission line section with lumped parameters
Library
Fundamental Blocks/Elements
Description
The Three-Phase PI Section Line block implements a balanced three-phase transmission line model with
parameters lumped in a PI section.
Contrary to the Distributed Parameter Line model where the resistance, inductance, and capacitance are
uniformly distributed along the line, the Three-Phase PI Section Line block lumps the line parameters in a
single PI section as shown in the figure below.
The line parameters R, L, and C are specified as positive- and zero-sequence parameters that take into
account the inductive and capacitive couplings between the three phase conductors, as well as the ground
parameters. This method of specifying line parameters assumes that the three phases are balanced.
The self and mutual resistances (Rs, Rm), self and mutual inductances (Ls, Lm) of the three coupled
inductors, as well as phase capacitances Cp and ground capacitances Cg, are deduced from the positive-
and zero-sequence RLC parameters as follows.
r,r
1 0 Positive- and zero-sequence resistances per unit length (Ω/km)
l,l
1 0 Positive- and zero-sequence inductances per unit length (H/km)
The total positive- and zero-sequence RLC parameters including hyperbolic corrections are first evaluated:
R1=r1⋅lsec⋅kr1L1=l1⋅lsec⋅kl1C1=c1⋅lsec⋅kc1R0=r0⋅lsec⋅kr0L0=l0⋅lsec⋅kl0C0=c0⋅lsec⋅kc0
where
kr1, kl1, kc1, kr0, kl0, kc0 — positive-sequence and zero-sequence hyperbolic correction factors
Note See the PI Section Line block reference page for an explanation on how to
compute RLC parameters taking into account hyperbolic corrections.
The Powergui block provides a graphical tool for the calculation of resistance,
inductance, and capacitance per unit length based on the line geometry and the
conductor characteristics. See the power_lineparam reference page to learn how to use
this tool.
For a short line section (approximately lsec < 50 km), these correction factors are negligible (close to
unity). However, for long lines, these hyperbolic corrections must be taken into account in order to get an
exact line model at the specified frequency.
( ) ( ) ( ) ( ) ( )
Rs= 2R1+R0 /3Ls= 2L1+L0 /3Rm= R0−R1 /3Lm= L0−L1 /3Cp=C1Cg=3C1C0/ C1−C0
Example
The power_triphaseline example illustrates voltage transients at the receiving end of a 200 km
line when only phase A is energized. Voltages obtained with two line models are compared: 1) the
Distributed Parameters Line block and 2) a PI line model using two Three-Phase PI Section Line
blocks.
See Also
Distributed Parameter Line, PI Section Line
Distributed Parameter Line
Implement N-phase distributed parameter transmission line model with lumped losses
Library
Fundamental Blocks/Elements
Description
The Distributed Parameter Line block implements an N-phase distributed parameter line model with
lumped losses. The model is based on the Bergeron's traveling wave method used by the Electromagnetic
Transient Program (EMTP) [1]. In this model, the lossless distributed LC line is characterized by two
values (for a single-phase line): the surge impedance Z =Gl/c and the wave propagation
c
speed v=1/Glc. l and c are the per-unit length inductance and capacitance.
The figure shows the two-port model of a single-phase line.
For a lossless line (r = 0), the quantity e + Zci, where e is the line voltage at one end and i is the line current
entering the same end, must arrive unchanged at the other end after a transport delay τ.
τ=
dv
er(t)−Zc ir(t)=es(t−τ)+Zc is(t−τ)
es(t)−Zc is(t)=er(t−τ)+Zc ir(t−τ)
knowing that
is(t)= s − Ish(t)
e (t)Z
ir(t)= r − Irh(t)
e (t)Z
In a lossless line, the two current sources Ish and Irh are computed as:
Ish(t)= cer(t−τ)− Irh(t−τ)
2Z
Irh(t)= ces(t−τ)− Ish(t−τ)
2Z
When losses are taken into account, new equations for Ish and Irh are obtained by lumping R/4 at both ends
of the line and R/2 in the middle of the line:
R = total resistance = r × d
The current sources Ish and Irh are then computed as follows:
( )( ) ( )( )
Ish(t)= er(t−τ)− h Irh(t−τ) + es(t−τ)− h Ish(t−τ)
1+h2 1+hZ 1−h2 1+hZ
( )( ) ( )( )
Irh(t)= es(t−τ)− h Ish(t−τ) + er(t−τ)− h Irh(t−τ)
1+h2 1+hZ 1−h2 1+hZ
where
ZhZCτ=ZC+ = C =G =dGlc
r4 r4 C r4 lc
Z − Z +
r, l, c are the per unit length parameters, and d is the line length. For a lossless line, r = 0, h = 1,
and Z = Zc.
For multiphase line models, modal transformation is used to convert line quantities from phase values (line
currents and voltages) into modal values independent of each other. The previous calculations are made
in the modal domain before being converted back to phase values.
In comparison to the PI section line model, the distributed line represents wave propagation phenomena
and line end reflections with much better accuracy. See the comparison between the two models in the
Example section.
Specifies the frequency used to compute the per unit length resistance r, inductance l, and
capacitance c matrices of the line model.
Resistance per unit length
For a symmetrical line, you can either specify the N-by-N matrix or the sequence parameters. For a
two-phase or three-phase continuously transposed line, you can enter the positive and zero-sequence
resistances [r1 r0]. For a symmetrical six-phase line you can enter the sequence parameters plus the
zero-sequence mutual resistance [r1 r0 r0m].
For asymmetrical lines, you must specify the complete N-by-N resistance matrix.
Inductance per unit length
For a symmetrical line, you can either specify the N-by-N matrix or the sequence parameters. For a
two-phase or three-phase continuously transposed line, you can enter the positive and zero-sequence
capacitances [c1 c0]. For a symmetrical six-phase line you can enter the sequence parameters plus
the zero-sequence mutual capacitance [c1 c0 c0m].
For asymmetrical lines, you must specify the complete N-by-N capacitance matrix.
Note The powergui block provides a graphical tool for the calculation of the
resistance, inductance, and capacitance per unit length based on the line
geometry and the conductor characteristics.
Line length
The line length, in km.
Measurements
Select Phase-to-ground voltages to measure the sending end and receiving end voltages for
each phase of the line model.
Place a Multimeter block in your model to display the selected measurements during the simulation.
In the Available Measurements list box of the Multimeter block, the measurement is identified by a
label followed by the block name:
Measurement Label
Limitations
This model does not represent accurately the frequency dependence of RLC parameters of real
power lines. Indeed, because of the skin effects in the conductors and ground, the R and L matrices
exhibit strong frequency dependence, causing an attenuation of the high frequencies.
Example
The power_monophaseline example illustrates a 200 km line connected on a 1 kV, 60 Hz
infinite source. The line is de-energized and then reenergized after 2 cycles. The simulation is
performed simultaneously with the Distributed Parameter Line block and with the PI Section Line
block.
The receiving end voltage obtained with the Distributed Parameter Line block is compared with the
one obtained with the PI Section Line block (two sections).
Open the Powergui. Click the Impedance vs Frequency Measurement button. A new window
appears, listing the two Impedance Measurement blocks connected to your circuit. Set the
parameters of Impedance vs Frequency Measurement to compute impedance in the [0,2000] Hz
frequency range, select the two measurements in the list, then click the Update button.
The distributed parameter line shows a succession of poles and zeros equally spaced, every 486
Hz. The first pole occurs at 243 Hz, corresponding to frequency f = 1/(4 * T), where
References
[1] Dommel, H., "Digital Computer Solution of Electromagnetic Transients in Single and Multiple
Networks," IEEE Transactions on Power Apparatus and Systems, Vol. PAS-88, No. 4, April, 1969.
®
See Also
PI Section Line
Three-Phase Line (DPL and PI Section) -
Single-PhaseEnergization
Open This Example
This example shows transients obtained with a distributed parameter line model and a
PI section line model.
G. Sybille (Hydro-Quebec)
Description
Simulation
Description
A 100 km, three-phase line is energized on a 735 kV, 30,000 MVA equivalent network.
The line is first energized on phase A at t = 1/4 cycle (maximum of source voltage) and
then deenergized at t = 4 cycles. Phase B and phase C are left open. Switchings are
performed simultaneously on two different line models:
- Distributed parameters line
- Three-phase PI section line consisting of two 50 km sections
Voltages obtained on phases A and B at the line receiving end with the two models are
compared.
Simulation
Open the two scopes and start the simulation. Compare the voltages obtained on phase
A and phase B (induced voltage) with the two models. Zoom on voltages right after
energizing and notice the sharp edges obtained with the distributed parameter line
(yellow trace). These voltage steps which are due to travelling wave reflections at both
ends of the line are filtered by the PI model. Notice also that phases A and B stay
charged at peak voltage when the breakers are opened.