Accelerating the pace of engineering and science

# Documentation Center

• Trials
• Product Updates

# Simplified Synchronous Machine

Model the dynamics of simplified three-phase synchronous machine

Machines

## Description

The Simplified Synchronous Machine block models both the electrical and mechanical characteristics of a simple synchronous machine.

The electrical system for each phase consists of a voltage source in series with an RL impedance, which implements the internal impedance of the machine. The value of R can be zero but the value of L must be positive.

The Simplified Synchronous Machine block implements the mechanical system described by

where

Δω = Speed variation with respect to speed of operation
H = constant of inertia
Tm = mechanical torque
Te = electromagnetic torque
Kd = damping factor representing the effect of damper windings
ω(t) = mechanical speed of the rotor
ω0 = speed of operation (1 p.u.)

Although the parameters can be entered in either SI units or per unit in the dialog box, the internal calculations are done in per unit. The following block diagram illustrates how the mechanical part of the model is implemented. The model computes a deviation with respect to the speed of operation; not the absolute speed itself.

The Kd damping coefficient simulates the effect of damper windings normally used in synchronous machines. When the machine is connected to an infinite network (zero impedance), the variation of machine power angle delta (δ) resulting from a change of mechanical power (Pm) can be approximated by the following second-order transfer function:

where

 δ Power angle delta: angle of internal voltage E with respect to terminal voltage, in radians Pm Mechanical power in pu ωn Frequency of electromechanical oscillations = in rad/s ζ Damping ratio = ωs Electrical frequency in rad/s Pmax Maximum power in pu transmitted through reactance X at terminal voltage Vt and internal voltage E. Pmax = VtE/X, where Vt, E, and X are in pu H Inertia constant(s) Kd Damping factor (pu_of_torque / pu_of_speed)

This approximate transfer function, which has been derived by assuming sin(δ) = δ, is valid for small power angles (δ < 30 degrees). It follows from the preceding ζ expression that the Kd value required to obtain a given ζ damping ratio:

## Dialog Box and Parameters

In the powerlib library you can choose between the SI units or the pu units Simplified Synchronous Machine blocks to specify the electrical and mechanical parameters of the model. These two blocks simulate exactly the same simplified synchronous machine model; the only difference is how you enter the parameter units.

### Parameters Tab

Connection type

Specify the number of wires used in the three-phase Y connection: either three-wire (neutral not accessible) or four-wire (neutral is accessible).

Mechanical input

Select the mechanical power applied to the shaft or the rotor speed as a Simulink® input of the block, or to represent the machine shaft by a Simscape™ rotational mechanical port.

Select Mechanical power Pm to specify a mechanical power input, in W or in pu, and change labeling of the block input to Pm. The machine speed is determined by the machine Inertia J (or inertia constant H for the pu machine) and by the difference between the mechanical torque Tm, resulting from the applied mechanical power Pm, and the internal electromagnetic torque Te. The sign convention for the mechanical power is when the speed is positive, a positive mechanical power signal indicates generator mode and a negative signal indicates motor mode.

Select Speed w to specify a speed input, in rad/s or in pu, and change labeling of the block input to w. The machine speed is imposed and the mechanical part of the model (inertia constant H) is ignored. Using the speed as the mechanical input allows modeling a mechanical coupling between two machines.

The next figure indicates how to model a stiff shaft interconnection in a motor-generator set when friction torque is ignored in machine 2. The speed output of machine 1 (motor) is connected to the speed input of machine 2 (generator), while machine 2 electromagnetic torque output Te is applied to the mechanical torque input Tm of machine 1. The Kw factor takes into account speed units of both machines (pu or rad/s) and gear box ratio w2/w1. The KT factor takes into account torque units of both machines (pu or N.m) and machine ratings. Also, because the inertia J2 is ignored in machine 2, J2 referred to machine 1 speed must be added to machine 1 inertia J1.

Select Mechanical rotational port to add to the block a Simscape mechanical rotational port that allows connection of the machine shaft with other Simscape blocks having mechanical rotational ports. The Simulink input representing the mechanical power Pm or the speed w of the machine is then removed from the block.

The next figure indicates how to connect an Ideal Torque Source block from the Simscape library to the machine shaft to represent the machine in motor mode, or in generator mode, when the rotor speed is positive.

Nominal power, line-to-line voltage, and frequency

The nominal apparent power Pn (VA), frequency fn (Hz), and RMS line-to-line voltage Vn (V). Computes nominal torque and converts SI units to pu.

Inertia, damping factor and pairs of poles

The inertia (J in kg.m2 or H in seconds) damping factor (Kd) and number of pairs of poles (p). The damping factor must be specified in (pu of torque)/(pu of speed) in both machine dialog boxes (in pu and in SI).

Internal impedance

The resistance R (Ω or pu) and reactance L (H or pu) for each phase.

Initial conditions

The initial speed deviation (% of nominal), rotor angle (degrees), line current magnitudes (A or pu), and phase angles (degrees). These values are automatically computed by the load flow utility of the Powergui block.

Sample time (−1 for inherited)

Specifies the sample time used by the block. To inherit the sample time specified in the Powergui block, set this parameter to −1.

### Load Flow Tab

The load flow parameters define block parameters for use with the Load Flow tool of the Powergui block. These load flow parameters are for model initialization only. They have no impact on the block model or on the simulation performance.

The configuration of the Load Flow tab depends on the option selected for the Generator type parameter.

Generator type

Specify the generator type of the machine.

Select swing to implement a generator controlling magnitude and phase angle of its terminal voltage. The reference voltage magnitude and angle are specified by the Swing bus or PV bus voltage and Swing bus voltage angle parameters of the Load Flow Bus block connected to the machine terminals.

Select PV to implement a generator controlling its output active power P and voltage magnitude V. P is specified by the Active power generation P parameter of the block. V is specified by the Swing bus or PV bus voltage parameter of the Load Flow Bus block connected to the machine terminals. You can control the minimum and maximum reactive power generated by the block by using the Minimum reactive power Qmin and Maximum reactive power Qmax parameters.

Select PQ to implement a generator controlling its output active power P and reactive power Q. P and Q are specified by the Active power generation P and Reactive power generation Q parameters of the block, respectively.

Active power generation P

Specify the active power that you want generated by the machine, in watts. When the machine operates in motor mode, you specify a negative value. This parameter is available if you specify Generator type as PV or PQ.

Reactive power generation Q

Specify the reactive power that you want generated by the machine, in vars. A negative value indicates that the reactive power is absorbed by the machine. This parameter is available only if you specify Generator type as PQ.

Minimum reactive power Qmin

This parameter is available only if you specify Generator type as PV. Indicates the minimum reactive power that can be generated by the machine while keeping the terminal voltage at its reference value. This reference voltage is specified by the Swing bus or PV bus voltage parameter of the Load Flow Bus block connected to the machine terminals. The default value is -inf, which means that there is no lower limit on the reactive power output.

Maximum reactive power Qmax

This parameter is available only if you specify Generator type as PV. Indicates the maximum reactive power that can be generated by the machine while keeping the terminal voltage at its reference value. This reference voltage is specified by the Swing bus or PV bus voltage parameter of the Load Flow Bus block connected to the machine terminals. The default value is +inf, which means that there is no upper limit on the reactive power output.

## Inputs and Outputs

Pm

The mechanical power supplied to the machine, in watts. The input can be a constant signal or it can be connected to the output of the Hydraulic Turbine and Governor block. The frequency of the internal voltage sources depends on the mechanical speed of the machine.

w

The alternative block input instead of Pm (depending on the value of the Mechanical input parameter) is the machine speed, in rad/s.

E

The amplitude of the internal voltages of the block. It can be a constant signal or it can be connected to the output of a voltage regulator. If you use the SI units machine, this input must be in volts phase-to-phase RMS. If you use the pu units machine, it must be in pu.

m

The Simulink output of the block is a vector containing 12 signals. You can demultiplex these signals by using the Bus Selector block provided in the Simulink library.

Signal

Definition

Units

Symbol

1

Stator current is_a

A or pu

isa

2

Stator current is_b

A or pu

isb

3

Stator current is_c

A or pu

isc

4

Terminal voltage Va

V or pu

va

5

Terminal voltage Vb

V or pu

vb

6

Terminal voltage Vc

V or pu

vc

7

Internal voltage Ea

V or pu

Ea

8

Internal voltage Eb

V or pu

Eb

9

Internal voltage Ec

V or pu

Ec

10

Rotor angle theta

rad

Θ

11

Rotor speed wm

rad/s

ω

12

Electrical power Pe

W

Pe

## Assumptions

The electrical system of the Simplified Synchronous Machine block consists solely of a voltage source behind a synchronous reactance and resistance. All the other self- and magnetizing inductances of the armature, field, and damping windings are neglected. The effect of damper windings is approximated by the damping factor Kd. The three voltage sources and RL impedance branches are Y-connected (three wires or four wires). The load might or might not be balanced.

## Limitations

When you use Simplified Synchronous Machine blocks in discrete systems, you might have to use a small parasitic resistive load, connected at the machine terminals, to avoid numerical oscillations. Large sample times require larger loads. The minimum resistive load is proportional to the sample time. Remember that with a 25 μs time step on a 60 Hz system, the minimum load is approximately 2.5% of the machine nominal power. For example, a 200 MVA simplified synchronous machine in a power system discretized with a 50 μs sample time requires approximately 5% of resistive load or 10 MW. If the sample time is reduced to 20 μs, a resistive load of 4 MW should be sufficient.

## Example

The power_simplealtpower_simplealt example uses the Simplified Synchronous Machine block to represent a 1000 MVA, 315 kV, 60 Hz equivalent source connected to an infinite bus (Three-Phase Programmable Voltage Source block). The Simplified Synchronous Machine (SI Units) block is used as a synchronous generator. The internal resistance and reactance are set respectively to 0.02 pu (1.9845 Ω) and 0.2 pu (X = 19.845 Ω; L = 0.0526 H). The inertia of the machine is J = 168,870 kg.m2, corresponding to an inertia constant H = 3 s. The electrical frequency is ωs = 2*π*60 = 377 rad/s. The machine has two pairs of poles such that its synchronous speed is 2*π*60/2 = 188.5 rad/s or 1800 rpm.

The Load Flow option of the Powergui has been used to initialize the machine to start simulation in steady state with the machine generating 500 MW. The required internal voltage computed by the load flow is 1.0149 pu. Therefore, an internal voltage E = 315e3*1.0149 = 319,690 Vrms phase-to-phase is specified in the Constant block connected to the E input. The maximum power that can be delivered by the machine with a terminal voltage Vt = 1.0 pu and an internal voltage E = 1.0149 pu is Pmax = Vt*E/X = 1.0149/0.2 = 5.0745 pu.

The damping factor Kd is adjusted to obtain a damping ratio ζ = 0.3. The required Kd value is:

Two Fourier blocks measure the power angle δ. This angle is computed as the difference between the phase angle of phase A internal voltage and the phase angle of phase A terminal voltage.

In this example, a step is performed on the mechanical power applied to the shaft. The machine is initially running in steady state with a mechanical power of 505 MW (mechanical power required for an output electrical power of 500 MW, considering the resistive losses). At t = 0.5 s the mechanical power is suddenly increased to 1000 MW.

Run the example and observe the electromechanical transient on the Scope block displaying the power angle δ in degrees, the machine speed in rpm, and the electrical power in MW. Simulation results are shown in the following figure.

For an initial electrical power Pe = 500 MW (0.5 pu), the load angle δ is 5.65 degrees, which corresponds to the expected value:

As the mechanical power is stepped from 0.5 pu to 1.0 pu, the load angle increases and goes through a series of under damped oscillations (damping ratio ζ = 0.3) before stabilizing to its new value of 11.3 degrees. The frequency of the oscillations is given by:

## See Also

Was this topic helpful?