PESGM2009-000217-slides

28
Open Model For Exchanging Power System Data 1 Universidad de Castilla-La Mancha, InterPSS Open Model For Exchanging Power System Data Prof. Dr. Federico Milano E-mail: [email protected] Universidad de Castilla - La Mancha Espa ˜ na Dr. Mike Zhou E-mail: [email protected] TIBCO Software, Inc. Palo Alto, CA, USA Mr. GuanJi Hou E-mail: [email protected] South China University of Technology Guangdong, China Calgary, July 30, 2009 Introduction - 1

description

PES

Transcript of PESGM2009-000217-slides

Page 1: PESGM2009-000217-slides

Open Model For Exchanging Power System Data 1

Universidad de Castilla-La Mancha, InterPSS

Open Model For Exchanging

Power System Data

Prof. Dr. Federico Milano

E-mail: [email protected]

Universidad de Castilla - La Mancha

Espana

Dr. Mike Zhou

E-mail: [email protected]

TIBCO Software, Inc.

Palo Alto, CA, USA

Mr. GuanJi Hou

E-mail: [email protected]

South China University of Technology

Guangdong, China

Calgary, July 30, 2009 Introduction - 1

Page 2: PESGM2009-000217-slides

Open Model For Exchanging Power System Data 2

Universidad de Castilla-La Mancha, InterPSS

Bio. - Federico Milano

➠ Federico Milano received from the University of Genoa, Italy, the Electrical

Engineering degree and the Ph.D. degree in 1999 and 2003, respectively.

➠ From 2001 to 2002 he worked at the University of Waterloo, Canada, as a

Visiting Scholar.

➠ He is currently an associate tenured Professor at the University of

Castilla-La Mancha, Ciudad Real, Spain.

➠ His research interests include voltage stability, electricity markets and

computer-based power system analysis and control.

Calgary, July 30, 2009 Introduction - 2

Page 3: PESGM2009-000217-slides

Open Model For Exchanging Power System Data 3

Universidad de Castilla-La Mancha, InterPSS

Bio. - Mike Zhou

➠ Ph.D. Tsinghua University, 1987. Currently a senior computer system

architect with TIBCO Software, Inc., Palo Alto, CA, USA. He is also the

architect of the InterPSS project.

Calgary, July 30, 2009 Introduction - 3

Page 4: PESGM2009-000217-slides

Open Model For Exchanging Power System Data 4

Universidad de Castilla-La Mancha, InterPSS

Bio. - GuanJi Hou

➠ GuanJi Hou received the B.S. degree in electrical engineering from

Electric Power College, South China University of Technology,

Guangdong, China, in 2006. Since then, he has been studying at the

South China University of Technology for the M.S. degree. Currently, he is

a member of InterPSS development team. His main field of interest

includes computer-based and expecially grid-computing-based power

system simulation and analysis.

Calgary, July 30, 2009 Introduction - 4

Page 5: PESGM2009-000217-slides

Open Model For Exchanging Power System Data 5

Universidad de Castilla-La Mancha, InterPSS

Contents

➠ Motivations

➠ Background

➠ Open Data Model

➠ Example

➠ Conclusions

Calgary, July 30, 2009 Introduction - 5

Page 6: PESGM2009-000217-slides

Open Model For Exchanging Power System Data 6

Universidad de Castilla-La Mancha, InterPSS

Motivations I

➠ The IEEE recommended a Common Data Format (IEEE CDF) for

exchanging power flow data date back to the early seventies.

➠ Unfortunately, the IEEE CDF is not flexible and is limited to static data.

➠ These facts make this format not suitable for storing dynamic and market

information.

➠ Besides, software companies uses their own internal data format. Most of

these formats are proprietary and generally are not freely documented.

Calgary, July 30, 2009 Motivations - 1

Page 7: PESGM2009-000217-slides

Open Model For Exchanging Power System Data 7

Universidad de Castilla-La Mancha, InterPSS

Motivations II

➠ We think that the power system community needs a modern, completely

free, flexible and well-documented format for power system analysis data

exchange.

➠ The extensible markup language (XML) is a natural choice since it has

reached a very mature technology and has become a world-wide

standard for exchanging and sharing information.

➠ A huge variety of open-source XML processing tools are freely available.

➠ Surprisingly enough, the power system community is one of the very few

scientific and technical areas were XML is not widely used.

Calgary, July 30, 2009 Motivations - 2

Page 8: PESGM2009-000217-slides

Open Model For Exchanging Power System Data 8

Universidad de Castilla-La Mancha, InterPSS

Background I

➠ Among all existing formats, one can identify a few basic groups.

➠ The taxonomy can be made based on different features.

➛ The way data are stored, organized and structured.

➛ The kind of data and analysis supported.

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

➛ The way default data and data manipulation is handled.

Calgary, July 30, 2009 Background - 1

Page 9: PESGM2009-000217-slides

Open Model For Exchanging Power System Data 9

Universidad de Castilla-La Mancha, InterPSS

Ways for Storing, Organizing and Structuring Data

➠ Fixed position, fixed order. For example: UCTE, IEEE CDF, Eurostag,

EPRI.

➠ Free position, fixed order. For example: PSS/E, GE-PSLF.

➠ Free position, free order. For example: Simpow, DigSilent, PSAT.

➠ The XML schema provides flexibility, scalability while maintaining a

schematic structure.

Calgary, July 30, 2009 Background - 2

Page 10: PESGM2009-000217-slides

Open Model For Exchanging Power System Data 10

Universidad de Castilla-La Mancha, InterPSS

Kind of Data and Analysis Supported

➠ Static Data. (e.g. power flow data).

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

➠ Market Data. (e.g. generator and load bids).

➠ 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.).

Calgary, July 30, 2009 Background - 3

Page 11: PESGM2009-000217-slides

Open Model For Exchanging Power System Data 11

Universidad de Castilla-La Mancha, InterPSS

Number of Files that Compose the Full System Data Set

➠ 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 different files for

different information. For example the power flow data is separated from

the dynamic data (e.g. CYME and Eurostag ).

➠ Any number of files. SIMPOW provides the possibility of including any

number of files. This feature is useful in case of large networks, where the

amount of data is cumbersome.

Calgary, July 30, 2009 Background - 4

Page 12: PESGM2009-000217-slides

Open Model For Exchanging Power System Data 12

Universidad de Castilla-La Mancha, InterPSS

Default Values and Data Manipulation

➠ 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. An advanced evolution of default data is the device

prototyping. This feature is only provided by the DigSilent format.

➠ Modification Command. Some formats provide a set of commands for

modifying the base case data. For example Simpow provides the

powerful ALTER command.

➠ Formats based on scripting languages, such as Matlab, implicitly include

modification commands, since any Matlab function and matrix

manipulation can be included in the data file.

Calgary, July 30, 2009 Background - 5

Page 13: PESGM2009-000217-slides

Open Model For Exchanging Power System Data 13

Universidad de Castilla-La Mancha, InterPSS

Background II

➠ Available formats (not complete!): Aspen, CEPEL, CYME, DigSilent,

EPRI/BPA, Etap, Eurostag, FlowDemo.net, GE-PSLF, IEEE CDF,

INPTC1, InterPSS, MatPower, Neplan, PowerWorld, PSAT, PSS/E, PST,

Simpow, UCTE, etc.

➠ Due to the high number of available formats, if one wants to use different

software tools, one has to use some data import/export utilities.

Calgary, July 30, 2009 Background - 6

Page 14: PESGM2009-000217-slides

Open Model For Exchanging Power System Data 14

Universidad de Castilla-La Mancha, InterPSS

Current Import/Export Utilities

➠ The current way of importing and exporting data is quite expensive.

➠ If there are n data formtas and m applications, the number of possible

conversion is n · m!

Formats

IEEE CDF

PSS/E

CIM

Company−A

Company−B

Company−A

PSAT

InterPSS

ImportUtilities

Software

Calgary, July 30, 2009 Background - 7

Page 15: PESGM2009-000217-slides

Open Model For Exchanging Power System Data 15

Universidad de Castilla-La Mancha, InterPSS

Proposed Import/Export Utilities

➠ The proposed ODM is able to solve this issue, given that this schema

becomes widely accepted by the power system community and by

software companies.

➠ Using the ODM model, the possible filtering/converting routes for n

formats and m applications are only n + m.

Model

InterPSS

PSAT

IEEE CDF

PSS/E

CIM

Company−A

Company−B

ODM

Schema

Import/ExportUtilities

Import/ExportUtilities

Company−A

Software

Formats

Canonical

Calgary, July 30, 2009 Background - 8

Page 16: PESGM2009-000217-slides

Open Model For Exchanging Power System Data 16

Universidad de Castilla-La Mancha, InterPSS

Open Data Model

➠ The proposed ODM is specified by an XML schema intended for power

system simulation.

➠ The ODM does not pretend to replace CIM models, but rather to provide

a complementary tool.

➠ The main purpose is for power system analysis: power flow, optimal

power flow, time domain simulations, etc.

Calgary, July 30, 2009 Open Data Model - 1

Page 17: PESGM2009-000217-slides

Open Model For Exchanging Power System Data 17

Universidad de Castilla-La Mancha, InterPSS

Basic Concepts of the Open Data Model

➠ Records.

➛ Attributes.

➛ Power system Data (bus record, branch record, etc.).

➛ Case Study (base case, scenarios, etc.).

➠ Naming convention.

➠ Units.

Calgary, July 30, 2009 Open Data Model - 2

Page 18: PESGM2009-000217-slides

Open Model For Exchanging Power System Data 18

Universidad de Castilla-La Mancha, InterPSS

Records

➠ The smallest unit of information is a record.

➠ Each record has certain common attributes, such as name, description,

status, etc.

➠ A minimal power system data file is a set of bus records and branch

records, with the branch records “connecting” to two or more bus records

to form a network.

Calgary, July 30, 2009 Open Data Model - 3

Page 19: PESGM2009-000217-slides

Open Model For Exchanging Power System Data 19

Universidad de Castilla-La Mancha, InterPSS

Prototype of Base Record

➠ Prototype of base record in XML format.

e

e

e

e

e

e

e nvPair [0..*] NameValuePairXmlType

NameValuePairListXmlType

zone

nvPairList

owner

area

number

offLine

desc

name [0..1]

[0..1]

[0..1]

[0..1]

[0..1]

[0..1]

[0..1]

[0..1]

string

string

string

int

int

int

boolean

NameValuePairListXmlType

BaseRecordXmlType

e

e

Calgary, July 30, 2009 Open Data Model - 4

Page 20: PESGM2009-000217-slides

Open Model For Exchanging Power System Data 20

Universidad de Castilla-La Mancha, InterPSS

Network Record

➠ The network record is a box that contains all network devices.

e id

IDRecordXmlType

[1..1] ID e

e

e

e

e

interchangeList

tieLineList

lossZoneList

branchList

busList

basePowerUnit

basePower

PSSNetworkXmlType

[1..1]

[1..1]

[1..1]

[1..1]

[0..1]

[0..1]

[0..1]

BranchRecordListXmlType

BusRecordListXmlType

(basePowerUnitType)

double

(lossZoneListType)

(interchangeListType)

(tieLineListType)

bus [0..*] BusRecordXmlType

BusRecordListXmlType

branch [0..*] BranchRecordXmlType

BranchRecordListXmlType

lossZone [0..*] (lossZoneType)

(lossZoneListType)

nvPair [0..*] (interchangeType)

(interchangeListType)

nvPair [0..*] (tieLineType)

(tieLineListType)

e

e

e

e

e

e

e

Calgary, July 30, 2009 Open Data Model - 5

Page 21: PESGM2009-000217-slides

Open Model For Exchanging Power System Data 21

Universidad de Castilla-La Mancha, InterPSS

Bus Record

➠ Bus record structure and attributes:

e

e

e

e

e

e id

IDRecordXmlType

[1..1] ID

e

voltage

LoadFlowBusDataXmlType

angle

genData

loadData

shuntY

powerInjection [0..1]

[0..1]

[0..1]

[0..1]

[0..1]

[1..1]

(genDataType)

PowerXmlType

YXmlType

(loadDataType)

AngleXmlType

VoltageXmlType

loadFlowBusData

baseVoltageUnit

baseVoltage

BusRecordXmlType

[1..1] LoadFlowBusDataXmlType

(baseVoltageUnitType)

double

[1..1]

[1..1]

e

e

e

Calgary, July 30, 2009 Open Data Model - 6

Page 22: PESGM2009-000217-slides

Open Model For Exchanging Power System Data 22

Universidad de Castilla-La Mancha, InterPSS

Branch Record

➠ Branch record structure and attributes:

e id

IDRecordXmlType

[1..1] ID

e

e

e

e

e

e idRef

IDRefRecordXmlType

IDREF[1..1]

e

e

e

e

e

BranchRecordXmlType

LoadFlowBranchDataXmlType

IDRefRecordXmlType

IDRefRecordXmlType

IDRefRecordXmlType

string

loadFlowBusData

circuitId

tertiaryBus

toBus

fromBus

[0..1]

[0..1]

[0..1]

[1..1]

[1..1]

ratingLimit

phaseShiftXfrData

xformerData

lineData

code

[0..1]

[0..1]

[0..1]

[0..1]

[1..1] (codeType)

(lineDataType)

TransformerDataXmlType

PhaseShiftXfrDataXmlType

(ratingLimitType)

LoadFlowBranchDataXmlType

Calgary, July 30, 2009 Open Data Model - 7

Page 23: PESGM2009-000217-slides

Open Model For Exchanging Power System Data 23

Universidad de Castilla-La Mancha, InterPSS

Example

➠ One-line diagram of the 5-bus test sample.

➠ We presents some chunks of XML codes.

➠ ODM data files are created by specific XML editors, not by hand!

Bus 4 Bus 2 Bus 5

Bus 1

Bus 3

Calgary, July 30, 2009 Example - 1

Page 24: PESGM2009-000217-slides

Open Model For Exchanging Power System Data 24

Universidad de Castilla-La Mancha, InterPSS

Example - Header Data

<?xml version="1.0" encoding="UTF-8"?>

<pss:PSSStudyCase>

<pss:id>5Bus-Sample-System</pss:id>

<pss:schemaVersion>V1.00</pss:schemaVersion>

<pss:originalFormat>IEEE-ODM-PSS</pss:originalFormat>

<pss:analysisCategory>Loadflow</pss:analysisCategory>

<pss:networkCategory>Transmission</pss:networkCategory>

<pss:baseCase>

<pss:id>Base-Case</pss:id>

<pss:basePower>100.0</pss:basePower>

<pss:basePowerUnit>MVA</pss:basePowerUnit>

<pss:busList>

...

</pss:busList>

<pss:branchList>

...

</pss:branchList>

</pss:baseCase>

</pss:PSSStudyCase>

Calgary, July 30, 2009 Example - 2

Page 25: PESGM2009-000217-slides

Open Model For Exchanging Power System Data 25

Universidad de Castilla-La Mancha, InterPSS

Example - Bus Data<pss:bus>

<pss:name>Gen Bus-4 1000 Volt</pss:name>

<pss:id>Bus4</pss:id>

<pss:baseVoltage>1000</pss:baseVoltage>

<pss:baseVoltageUnit>VOLT</pss:baseVoltageUnit>

<pss:loadflowBusData>

<pss:voltage>

<pss:voltage>1.05</pss:voltage>

<pss:unit>PU</pss:unit>

</pss:voltage>

<pss:genData>

<pss:code>PV</pss:code>

<pss:gen>

<pss:p>500.0</pss:p>

<pss:q>0.0</pss:q>

<pss:unit>MVA</pss:unit>

</pss:gen>

</pss:genData>

</pss:loadflowBusData>

</pss:bus>

Calgary, July 30, 2009 Example - 3

Page 26: PESGM2009-000217-slides

Open Model For Exchanging Power System Data 26

Universidad de Castilla-La Mancha, InterPSS

Example - Branch Data<pss:branch>

<pss:id>Bus3_to_Bus5_cirId_1</pss:id>

<pss:fromBus>

<pss:idRef>Bus3</pss:idRef>

</pss:fromBus>

<pss:toBus>

<pss:idRef>Bus5</pss:idRef>

</pss:toBus>

<pss:circuitId>1</pss:circuitId>

<pss:loadflowBranchData>

<pss:code>Transformer</pss:code>

<pss:xformerData>

<pss:z>

<pss:r>0.0</pss:r>

<pss:x>0.03</pss:x>

<pss:unit>PU</pss:unit>

</pss:z>

<pss:fromTurnRatio>1.05</pss:fromTurnRatio>

</pss:xformerData>

</pss:loadflowBranchData>

</pss:branch>

Calgary, July 30, 2009 Example - 4

Page 27: PESGM2009-000217-slides

Open Model For Exchanging Power System Data 27

Universidad de Castilla-La Mancha, InterPSS

Conclusions

➠ We have presented a novel approach based on the XML schema for

storing and exchanging power system data.

➠ We call this approach the Open Data Model.

➠ It is “open” for two reasons: because it is freely documented and because

it can be easily adapted to include any information related to power

system analysis.

➠ The implementation of the ODM schema is currently at an early

development stage. Any volunteers?

Calgary, July 30, 2009 Conclusions - 1

Page 28: PESGM2009-000217-slides

Open Model For Exchanging Power System Data 28

Universidad de Castilla-La Mancha, InterPSS

Thanks for your attention!

Questions?

Calgary, July 30, 2009 Conclusions - 2