SM Machine
SM Machine
SM1
SM
N
1 Description
This device is used to represent the usual design of a synchronous machine with 3-phase ac
armature windings on the stator. Up to 3 windings may be modeled on rotor d-axis (a field
winding and two dampers). Three more windings can be modeled on the rotor q-axis.
The model represents both generator and motor behavior.
SM1
SM
N
1-phase pin for stator
external neutral
Symbol Description
v d , v q , v0 Stator voltages in dq0 domain
v f , vD1 vD2 vQ1 vQ2 vQ3 0 Field voltage v f . All other rotor voltages equal zero.
id , iq , i0 Stator currents in dq0 domain
iD1 , iQ1 , iD2 , iQ2 , iQ3 , if Rotor currents on d and q axis
p Number of poles
el Electrical speed (rad/s)
2
Mechanical speed el
p
b Base electrical speed (rad/s)
bm 2
Base mechanical speed bm b
p
The magnetic circuits of the rotor windings are assumed to be symmetric with respect to the
direct axis, which is the axis of the field created by the rotor. The quadrature axis is located 90
degrees behind the direct axis.
The self and mutual inductances of the armature windings are a constant plus a second harmonic
sinusoidal function of the rotor position. The mutual inductances between any winding of the field
structure and any armature winding is a sinusoidal function of the rotor position.
A current in any winding produces a magnetic field in the air gap with sinusoidal distribution. It
can be decomposed along the direct and quadrature axes. With this assumption, the effect of
harmonics in field distribution is negligible for a correctly dimensioned machine.
Eddy currents are negligible, except in the case of a solid rotor (cylindrical rotor) machine where
they can be represented by a q-axis winding.
D-axis
D2
D1
f
Q1
Stator
c axis Q2
Stator
Q3 a axis
Q-axis
Stator
b axis
D-axis
D2
D1
Q1
Q2
Stator Q3 Stator
c axis a axis
q
Q-axis
The choice of independent saturation is suitable in the case of a salient pole machine since the
magnetic structure differs between the direct and the quadrature axes. For each of the total air
gap fluxes md and mq , EMTP uses a simplified saturation curve, represented by several
straight line segments (see Figure 4). This model disregards the cross flux.
md
Mds2
kd2
Mds1
kd1
Mdu
iTof axisd
The unsaturated equation is taken from equation (3) after subtracting the leakage flux:
mdu Mdu iTd Ld Lld id Mdf if MdD1D1
i MdD2iD2 (7)
where u means unsaturated.
For the saturated case the equation of a line segment in Figure 4 can be combined with the
current iTd relation taken from the above equation:
Mds i
mds Mds i iTd kd i Ld Lld id Mdf if MdD1iD1 MdD2iD2 kd i (8)
Mdu
It is not necessary to know the number of turns in each winding. Only their ratios need to be
known. EMTP calculates them using the assumption of the existence of a single common air gap
flux. For the first ratio, for example, it finds:
nf Mdf
(9)
nd Ld Lld
Equation (6) can be replaced into equation (5) to account for saturation. The same approach is
used for q-axis.
The total saturation model is suitable for solid-rotor machines (round rotor). In this case,
saturation is taken into account only with regard to the total air gap flux which is the result of the
vector sum of the common total fluxes for the axes d and q. A single saturation curve is sufficient
To simplify the problem, EMTP decomposes this case into 2 independent saturations for the
direct and the quadrature axes. This allows the expressions established in the first case to be
used again. Since the machine has smooth poles (solid rotor), it is assumed that the magnetic
structure is independent of the position of the rotor. In other words, for the 2 axes d and q, the
saturation curves are the same as that given by the total air gap flux. Thus, the slopes Mdu and
Mqu are the same and equal to a common slope Mu .
For the d-axis, the mutual flux can be written again as:
md kd i Mds i iTd (10)
EMTP performs steady-state initialization of the machine by replacing the machine with 3 ideal
positive sequence voltage sources. The current flowing into the voltage sources is taken from the
network solution and the Fortescue transformation is applied to extract the sequence currents
flowing into the machine. The sequence currents are used to calculate the d and q axis currents
and to obtain all the steady-state phasors of the machine. Initialization for both positive and
negative sequence currents is performed. This is an approximation for the unbalanced case since
the machine impedance is not represented.
The electromagnetic torque is also initialized from the steady-state solution.
In this version of EMTP, the machine impedance matrix is not represented for the steady-state
initialization. It will be included when the 3-phase load-flow option becomes available.
Unlimited number of masses can be specified to define the rotor shaft. Each major element is
considered to be a rigid mass connected to adjacent elements by mass less springs. An external
torque can be applied on each individual mass. Figure 5 shows a typical 6-mass model
representing a turbine/alternator assembly.
HSP12 DSM12 HSP23 DSM23 HSP34 DSM34 HSP45 DSM45 HSP56 DSM56
J1 J2 J3 J4 J5 J6
DSR1 DSD1 DSR2 DSD2 DSR3 DSD3 DSR 4 DSD4 DSR5 DSD5 DSR6 DSD6
Tdamping i DSDi rm i DSMi 1 i rm i rm i 1 DSMi i 1 rm i rm i 1 (23)
From equation (23) it can be seen that D has the same structure as HSP except that the
diagonal element is now DSDi DSMi 1 i DSMi i 1 , as shown in this 3 masses example:
DSD1 DSM12 DSM12 0
D DSM12 DSD2 DSM12 DSM23 DSM23 (24)
0 DSM23 DSD3 DSM23
Another damping coefficient, named speed deviation self damping for a given mass (DSR), is
also available. By definition:
Ti DSRi m i bm (25)
where bm is the base mechanical (synchronous) speed.
It is very difficult to obtain realistic values for these damping coefficients. Fortunately, they have
very little influence on the peak torque value during transient disturbances.
The torques are known through the following relations:
Pturbine i
Tturbine i
rm i
(26)
p
Tgenerator diq qid
2
(27)
The torque on the exciter is
v f if
Texciter
exciter
(28)
where exciter is the mechanical speed of the exciter.
It is recalled that according to IEEE and IEC the known quantities are:
o Ra : armature resistance
o Xl : armature leakage reactance
The Canay reactance Xc ( Lc ) is used to model the machine more accurately along the direct
axis. It takes into account a linkage air gap flux for the windings f and D1 in addition to the real
air gap flux common to the three windings d, f and D1. Figure 6 shows the equivalent with the
extra damper winding D2 circuit.
rD1m rD2m
+
pd v fm
Md
LD1m LD2m
- -
It is noticed that when the machine is operating in open-circuit mode, equations (15) to (19) can
be used to write:
vq
Mdf (33)
elif
which is also equivalent to:
Vb
Mdf (34)
eliagline
The field voltage E f is calculated as follows:
vf
Ef elMdf if elMdf (35)
rf
The quantities E f and v f are identical when pu values are used assuming nominal frequency
conditions.
2.8 Rules
A number of tests in the internal EMTP code are designed to signal data errors and solution
problems. It is however impossible to intercept all errors and some conditions may conduct to
catastrophic error messages. The data forms can not intercept errors when undetermined (named
parameters) values are entered in data fields.
Since the symbol of this device is automatically redrawn through scripts, it is not allowed to
modify it through the symbol editor. It is not allowed to delete any pins or to modify pin attributes.
For the synchronous machine to initialize and operate properly it is mandatory to have steady-
state conditions established by other energy source types.
_SM;SM1a;4;2;s114a,s116,
?m,10,
_SM;SM1b;4;2;s114b,s116,
_SM;SM1c;4;2;s114c,s116,
V=22 22 22,1kVRMSLL,
P=0 -120 120,1,
f=60 2 1,
R=22 600 1200,
S=0 1 1 1 1 0 2 0,
1322 1.0
2200 1.2
;
Ra=.0045 .14 0.12
ds=0 2 1.65
Xdp=0.25 0.20 0.2273
Td0p=4.5 0.04 0.00215
Noex=1 0 0.0019 0.000075
Xc=0
qs=0 2 1.59
Xqp=0.46 0.20 0.244
Tq0p=0.55 0.09 0.0085
MS=0 4 2 1,
0 58.27 46.51 0 5.953E06 0
0 7423.5 5926.96 0 132.85E06 0
0.5 13091.06 10451.96 0 67.96E06 0
0.5 2102.8 1678.89 0 0 0
0 2 2 0 0
0 2 2 0 0
0 2 2 0 0
0 2 0 0 0
MSu=0 1 0,
PR=100 1e-06 300 0 1e-06,
CTRL=0 0 0 0,
OBSu=0 0,
OBS=0 0 0 1 1 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 …,
Field Description
_SM Part name
SM1a Instance name for the phase a stator coil, any name.
4 Total number of pins
2 Number of pins given in this data section
S114a Signal name connected to k-pin of the stator phase a coil, any
name
S116 Signal name connected to m-pin (Neutral) of the stator phase a coil,
any name
?m Request for scopes, sent to scope group Machine, optional
10 Number of scope outputs
4 Load-Flow model
This machine does not participate (open-circuit) into the Load-Flow solution directly, but it can
provide its Thevenin circuit equivalent to the requesting Load-Flow (LF) solution device. It can
also reference a Load-Flow solution device (see “Load-Flow solution device” on the first data tab)
for automatically retrieving its steady-state voltage phasors from the Load-Flow solution file when
acting in the Steady-State solution.
The “Load-Flow solution device” can be an LF device or “BUS:”. It establishes a link (a reference)
for retrieving data from a load-flow solution. In this example (below) the machine SM1 is
disconnected in the load-flow solution and is referring to LF3 for its load-flow solution data
automatically retrieved by EMTP from the “Load-Flow solution data file” during the subsequent
Steady-state solution when “Start from Load-Flow solution” is turned on in the
EMTP>Simulation Options. Note also that LF3 is referring back to SM1 for obtaining the Thevenin
impedance of LF3 in the Load-Flow solution.
LF3
P=-31MW ?m
Q=16.7MVAR
LF
SM:SM1 12kV
SM
40MVA
PQbus:LF3
Pm
SM1
f(u) 1 Omega_1
If the selection is "BUS:" the connected stator signal name (bus) will be used to retrieve data. You
must enforce the signal name by making it visible. This method is optional; it is suggested to use
the LF device naming approach shown above.
A load function (“Load now” button) is also available on the first data tab to manually load the
steady-state voltage phasors and optionally eliminate the reference to the Load-Flow solution
device in the Steady-state initialization process.
5 Steady-state model
A steady-state solution is always computed by EMTP at the fundamental frequency of each
synchronous machine. At fundamental frequency the machine is replaced by 3 voltage sources.
The voltage of this source is specified by the user. All the machine parameters are initialized at
this step.
At non fundamental frequency steady-state solution the machine is represented by a harmonic
impedance matrix using techniques similar to [10]. The steady-state solution obtained with this
impedance is superimposed with the steady-state solution at fundamental frequency. A non
fundamental frequency steady-state solution can occur in some cases when EMTP must perform
a harmonic steady-state solution.
8 Time-domain representation
The time-domain representation of the synchronous machine has already been explained in the
above sections. In the time-domain solution this device is a nonlinear function. If the option “Apply
maximum precision” is chosen, it is solved through the iterative procedure of EMTP with all
nonlinear devices until convergence according to the relative tolerance option for each machine.
EMTP uses an internal speed loop for each synchronous machine.
Two parameters controlling the speed loop and the voltage loop can be modified by the user. The
Figure 7 shows the iterative process for solving the synchronous machine model.