1. Trang chủ
  2. » Kỹ Thuật - Công Nghệ

Phần 10 KHÓA ĐÀO TẠO TÍNH TOÁN ỔN ĐỊNH VÀ ỨNG DỤNG TRÊN PHẦN MỀM PSSE CHO KỸ SƯ HỆ THỐNG ĐIỆN (Ngồn ngữ mô hình hóa hệ thống điện trên Phần mềm PSSE)

88 777 8

Đang tải... (xem toàn văn)

Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống

THÔNG TIN TÀI LIỆU

Thông tin cơ bản

Định dạng
Số trang 88
Dung lượng 4,59 MB

Nội dung

Ngồn ngữ mô hình hóa hệ thống điện trên Phần mềm PSSE.NỘI DUNG CHÍNH PHẦN 10 (Assembly of System Models): 1. Reduced Power System. 2. NonStandard Models using FORTRAN. 3. Introduction to Graphical Model Builder (GMB).

Trang 1

TRANSMISSION &

DISTRIBUTION

A Division of Global Power

POWER SYSTEM STABILITY CALCULATION TRAINING

D 6 A bl f S t M d l Day 6 - Assembly of System Models

November 22, 2013 Prepared by: Mohamed El Chehaly

Trang 2

2

OUTLINE

• Reduced Power System

• Non-Standard Models using FORTRAN Non Standard Models using FORTRAN

• Introduction to GMB

Trang 3

3

Trang 4

4 REDUCED POWER SYSTEM

Equivalents

 Equivalents represent a reduced network

that contains few original buses and all

boundary buses

 Study system: Buses subject to detailed

study; all components are represented

explicitly

 External system: Buses and branches that

connect to and influence a study system

but do not need to be represented

 Boundary buses: buses in the study

system that connect to external systems

system that connect to external systems

through branches

Trang 6

Steps for Equivalent Network

6 REDUCED POWER SYSTEM

Steps for Equivalent Network

1 Swing buses in the study system

1 Verify that in the study system there is at least

one swing bus

2 If there is at least one swing bus, skip this step

3 If no swing buses assign a generator bus (code

3 If no swing buses, assign a generator bus (code

2) in the study system to be a new swing bus (code 3)

4 Solve the load flow No changes to the power

levels should be observed

Trang 7

Steps for Equivalent Network

7 REDUCED POWER SYSTEM

Steps for Equivalent Network

2 Swing buses in the external system

1 Change all the swing buses (code 3) in the

external system to generator buses (code 2)

2 Add loads on the boundary buses corresponding

to the power flows of the tie lines that connect the

to the power flows of the tie lines that connect the boundary buses to the external system (DO NOT SOLVE)

3 Disconnect the tie lines that connect the

boundary buses to the external system

Trang 8

Steps for Equivalent Network

8 REDUCED POWER SYSTEM

Steps for Equivalent Network

3 Removal of External Buses

1 After disconnecting the tie lines, solve the load

flflow

2 The load flow could not be solve due to the large

number of islanded buses

3 The following message should appear:

Message for API FDNS

#### buses in island(s) without a swing bus

Use activity TREE

Trang 9

Steps for Equivalent Network

9 REDUCED POWER SYSTEM

Steps for Equivalent Network

4 Islanded buses

1 Write TREE in the CLI window

2 The following message should appear:

3 To disconnect the island, write ‘1’ in the CLI

4 Repeat until all islands are disconnected

Trang 10

Steps for Equivalent Network

10 REDUCED POWER SYSTEM

Steps for Equivalent Network

5 Short-circuit levels

1 Determine the short-circuit levels (three-phase

and single-line-to-ground) at the boundary buses

and single line to ground) at the boundary buses

in the original system both in physical output (MVA and A) and in per unit (pu) and in polar coordinates

2 Add a dummy generator at the boundary bus of

the modified system with zero power and a y pcalculated impedance to match the original short-circuit level

Trang 11

Steps for Equivalent Network

11 REDUCED POWER SYSTEM

Steps for Equivalent Network

5 Short-circuit levels

3 Verify that the error difference between the

original and the new short-circuit levels does not exceed 5%

4 In the original system, disconnect all lines with

the boundary buses except for the ties with the y pexternal system and calculate the short-circuit level in MVA

5 In the reduced system change the rating of the

5 In the reduced system, change the rating of the

equivalent generator to the value found in step 4

6 Change the impedances of the generator to the g p g

new machine base

Trang 12

Steps for Equivalent Network

12 REDUCED POWER SYSTEM

Steps for Equivalent Network

6 Power flows in the study system

1 Verify that the power flows within the study

system match the original power flows

2 If there is a large difference, add loads that

compensate this difference

3 Check that the power flows should be within 5%

of the original ones found in the complete system

4 Voltages and angles at all buses in the equivalent

4 Voltages and angles at all buses in the equivalent

system should match the ones in the complete system

Trang 13

Steps for Equivalent Network

13 REDUCED POWER SYSTEM

Steps for Equivalent Network

7 Completed equivalent network

1 The equivalent network is now completed

2 The buses of the external systems can be

2 The buses of the external systems can be

deleted

3 Dynamic simulation can now be carried out on y

the equivalent system

4 The behaviour of the external systems in the

dynamic simulation is neglected

Trang 14

Vietnamese Power System

14 REDUCED POWER SYSTEM

Vietnamese Power System

 Vietnamese Map

Pl ik

External System Pleiku

Study System

Trang 15

Vietnamese Power System

15 REDUCED POWER SYSTEM

Vietnamese Power System

Trang 16

Vietnamese Power System

16 REDUCED POWER SYSTEM

Vietnamese Power System

Trang 17

Vietnamese Power System

17 REDUCED POWER SYSTEM

Vietnamese Power System

1 Swing buses in the study system

 No swing buses were found in the study system

 The only swing bus connected to it is HBINH_H1

(bus 28610) located in the North

 A new generator bus is chosen to be an

 A new generator bus is chosen to be an

additional swing bus: PMY_1_S4 (bus 52040)

 Solve the load flow

Trang 18

Vietnamese Power System

18 REDUCED POWER SYSTEM

Vietnamese Power System

2 Swing buses in the external system

 Change all the other swing buses to generator

buses

 Add loads at the boundary bus corresponding to

the flows in the tie lines

Trang 19

Vietnamese Power System

19 REDUCED POWER SYSTEM

Vietnamese Power System

3 Removal of External Buses

 Solve and the following message appears

Trang 20

Vietnamese Power System

20 REDUCED POWER SYSTEM

Vietnamese Power System

Trang 21

Vietnamese Power System

21 REDUCED POWER SYSTEM

Vietnamese Power System

4 Islanded buses

 Repeat for all islands

Trang 22

Vietnamese Power System

22 REDUCED POWER SYSTEM

Vietnamese Power System

5 Short-circuit levels

 The short-circuit level at the boundary bus

PLEIKU (bus 3300) in the original system is:

PLEIKU (bus 3300) in the original system is:

Trang 23

Vietnamese Power System

23 REDUCED POWER SYSTEM

Vietnamese Power System

5 Short-circuit levels

 The short-circuit level at the boundary bus

PLEIKU (bus 3300) in the reduced system is:

Trang 24

Vietnamese Power System

24 REDUCED POWER SYSTEM

Vietnamese Power System

5 Short-circuit levels

 In order to get the impedance of the equivalent

machine the following equations have to be

machine, the following equations have to be solved for all sequence impedances

1 1

X

X

pu X

pu X

04389 0

02525

0

02518

Trang 25

Vietnamese Power System

25 REDUCED POWER SYSTEM

Vietnamese Power System

5 Short-circuit levels

 In order to get the impedance of the equivalent

machine the following equations have to be

machine, the following equations have to be solved for all sequence impedances

1 1

X

X

pu X

pu X

04389 0

02525

0

02518

Trang 26

Vietnamese Power System

26 REDUCED POWER SYSTEM

Vietnamese Power System

5 Short-circuit levels

Trang 27

Vietnamese Power System

27 REDUCED POWER SYSTEM

Vietnamese Power System

Trang 28

Vietnamese Power System

28 REDUCED POWER SYSTEM

Vietnamese Power System

5 Short-circuit levels

 In the original system, disconnect all ties

including transformers on the boundary bus

including transformers on the boundary bus Pleiku 500 kV except tie lines connected to the external system and find the new short-circuit

le el

 The chosen value for the equivalent machine

base is 4000 MVA This will represent the contribution of the external system

Trang 29

Vietnamese Power System

29 REDUCED POWER SYSTEM

Vietnamese Power System

5 Short-circuit levels

 The new values of the machine impedances with

the new machine base (4000 MVA) are the

the new machine base (4000 MVA) are the following:

pu

X1  1 0072

B 4000 MVA

pu X

pu X

7556

1

0100

1

0 2 1

Trang 30

Vietnamese Power System

30 REDUCED POWER SYSTEM

Vietnamese Power System

6 Power flows in the study system

 The load flow at Pleiku is shown below for both

cases

Trang 31

Vietnamese Power System

31 REDUCED POWER SYSTEM

Vietnamese Power System

6 Power flows in the study system

 The load flow at Phu My is shown below for both

cases

Trang 33

equipment to be modeled or given a block

diagram and/or the differential and

algebraic equations

 Sufficient calculus and block diagram

equation to the form required of a PSS®E

model

 Familiar with the PSS®E data arrays (CON,

ICON, VAR, STATE…)

 Knowledge of the FORTRAN language

Trang 34

34 NON-STANDARD MODELS USING FORTRAN

Prerequisites

 Before attempting to write any model, the

user should first ensure that the modeling

library model

 Perhaps by setting a gain to one or a time

 Perhaps by setting a gain to one or a time

constant to zero in an existing model

reduces it to the required form

Trang 35

Model Requirements

35 NON-STANDARD MODELS USING FORTRAN

Model Requirements

 Each model must make different types of

computations at different stages in the

computations at different stages in the

dynamic simulation

 A set of scalar variables are used to

 A set of scalar variables are used to

communicate between PSS®E activities

 MODE

 KPAUSE

 MSTATE

 MIDTRM

 ITER, IFLAG and IBDOCU

Trang 36

36 NON-STANDARD MODELS USING FORTRAN

MODE

 Most critical of the variables

 MODE = 1: The model must initialize all of its state

 MODE = 1: The model must initialize all of its state

variables and algebraic variables

 MODE = 2: The model must make all

computations needed to place time derivatives into

the DSTATE array

 MODE = 3: Governor models must compute the

present value of PMECH, exciter models must

compute the present value of EFD, stabilizers

model must compute the present value of

VOTHSG

 MODE = 4: The model must update the PSS®E

 MODE = 4: The model must update the PSS®E

variable NINTEG indicating the highest STATE

Trang 37

37 NON-STANDARD MODELS USING FORTRAN

MODE

 Most critical of the variables

 MODE = 5: The model is being called by activity

 MODE = 5: The model is being called by activity

DOCU in its reporting mode and must write out the

model data report

 MODE = 6: The model is being called by activity

DYDA and must write out the data record

 MODE = 7: The model is being called by activity

DOCU in its data checking mode and most

perform constant data checks and exceptions

must be reported

 MODE = 8: The model is being called to return

description of each CON and ICON data used by

description of each CON and ICON data used by

the model

Trang 38

38 NON-STANDARD MODELS USING FORTRAN

KPAUSE

 Indicates the type of time step calculation

 KPAUSE = 0: Models are being called to make

their normal time step calculation

 KPAUSE = 1: Models are being called for the

value of simulation TIME equal to TPAUSE- (just

before a pause)p )

 KPAUSE = 2: Models are being called at the first

time step following a pause (TIME equal to

TPAUSE+)

 Most user-written models need not be

sensitive to the variable KPAUSE

Trang 39

39 NON-STANDARD MODELS USING FORTRAN

MSTATE

 Indicates the type of simulation

 MSTATE = 0: Standard state space dynamic

 MSTATE = 0: Standard state-space dynamic

simulation via activities STRT and RUN

 MSTATE = 1: Excitation system response ratioy p

 MSTATE = 2: Excitations system open circuit step

response

 MSTATE = 3: Governor response test

 MSTATE = 4: Extended term dynamic simulation

 MSTATE = 5: Dynamics data is present but no

 MSTATE = 5: Dynamics data is present but no

initialization activity has been successful

Trang 40

MIDTRM ITER and IFLAG

40 NON-STANDARD MODELS USING FORTRAN

MIDTRM, ITER and IFLAG

 MIDTRM indicates whether state-space or

extended simulation

extended simulation

 MIDTRM = FALSE.: State-space simulation

 MIDTRM = TRUE.: Extended term simulation

 ITER indicates the number of iterations

the present value of simulation time

 IFLAG is usually sensed by models called y y

from TBLCNT and CONET

 IFLAG = FALSE.: The solution has not converged

 IFLAG = TRUE.: The solution has converged

Trang 41

IBDOCU and KTRIP

41 NON-STANDARD MODELS USING FORTRAN

IBDOCU and KTRIP

 IBDOCU indicates the mode of operation

of DOCU and DYDA

of DOCU and DYDA

 IBDOCU = 0: Process all models called

 IBDOCU > 0 : External bus number; only process

 IBDOCU > 0 : External bus number; only process

models at bus IBDOCU

 KTRIP must be set by any equipment y y

model which imposes network switching

 KTRIP = 0: No dual time step calculation required

 KTRIP = 1: In activities RUN and MRUN, one or

more data changes requiring a dual time step

calculation without affecting the network

calculation without affecting the network

admittance matrix

Trang 42

IBDOCU and KTRIP

42 NON-STANDARD MODELS USING FORTRAN

IBDOCU and KTRIP

 KTRIP must be set by any equipment

model which imposes network switching

 KTRIP = -1: In activities STRT and MSTR, one or

more load models changed the value of the g

constant admittance component of a load In

activities RUN and MRUN, one or more data

changes affecting the admittance matrix have

changes affecting the admittance matrix have

been implemented (no zero impedance line

switching)

 KTRIP = -3: In activities RUN and MRUN, one or

more data changes affecting the admittance matrix

have been implemented (at least one zero

have been implemented (at least one zero

impedance line switching)

Trang 43

Model Calling Sequence Rules

43 NON-STANDARD MODELS USING FORTRAN

Model Calling Sequence Rules

 The SUBROUTINE statements for

plant-related models must be of the form

 MC: is the internal PSS®E machine array index

for the machine at which the model is being called

for the machine at which the model is being called

 ISLOT: is the internal PSS®E array allocation

table index for this model call

Trang 44

Model Calling Sequence Rules

44 NON-STANDARD MODELS USING FORTRAN

Model Calling Sequence Rules

 At the completion of each activity DYRE,

the array allocation table entries for each

plant-related model reference are set as

f ll

follows:

 STRTIN(1,ISLOT): contains the index of the first of

NC CONs used by the model

 STRTIN(2,ISLOT): contains the index of the first of

NS STATEs used by the model

 STRTIN(3,ISLOT): contains the index of the first of

NV VARs used by the model

 STRTIN(4 ISLOT): contains the index of the first of

 STRTIN(4,ISLOT): contains the index of the first of

NI ICONs used by the model

Trang 45

Writing the Basic Model

45 NON-STANDARD MODELS USING FORTRAN

Writing the Basic Model

 The steps in writing a PSS®E model are:

1 Determine the block diagram and/or the

differential and algebraic equations

2 Identify the state variables associated with the

model and determine a procedure for computing their time derivatives

3 Identify those quantities needed as inputs to the

model

4 Allocate locations in the CON, STATE, VAR

and/or ICON arrays as required

5 Write the model subroutine in FORTRAN or

5 Write the model subroutine in FORTRAN or

FLECS

Trang 46

Simple Excitation System

46 NON-STANDARD MODELS USING FORTRAN

Simple Excitation System

 Consider the following simple excitation

system DEMOEX

Trang 47

Simple Excitation System

47 NON-STANDARD MODELS USING FORTRAN

Simple Excitation System

 The first transfer function block involves

 Cross multiplying and rearranging

STATE (K)

Trang 48

Simple Excitation System

48 NON-STANDARD MODELS USING FORTRAN

Simple Excitation System

 The second transfer function block

involves one state variable E

Ngày đăng: 16/08/2014, 15:23

TỪ KHÓA LIÊN QUAN

TÀI LIỆU CÙNG NGƯỜI DÙNG

TÀI LIỆU LIÊN QUAN

w