Добавил:
Upload Опубликованный материал нарушает ваши авторские права? Сообщите нам.
Вуз: Предмет: Файл:

Учебники / 0841558_16EA1_federico_milano_power_system_modelling_and_scripting

.pdf
Скачиваний:
86
Добавлен:
08.06.2015
Размер:
6.72 Mб
Скачать

20.2 Wind Turbines

453

20.2.7Direct-Drive Synchronous Generator

The model of the direct-drive synchronous generator is assumed steady-state, as the stator and rotor flux dynamics are fast with respect to grid dynamics. Furthermore, the converter decouples the generator from the grid. As a result of these assumptions, one has the DAE system described below. Table 20.8 summarizes and defines all parameters required by wind turbine with directdrive synchronous generator.

Table 20.8 Direct-drive synchronous generator parameters

Variable

Description

Unit

 

 

 

Kdc

Gain of the bus voltage control

pu/pu

Kds

Gain of the generator reactive power control

pu/pu

Kqc

Gain of the active power control

pu/pu

imax

Maximum current

pu

rs

Stator resistance

pu

Tdc

Time constant of the bus voltage control

s

Tds

Time constant of the generator reactive power control

s

Tqc

Time constant of the active power control

s

Tqs

Time constant of the speed control

s

xd

d-axis reactance

pu

xq

q-axis reactance

pu

ψp

Permanent field flux

pu

Network Interface

The active and reactive powers injected into the grid depend on the grid side current ic,d + jic,q and voltage vc,d + jvc,q of the converter:

ph = pc

= vc,dic,d + vc,q ic,q

(20.46)

qh = qc

= vc,qic,d − vc,dic,q

 

where the converter voltages are functions of the grid voltage magnitude and phase, as follows:

vc,d = −vh sin θh

(20.47)

vc,q = vh cos θh

 

Machine Electro-Magnetic Equations

Assuming a permanent magnet synchronous generator, machine equations are

454

20

Wind Power Devices

 

vs,d = −rsis,d + ωmxq is,q

(20.48)

 

vs,q = −rsis,q − ωm(xdis,d − ψp)

 

where the permanent field flux ψp represents the rotor circuit. The active and reactive power produced by the generator are as follows:

ps = vs,dis,d + vs,q is,q

(20.49)

qs = vs,q is,d − vs,dis,q

 

The link between stator fluxes and generator currents:

 

ψs,d = −xdis,d + ψp

(20.50)

ψs,q = −xq is,q

 

Turbine and Machine Mechanical Equations

The generator motion equation is modeled as a single shaft, i.e., (20.27), as it is assumed that the converter controls are able to filter shaft dynamics. For the same reason, no tower shadow e ect is considered in this model. In (20.27), the electrical torque is:

τe = ψs,dis,q − ψs,q is,d

(20.51)

Substituting (20.50) in (20.51) leads to:

τe = (ψs,d + (xq − xd)is,d)is,q

(20.52)

Mechanical equations are completed by the mechanical torque τt equation (20.25) and the turbine model (20.16) and (20.17)-(20.18) or (20.19)-(20.20) and the pitch angle control (20.21).

VSC Regulators

The back-to-back VSC that connect the generator to the grid allow controlling four quantities. Controllable quantities are the converter currents is,d, is,q , ic,d and ic,q. Typical controlled quantities are the active power injected into the grid, the grid side voltage, the dc voltage of the capacitor in the dc back-to-back connection, and the reactive power on the generator side. Several combinations have been proposed [3, 4, 119, 351]. A possible control scheme is as follows.

The currents on the generator side control the rotor speed and the generator reactive power:

20.2 Wind Turbines

455

i˙s,q =

1

 

pw (ωm)

− is,q

(20.53)

Tqs

ωm(ψp − xdis,d)

˙

− qs) − is,d)/Tds

is,d = (Kds(qs0

where pw(ωm) is the power-speed characteristic (20.22) or (20.23) and qs0 is the reactive power determined at the initialization step.

The currents on the grid side control the active power and bus voltage:

˙

 

 

(20.54)

ic,q = (Kqc(ps − pc) − ic,q)/Tqc

˙

ref

− vh) − ic,d)/Tdc

 

ic,d = (Kdc(v

 

 

The first of the previous equations indirectly models the dynamic of the dc system of the back-to-back connection. The steady-state error ps − pc is a model of VSC and capacitor losses. A pure integrator can be used for modelling a loss-less back-to-back VSC:

˙

(20.55)

ic,q = Kqc(ps − pc)/Tqc

If the dynamics of the VSC dc connection are fast, one can simply impose:

0 = ps − pc

(20.56)

Limits

All currents in (20.53) and (20.54) undergo anti-windup limiters. The limits have to be carefully calculated to avoid overloading. On the dc side, one has:

ic,d2 + ic,q2 ≤ imax

(20.57)

where imax is the VSC maximum current. Since (20.57) contains two variables, additional conditions are required to define imaxc,d and imaxc,q . For example:

imax = imax

(20.58)

c,q

imaxc,d = (imax)2 − i2c,q

Thus, one of the limits, e.g., imaxc,d is a function of the other current. Then, for the lower limits:

ic,qmin = −imax

(20.59)

ic,dmin = −ic,dmax

 

Similar expressions can be defined for the limits of generator stator currents

is,d and is,q .

456

20 Wind Power Devices

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Fig. 20.11 Comparison of transient behavior of di erent wind turbine types: doubly-fed asynchronous generator (DFAG), and direct-drive synchronous machine (DDSG), and non-controlled speed wind turbine (NCSWT)

Example 20.4 Comparison of Wind Turbine Transient Behaviors

Figure 20.11 shows a comparison of the transient behavior of the three wind turbine types described in this section. In particular, the plot shows the power injected by the wind park at bus 2 of the IEEE 14-bus system.1 The disturbance is a Mexican hat wavelet centered at t = 5 s, with a peak of 25 m/s. The initial power of the wind turbine is 0.4 pu and the wind park is composed of 40 machines (hence, the capacity of each machine is 1 MW). Mechanical data are the same for all wind turbine types. Machine and control data are provided in Appendix D.

The transient behaviors of the controlled speed wind turbines are quite similar: the controls of both the doubly-fed asynchronous generator and the direct-drive synchronous generator are able to slightly smooth the wind peak. On the other hand, the non-controlled wind turbine with squirrel-cage induction machine shows high oscillations that follows the wind peak and leads to undamped oscillations due to the shadow e ect.

1 The synchronous machine at bus 2 is substituted for a wind turbine.

Part IV

Spare Material and Concluding

Remarks

Chapter 21

Data Formats

This chapter provides a taxonomy of existing data formats for power power system analysis. These include most commonly used formats of free and proprietary software packages as well as the IEC common information model. The chapter is completed by a discussion about the desirable features of a data format for power system analysis.

21.1Data Format Taxonomy

The number of existing formats for power system analysis is huge. In general, each software application has is own specific data format. However, among all existing formats, few basic characteristics can be identified. The taxonomy can be made based on di erent features, as follows.

1.The way data are stored, organized and structured.

2.The kind of data and analysis supported.

3.The number of files that compose the full system data set.

4.The way default values and data manipulation is handled.

Each feature is described in the following subsections. Table 21.1 shows a synoptic scheme of the features of a variety of formats for power system analysis. In Table 21.1 as well as in the whole chapter, only formats available as plain ASCII files are available. Most commercial software applications store data as binary files, with the clear intention of making impossible to use those data by other applications. Such binary formats are intentionally ignored.

21.1.1Data Organization and Structures

The way data are organized and structured a ects the aspect of the resulting data file. Old data formats uses a fixed position and fixed order format, while the modern trend is to use mark-up languages. The following items describes some examples.

F. Milano: Power System Modelling and Scripting, Power Systems, pp. 459–474. springerlink.com c Springer-Verlag Berlin Heidelberg 2010

Table 21.1 Features of a variety of data formats for power system analysis

Format

Data

Data

Dynamic

Market

Short Circuit

Graphic

Custom

Number

Default

Alter

Name

Position

Order

Data

Data

Data

Data

Data

of Files

Values

Command

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

CEPEL

Fixed

Fixed

No

No

No

No

No

Unique

No

No

CYME

Fixed

Fixed

Yes

No

Yes

No

No

Multiple

Yes

No

DigSilent

Free

Free

Yes

No

Yes

Yes

No

Unique

Prototypes

No

EPRI/BPA

Fixed

Fixed

Yes

No

Yes

No

No

Unique

Yes

No

Eurostag

Fixed

Fixed

Yes

No

Yes

No

No

Multiple

Yes

No

FlowDemo

Free

Fixed

No

No

No

Yes

No

Unique

No

No

GE-PSLF

Free

Fixed

No

No

No

No

No

Unique

Yes

No

IEEE CDF

Fixed

Fixed

No

No

No

No

No

Unique

No

No

INPTC1

Fixed

Fixed

No

No

No

No

No

Multiple

No

Yes

Matpower

Free

Free

No

Yes

No

No

No

Any

No

No

Neplan

Free

Free

Yes

No

Yes

Yes

Yes

Multiple

Yes

No

PowerWorld

Free

Free

No

Yes

Yes

Yes

No

Unique

Yes

No

PSAT

Free

Free

Yes

Yes

No

Yes

Yes

Any

No

Yes

PSS/E

Free

Fixed

Yes

No

Yes

No

Yes

Unique

Yes

No

PST

Free

Free

Yes

No

Yes

No

Yes

Any

No

Yes

Simpow

Free

Free

Yes

No

Yes

Yes

Yes

Any

Yes

Yes

UCTE

Fixed

Fixed

No

No

No

No

No

Unique

Yes

No

 

 

 

 

 

 

 

 

 

 

 

460

Formats Data 21

21.1 Data Format Taxonomy

461

-Fixed position, fixed order. This is the oldest method of storing data and date back to the paper cards that were used in the seventies for loading and saving the information used by computers. Any data has is starting and ending columns and is assigned a maximum number of digits. Also the order in which data are listed is fixed. For example, in the IEEE CDF the bus card comes before the branch card, and the voltage magnitude must occupy columns 28 to 33 of the bus card [350]. The formats created by WSCC-EPRI [90], Eurostag [92], UCTE [318], and ENEL (INPTC1) [87] are other examples of this kind of format.

-Free position, fixed order. The position of the data is free, however, the order in which the data is listed in the file is fixed. For example, in the PSS/E format, the load data must follow the bus data, and the generator data must follow the load data [245]. In the bus data, the bus name must follow the bus identification number, etc. However, there is no restriction on the token position, and data can be separated by commas or by spaces. Other examples of this kind of formats are those of GE-PSLF [88] and FlowDemo.net [83].

-Free position, free order. The position and the order of the data are free. Typically, an ad-hoc parser is needed to read this kind of data files, which makes quite di cult to create an import/export utility. Some examples of such formats are the formats used by Simpow [302], DigSilent [75], PowerWorld [246] and InterPSS [359]. A special example of this format are also all data files written in Matlab (see for example, PSAT [194], PST [59], and Matpower [363]).

In this case, the data file is parsed by the Matlab interpreter, which makes extremely flexible the information that can be stored in the file, but also hard to export to other platforms if not using the Matlab interpreter.

-Mark-up languages Mark-up languages allows the maximum freedom for organizing data. The idea of mark-up languages is simple but powerful: each data is introduced by a pre-defined syntax which allows clearly identifying the data itself. Thus the position and the order of the data is not relevant. For example a widely used mark-up language is XML [342]. Another example is the Resource Description Framework (RDF) that is used for CIM data bases.

21.1.2Kind of Supported Data

This feature a ects the contents of the data file. Clearly, the more data kinds the format can support, the more complete and general the format is. A format that pretends to be application independent should provide as many kind of data as possible. For example, typical data kinds are as follows.

-Static Data. (e.g., power flow data).

-Dynamic Data. (e.g., synchronous machine and regulator parameters).

-Market Data. (e.g., generator and load bids).

462

21 Data Formats

-Short Circuit Analysis Data. (e.g., negative and zero sequence of generators and transformers).

-Graphical Data. (e.g., network scheme, geographical information system, etc.).

-Other Data. (e.g., FACTS data, user defined component data, etc.).

21.1.3Number of Files

Having multiple files for defining a network can be an useful feature if working with several scenarios for the same network. For example, one can use a single power flow data and work on several dynamic scenarios. This feature allows reducing the amount of data stored on the computer. However, nowadays, this is a not so critical issue taking into account that a 15000 bus system takes about 10 MB of disk space while modern hard disks contain hundreds of GB. Furthermore, the “modification command” described in the next subsection is a better option than the multiple-file feature for multi-scenario studies. The following items describes some examples.

-Single file. Most of the data formats requires a single file for defining the whole network. This is typical of most formats.

-Multiple fixed number of files. Some formats uses di erent files for different information. For example the power flow data is in some case separated from the dynamic data (e.g., CYME [68] and Eurostag [92] formats).

-Any number of files. The Simpow format [302] provides the possibility of including any number of files. Nested file inclusion is also allowed. This feature is useful in case of large networks, where the amount of data is cumbersome. The user can be interested in modifying only a small part of the network and it is thus easier to work on a small file that is then included in the main data file.

21.1.4Default Values, Prototypes and Data Manipulation

Accepting default data is both a feature of the data format and of the application that reads the data format. The application that reads the data file must assign a known default value to all parameters that are not specifically defined in the file. Thus, it is necessary that the documentation of the data format clearly specifies default values.

Similar to default value definition is data prototyping, which consists in referring certain device data to a common device prototype. Any device instance inherits the data of the prototypes. This technique is similar to creating

21.2 Canonical Model

463

a class (prototype) and then instantiating several times that class.1 The advantage is that a change in the prototype data automatically update all the data referring to that prototype.

Finally, being able to modify data “on the fly” is an useful feature for scripting applications. For example, if one wants to solve the power flow for di erent load levels, it could be convenient to have a compact command included in the data file that modifies the load powers without the need of rewriting all load data.

The following items describes some examples.

-Default Values. Most formats, especially fixed position formats, does not support default values and force writing all data of a component, even if those data are not known or could be easily deduced by default.

-Device Prototyping. This feature is provided by the DigSilent format [75]. In case of big distribution networks where most of the transformers and protections are the same, data prototyping can save space. The Simpow format also provides a sort of device prototyping feature in the definition of synchronous machine regulators [302]. Synchronous machine data include the code of a certain AVRs and/or turbine governor prototype. This technique allows reducing the data file size if most of AVRs and turbine governors have same data.

-Modification Command. The Simpow format provides the powerful alter command for modifying the base case data. Matlab-based formats implicitly include modification commands, since any Matlab function and matrix manipulation can be included in the data file.

21.2Canonical Model

From the previous section, it is clear that if one wants to use di erent software tools, some data import/export utility is needed. Software companies such as PowerWorld and most open-source tools, such as UWPFLOW, InterPSS and PSAT, develop and provide adapters to import data. However, the direction is mainly one way, i.e., importing data in di erent formats into simulation applications, but generally not the other way round, i.e., exporting data to di erent data formats. This makes very di cult (if not impossible) to exchange power system simulation study case in a robust and reliable way.

Another strong restriction to the di usion and creation of data format adapters is the fact that the documentation of most commercial data formats is not freely available and, in some cases, is intentionally not complete.

Even if one can access the full and detailed documentation of any formats in use in the power system community, there is another important issue that

1The di erence between “classes” and “prototypes” is that a class defines a abstract type that in general does not contains any specific data, whereas a prototype is a template that defines data.