0% found this document useful (0 votes)
28 views5 pages

Data Conversion From BPA and PSASP To The Third Party Software Based On Template Matching Algorithm

Uploaded by

jollywang930106
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
28 views5 pages

Data Conversion From BPA and PSASP To The Third Party Software Based On Template Matching Algorithm

Uploaded by

jollywang930106
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

Applied Mechanics and Materials Online: 2014-05-09

ISSN: 1662-7482, Vol. 551, pp 599-602


doi:10.4028/www.scientific.net/AMM.551.599
© 2014 Trans Tech Publications, Switzerland

Data Conversion from BPA and PSASP to the Third Party Software
Based on Template Matching Algorithm

Qing YE1,a, Yong-qiang ZHU2,b


1
North China Electric Power University, Beijing 102206, China
2
North China Electric Power University, Beijing 102206, China
a
[email protected], [email protected]
*Qing Ye

Keywords: Power system simulation, PSASP, BPA, data conversion, template matching algorithm.

Abstract. With the development of electric power system, the use of one single electric power
simulation software about large power grid can't meet the needs of the actual research any more. As
the data of PSASP, BPA and other software can't be universal, developing a data interface program to
realize data file sharing is of great concern. In this paper, based on the template matching method,
power system network model and the control model itself of different software are compared and
studied, and the template database was designed according to the results of the analysis. Data convert
from BPA and PSASP to the third party software is realized.

Introduction
Power system digital simulation in power system has been quickly and widely used in the analysis
of power system. Power system scheduling is on the basis of the calculation results of simulation
software. The accuracy of the simulation results directly affects the correctness of the operation and
planning decisions. There are many power system simulation software, BPA, PSASP, PSS/E,
NETOMAC, EMTP, PSCAD/EMTDC and so on.
BPA program is divided into two parts, power flow and stability analysis, with large scale and
calculation speed, strong data stability, function, etc. BPA program with a large ac/dc hybrid power
system are the main functions of tidal current and transient stability calculation, at the same time it
also can settle short-circuit current calculation and power grid equivalent static analysis. PSASP is a
highly integrated open large package. PSASP mainly calculate steady-state analysis, failure analysis
and electromechanical transient analysis.
Data of BPA, PSASP program software and other simulation software is not universal, and they
have adopted their data formats. To use different software for the simulation calculation, data file
sharing and transformation become an important issue in the power system simulation. Therefore, we
need to develop the third party to provide data interface program.

Template Matching Algorithm


Matching is the input with the existent expressed in advance, or according to the known model to
find the corresponding process, namely, to establish the connection between the known and unknown
process to identify an unknown object. A collection of known patterns is called template library, and a
collection of unknown patterns is called a test sample library. Finding in the template library for
classification model belongs to the category of the process is the match.
By comparing power system network model of the two software and the differences of control
model and describing the similarities and differences among the data structure of the model, template
matching method based on feature is to separate completely data fields and no direct match field.
Using the data field matching algorithms, all the fields are written into the template database. The
method transfers the same characteristics directly, and different characteristics separate, reducing the

All rights reserved. No part of contents of this paper may be reproduced or transmitted in any form or by any means without the written permission of Trans
Tech Publications, www.ttp.net. (ID: 130.203.136.75, Pennsylvania State University, University Park, USA-05/03/16,08:21:43)
600 Design, Manufacturing and Mechatronics

amount of calculation of the algorithm, and improving the processing speed. Take BPA and PSASP
power flow data conversion process for example, fig.1 for the power flow template database form
flow diagram, fig.2 for the tide flow chart of data conversion.

Fig. 1. The power flow template database Fig. 2. The tide flow chart of data
form flow diagram conversion

Key Data Conversion Process

AC Node Data Conversion


AC nodes of the BPA are a total of 13 types, and the data bus is the most basic data in PSASP, other
components (ac lines, generators, etc.) are all connected to the bus.
Generator Data Conversion
In PSASP system, all generator nodes are used in the data records, and it has a big difference with
BPA data of generator in the node card. Especially for the PSASP generator bus node or balance node,
there must be a generator data record correspondent.
For AC node in B card of BPA, the value in 48-52 arrange of PQ node (B, BC, BF, BJ, BT, BX,
BV) card is generator reactive power output value. For other nodes, it means the maximum value of
generator reactive power output. In data conversion, the minimum reactive power QMIN, the
maximum reactive power QMAX and the actual reactive power QG of PSASP generator items should
be filled in according to node type of the BPA data. In addition, the least active output PB needs to be
manually set to -9999.
Load Data Conversion
BPA load data is filled in the AC node card, while the load data in PSASP has special records,
similar to PSASP generator data. The load in BPA contains constant power load, constant impedance
load and constant current load, with specific value stored in the data card and continue AC node data
card. In PSASP load data record, parameters and, output current statistical results can be classified
according to subordinate data set (GROUP) and load numbers(NO_LOAD).

Simulation and Analysis


Taking BPA IEEE 9-node system as example, the accuracy of the data conversion program was
confirmed. BPA power flow data and transient stability data were respectively transformed. IEEE
9-node system was built in PSASP software, and power flow and transient stability were calculated
respectively. The calculation results of BPA software and PSASP were analyzed.
Applied Mechanics and Materials Vol. 551 601

Fig. 3. IEEE 9-nodes system

Node voltage amplitude and phase angle data of BPA, PSASP power flow results are shown in
table 1.

Table 1. Results of power flow calculation


The node Voltage grade Voltage per unit /(p.u.) Phase angle /(°)
name (kV) BPA PSASP BPA PSASP
Busl 230.0 1. 039 1.05664 -3.4 -3.3852
Bus2 230.0 1. 043 1.03856 -0.7 -0.46281
Bus3 230.0 1. 053 1.05611 -1.3 -1.08627
BusA 230.0 1.006 1.00508 -6.2 -5.94548
BusB 230.0 1.022 1.05204 -5.5 -5.44107
BusC 230.0 1. 032 1.0215 -3.1 -2.85667
Genl 16.5 1.01 1.01 0 0
Gen2 18.0 1.01 1.01 5.1 5.4024
Gen3 13.8 1.01 1.01 1.5 1.45742

It can be seen from the table1 that BPA and PSASP calculated bus voltage, phase angle and
tech-oriented calculation result is basically consistent. The cause of differences are two software
selection flow algorithm and the effective digits different.
Generator Gen1, Gen2 and Gen3 adopt classical second-order model, and the motor torque
damping coefficient is set to 2. The bus bar exit three-phase short circuit fault, and fault line jumped
after 0.2s. The transient stability calculation bus1 voltage curve contrast of PSASP and BPA was
shown in Figure 4.
602 Design, Manufacturing and Mechatronics

BPA

PSASP
1.1

1.0

0.9

Voltage 0.8

0.7

0.6

0.5

0.4
0 50 100 150 200 250 300
cycles

Fig. 4. Transient stability bus1 voltage change curve

It can be seen in the graph that bus bar voltage fluctuation range in PSASP is smaller, and this is
because the two software generator model and transient stability calculation method is not consistent.

Conclusion
In this paper, based on the template matching method, power system network model and the control
model itself of different software are compared and studied, and the template database was designed
according to the results of the analysis. Data convert from BPA and PSASP to the third party software
is realized.

Acknowledgement
This research was financially supported by State Key Laboratory Of Alternate Electrical
Power System With Renewable Energy Soueces of Open Fund Project (KZ0003).

References
[1] Yang Ru. Studies on Comparison of Models and Calculation Results in BPA and PSS/E and Data
Interface Program Developing [D]. Beijing: North China Electric Power University, 2006.
[2] Cheng Hua Xu Zheng.Comparision of Mathematical Models for Transient Stability Calculation
in PSASP and PSS/E and Corresponding Calculation Results.
[3] Li Ya-lou,Wu Zhong-xi.An Approach to Interface Matlab Model with PSASP Transient Stability
Module [J].Power System Technology,2008,32(19):31-36.
[4] Zhang Yang,Mao Xueyan,Wu Daofeng.Exciting System Simulation and PSS Design by User
Defined Modeling[J].Power System Technology,1998,22(7):14-18.
[5] Zhang Xinfang, Xu Daping, Liu Yibing.Predictive Functional Control of a Doubly Fed Induction
Generator for Variable Speed Wind Turbines [J]. IEEE Trans On Energy Conversion, 2004,
29(7):3315-3319.
Design, Manufacturing and Mechatronics
10.4028/www.scientific.net/AMM.551

Data Conversion from BPA and PSASP to the Third Party Software Based on Template Matching
Algorithm
10.4028/www.scientific.net/AMM.551.599

You might also like