You are on page 1of 8

SYSTEM OPERATIONS & PLANNING

A METHOD FOR TUNING MODELS IN DIgSILENT POWERFACTORY, WITH REFERENCE TO A TGOV5 GOVERNOR TUNING EXAMPLE
Rev. 0 REFERENCE NO. : SOPRP0220

LJvR/Signature 18.05.10 / Publish 19.05.10

TITLE
A METHOD FOR TUNING MODELS IN DIgSILENT POWERFACTORY, WITH REFERENCE TO A TGOV5 GOVERNOR TUNING EXAMPLE

REFERENCE SOPRP0220 PAGE 2

OF

REV 0 8

TABLE OF CONTENTS

Contents
1. 2. 3. 4.

Page no.

Introduction ........................................................................................................................... 3 Methodology ......................................................................................................................... 3 Results and Interpretation..................................................................................................... 7 Conclusion ............................................................................................................................ 8

List of Tables and Figures


Figure 1: Plant model frame used for Governor tuning...........................................................................3 Figure 2: Measurement block properties...................................................................................................4 Figure 3: Test grid used for TGOV5 tuning...............................................................................................5 Figure 4: Slot configuration for the TGOV5 tuning plant model .............................................................6

PUBLIC When downloaded from the System Operations & Planning database, this document is uncontrolled and the responsibility rests with the user to ensure it is in line with the authorized version on the database.

TITLE
A METHOD FOR TUNING MODELS IN DIgSILENT POWERFACTORY, WITH REFERENCE TO A TGOV5 GOVERNOR TUNING EXAMPLE

REFERENCE SOPRP0220 PAGE 3

OF

REV 0 8

1.

Introduction
Models are important for dynamic studies as they are mathematical representations of real systems in the power grid. This report explains a method for tuning dynamic models within DIgSILENT. A TGOV5 governor model is tuned using frequency event data as an example of this method. The event data is extracted from a PMU recording of frequency from the Under Frequency Load Shedding (UFLS) event that occurred on 27 December 2009 at 17:06 in the Eskom network.

2.

Methodology
The best way to tune any model is to excite it with a measured input and compare the simulated output with the actual output. In the case of governors, the input signals are frequency (or speed), and electrical power; the output signal is turbine power.
qg pg pgt ir;ii curgn curex u

0 1 2 3 4 5 6 7 vuel voel 0 spare1

vco slot

spare2

0 1

8ElmVco* 9 10

ve

2 0 3

ur;ui

11 12 13 14 2 4 5 6 xmdm

upss

ut

0 1 2

15

sym Slot 7 1 E Sym lm *,IntRe..


8 9

psie

0 3 dfedt 4 5 6 7 8 9 spare1 spare2 10 11 0 y1 1 0

10

pss slot ElmPss*

w1

fe

2 3 1 2 pturb

pt

11 12 13 14

psco pturb

4 pcu

Slot 5ElmPcu*
6 7

Measurements ElmFile
1 spare1 spare2

spare1

8 9

spare2

fe Wf cosn phiui xmt xme

Figure 1: Plant model frame used for Governor tuning PUBLIC When downloaded from the System Operations & Planning database, this document is uncontrolled and the responsibility rests with the user to ensure it is in line with the authorized version on the database.

TITLE
A METHOD FOR TUNING MODELS IN DIgSILENT POWERFACTORY, WITH REFERENCE TO A TGOV5 GOVERNOR TUNING EXAMPLE

REFERENCE SOPRP0220 PAGE 4

OF

REV 0 8

By editing the plant model frame in DIgSILENT, the governor model can be excited by an external signal. Figure 1 shows the plant model frame used for governor tuning. It was adapted from the IEEE Frame and is different only because of the Measurements input block which is used to provide the event frequency. The measured frequency is input into the governor block (PCU) instead of speed (w) which is normally fed back from the generator block (SYM). This is acceptable provided that the frequency is in per unit. The measurement block uses the ElmFile type which allows data to be imported from an external file (.txt file type). Figure 2 shows the measurement block properties which illustrate its connection to the ElmFile type.

Figure 2: Measurement block properties

A simple network must be modeled for these tests because the governor uses electrical power as an input. The electrical power is fed back from the generator model block and is dependant on the network. The network model that was used is shown in Figure 3. An infinite bus is used to represent the rest of the Eskom network, this is necessary to compensate for any deficit in power between the generated power and load demand.

PUBLIC When downloaded from the System Operations & Planning database, this document is uncontrolled and the responsibility rests with the user to ensure it is in line with the authorized version on the database.

TITLE
A METHOD FOR TUNING MODELS IN DIgSILENT POWERFACTORY, WITH REFERENCE TO A TGOV5 GOVERNOR TUNING EXAMPLE
External Grid

REFERENCE SOPRP0220 PAGE 5

OF

REV 0 8

22.00 MW 17.74 .. 0.78

Station1/HV

400.00 1.00 0.00

2-Winding..

-498.00 17.74 71.19

520.00 0.00

498.00 17.74 71.19

General Load

Station2/LV

22.00 1.00 4.08

498.00 17.74 61.52

G ~
Kendal Gen

Figure 3: Test grid used for TGOV5 tuning

The plant model frame slots are populated with the relevant controller blocks. The slot configuration is shown in Figure 4.

PUBLIC When downloaded from the System Operations & Planning database, this document is uncontrolled and the responsibility rests with the user to ensure it is in line with the authorized version on the database.

TITLE
A METHOD FOR TUNING MODELS IN DIgSILENT POWERFACTORY, WITH REFERENCE TO A TGOV5 GOVERNOR TUNING EXAMPLE

REFERENCE SOPRP0220 PAGE 6

OF

REV 0 8

Figure 4: Slot configuration for the TGOV5 tuning plant model

It is important to note that the Measurements block points to a file object which is created in the Data Manager. To create a file object the following steps must be followed: Open the Data Manager and select either the active system stage or grid. Select the New Object button: Configure the Element Selection window as shown below:

Browse for the file containing the measurement data and change the file name. The file must be saved as a .txt and should be in the format shown below:

The first column always contains the time data. This does not have to be of equal intervals because DIgSILENT uses interpolation to correct for missing
PUBLIC When downloaded from the System Operations & Planning database, this document is uncontrolled and the responsibility rests with the user to ensure it is in line with the authorized version on the database.

TITLE
A METHOD FOR TUNING MODELS IN DIgSILENT POWERFACTORY, WITH REFERENCE TO A TGOV5 GOVERNOR TUNING EXAMPLE

REFERENCE SOPRP0220 PAGE 7

OF

REV 0 8

data. The remaining columns contain all the other data and the first row shows the number of columns excluding the time column. The data object will now appear under the system stage or grid folder and this can be selected as a slot. In order to plot the files data, a variable set must be created by right-clicking on it in the Data Manager.

Once this is completed, simulations can be run. The resultant power can then be compared to the measured power by plotting each on the same graph. To view the measured power signal, an ElmFile object must be created in the same way as mentioned above.

3.

Results and Interpretation


Figure 5 shows the results of the governing tuning example in the form of several plots. The top plot shows the input frequency which was recorded from the power system using PMUs. This is the signal that is input in to the governor model. The bottom plot shows four different signals on the same axes. All of these signals represent the electrical power output from the Kendal machines, however, the smoother plots show simulated data whereas the noisy plots show measured data. The red and blue plots represent the measured power out of two separate Kendal machines and the brown and purple lines represent the simulated response using two different sets of parameters. From observing these graphs whilst changing the model parameters, one can determine the optimal values required for a certain response. For example, the difference between the purple and brown lines is evident, this provides a better understanding of the effects that the changed parameter has on the overall response.

PUBLIC When downloaded from the System Operations & Planning database, this document is uncontrolled and the responsibility rests with the user to ensure it is in line with the authorized version on the database.

TITLE
A METHOD FOR TUNING MODELS IN DIgSILENT POWERFACTORY, WITH REFERENCE TO A TGOV5 GOVERNOR TUNING EXAMPLE
1.010

REFERENCE SOPRP0220 PAGE 8

OF

REV 0 8
DIgSILENT

1.005

1.000

0.995

0.990

0.985

0.980 -0.1000 Freq: Measurement value 2

79.920

159.94

239.96

319.98

[s]

400.00

575.00

550.00

525.00

500.00

475.00

450.00 -0.1000

79.920 Kendal Gen: Positive-Sequence, Active Power in MW KendalMW: Measurement value 2 KendalMW: Measurement value 1 Kendal Gen: 2010-02-25 Parameters Kendal Gen: 2010-03-12 Parameters

159.94

239.96

319.98

[s]

400.00

Figure 5: Measured response versus simulated response for the TGOV5 model at Kendal

4.

Conclusion
A method for tuning dynamic models in DIgSILENT was presented. This method reduces errors because tuning is done on the same model that is used during the dynamic studies. The method is explained in detail with use of a TGOV5 governor tuning example. The benefits of this approach are evident from the results of the tuning example which are presented.

PUBLIC When downloaded from the System Operations & Planning database, this document is uncontrolled and the responsibility rests with the user to ensure it is in line with the authorized version on the database.

You might also like