CN103761287B - DGS data form and the interface conversion method of ieee standard form CDF - Google Patents

DGS data form and the interface conversion method of ieee standard form CDF Download PDF

Info

Publication number
CN103761287B
CN103761287B CN201410016375.7A CN201410016375A CN103761287B CN 103761287 B CN103761287 B CN 103761287B CN 201410016375 A CN201410016375 A CN 201410016375A CN 103761287 B CN103761287 B CN 103761287B
Authority
CN
China
Prior art keywords
dgs
module
data
ieee standard
cdf
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201410016375.7A
Other languages
Chinese (zh)
Other versions
CN103761287A (en
Inventor
别朝红
孙雯
戎晓雪
柯丹
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Xian Jiaotong University
Original Assignee
Xian Jiaotong University
Filing date
Publication date
Application filed by Xian Jiaotong University filed Critical Xian Jiaotong University
Priority to CN201410016375.7A priority Critical patent/CN103761287B/en
Publication of CN103761287A publication Critical patent/CN103761287A/en
Application granted granted Critical
Publication of CN103761287B publication Critical patent/CN103761287B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The present invention provides the interface conversion method of a kind of DGS data form and ieee standard form CDF, by reading in the file of the DGS form derived by DIgSILENT software in a program, data electrical component module in file comprised carry out calculating and the arrangement of form, generate the file meeting ieee standard form CDF, solve DIgSILENT software power system commonly used after, its data form derived and the incompatible problem of conventional electric power system software data form, have stronger engineering practicability.

Description

DGS data form and the interface conversion method of ieee standard form CDF
Technical field
The invention belongs to Power System Analysis application, be specifically related to the DGS data form that DIgSILENT software is derived And the interface conversion method between ieee standard data form CDF.
Background technology
Power system electromagnetism electromechanical transient hybrid simulation program DIgSILENT(PowerFactory) software be Germany The power system simulation software of DIgSILENT GmbH company exploitation, this title of DIgSILENT derives from Digital Simulation and electricity Net calculation procedure (DIgital SImuLation and Electrical NeTwork), exploitation the earliest starts from 1976.From 1993 start, and DIgSILENT software starts to introduce Object-oriented Programming and concept database comprehensively, and to algorithm and unit Part model has carried out bigger improvement, it is allowed to user creates detailed power system component model in single data base and (includes The series of parameters that stable state, time domain, frequency domain etc. calculate), it is not necessary to adopt as some other power system analysis software again The electric system simulation carrying out respective type with different software kits calculates (such as transmission of electricity, distribution, generating or commercial Application).
DIgSILENT software contains the function of almost conventional all Power System Analysis, as trend, short circuit calculation, Electromechanical transient and EM transient calculation, frequency analysis, Small signal stability analysis etc..The important feature of another one is: dynamo-electric Transient analysis model and electromagnetic transient analysis models coupling to together with, this makes it can carry out the transient fault of electrical network point Analysis, can study again long-term power quality problem and control method.
DIgSILENT software provides the model library of comprehensive power system component, including electromotor, motor, control Device, dynamic load, circuit, transformator, the model of equipment in parallel.Wherein, wind speed, machine driven system, aerodynamic part And the control system of Wind turbines all uses dynamic simulation language DSL to build in software.
DIgSILENT software has the following characteristics that the data storage method of concept database, the object-oriented data of classification Manager, the system of project alternative management flexibly;Operator scheme based on Windows standard and the process side of graphic and model integration Formula;Many kinds of parameters describing mode: with the data interchange language (DOLE) of the interface of SCADA/GIS, towards continuous running Emulational language DSL and towards the programming language DPL of programmed process.
Operability that DIgSILENT software is stronger and the using method of hommization so that it is gradually general in power system And application.A lot of Utilities Electric Co.s and institute all employ DIgSILENT software and build the electric network model of different regions and imitate True research, when these area power grids are applied other power system programs analyze, needs to derive electricity from DIgSILENT software The grid structure that net represents with DGS data form, but other power system programs are normally based on ieee standard form CDF (Common Data Format) realizes, if DGS form being converted to CDF form by manual method, needs substantial amounts of work Measuring, the time of not only expending is long, and efficiency is low, and as easy as rolling off a log makes mistakes, and wastes substantial amounts of manpower and materials.Accordingly, it would be desirable to seek A kind of intelligence interface conversion method, is converted to CDF formatted data by DGS formatted data easily.
Summary of the invention
It is an object of the invention to provide the interface conversion method of a kind of DGS data form and ieee standard form CDF, should Method aim to solve the problem that DIgSILENT software after power system is commonly used, its derive data form and conventional electric power system The problem that application of software data form is incompatible, has stronger engineering practicability.
For reaching above-mentioned purpose, present invention employs techniques below scheme.
This interface conversion method comprises the following steps: read in the file of DGS form in a program, by electrical equipment in file The data that module comprises carry out calculating and the arrangement of form, generate the file meeting ieee standard form CDF.
Described interface conversion method specifically includes following steps:
1) every kind in the power system grid structure represented with DGS data form that statistics DIgSILENT software is derived The number of type electrical equipment;
2) after step 1), the StaCubic module in DGS formatted file and busbar modules (ElmTerm) are read in, so After write bus numbering transition matrix, described bus numbering transition matrix in each column data be respectively as follows: the sequence that matrix is often gone Number, numbering in ieee standard form CDF of the first row data in StaCubic module, corresponding bus, StaCubic module In the 3rd column data (bus original number in DGS) and corresponding busbar voltage grade;
3) through step 2) after, read in the generator module (ElmSym) in DGS formatted file, load blocks (ElmLod) And the data of parallel branch module (ElmShnt), then calculate the electromotor that each bus in ieee standard form CDF is corresponding Active power and reactive power, load active power and reactive power, the perunit value of admittance of parallel branch and electromotor without The maximum of merit power and minima;
4) according to ieee standard form CDF by the beginning of the numbering of bus, busbar voltage grade, busbar voltage amplitude and phase angle Value and the calculated data of step 3) arrange;
5) after step 4), read in the TypTr2 module in DGS formatted file and TypTr3 module, then set up change The transition matrix of depressor model, in the transition matrix of described transformator model each column data be respectively as follows: TypTr2 module and First row DGS reference number of a document (first arrangement module TypTr2, then arranges TypTr3) in TypTr3 module, all types of transformator High side voltage, all types of step down side voltage, the resistance of all types of transformator, the reactance of all types of transformator and each The susceptance of type transformer;
6) after step 5), read in the line module (ElmLne) in DGS formatted file, transformer module ElmTr2 with And transformer module ElmTr3, then calculate the perunit value of each branch resistance in ieee standard form CDF, the perunit value of reactance, The perunit value of susceptance, no-load voltage ratio and phase shift;
7) after step 6), according to the volume of the bus that the numbering of branch road, branch road first and last are connected by ieee standard form CDF Number and the calculated data of step 6) arrange.
Concretely comprising the following steps of described step 1): skipping electrical component module head, it is right that read module head row below number obtains Answer the number of type electrical components.
Described bus numbering in ieee standard form CDF uses following methods to calculate: use busbar modules (ElmTerm) first row numbering deducts the summation of all element numbers of statistics in step 1) and obtains result of calculation, will calculate Result subtracts 1 again.
Beneficial effects of the present invention is embodied in:
The interface conversion method of DGS data form of the present invention and ieee standard form CDF can be as an interface Program, makes DIgSILENT software effectively be combined with ieee standard data form CDF, can apply to planning and the operation of electrical network In field, make calculating become more convenient, there is engineering practical value, when analyzing electrical network or proposing electrical network perfect scheme, all Needing to revise branch road, load or the parameter of electromotor, if using artificial statistical information, the amendment of parameter each time will be in journey Finding the position of parameter in the input file of sequence, not only expend the time but also easily make mistakes, the present invention then can tie at electrical network Composition is revised, derive data after be quickly carried out form conversion, it is not necessary to artificial statistical information, substantially increase the effect of calculating Rate.
Accompanying drawing explanation
The data structure diagram of the DGS file (part) that Fig. 1 DIgSILENT software is derived.
Fig. 2 is the flow chart of the present invention.
Detailed description of the invention
The present invention will be further described below in conjunction with the accompanying drawings.
As a example by Load flow calculation, but the present invention has generality.
First in power system simulation software DIgSILENT, draw the configuration of power network wanting to carry out Load flow calculation, if Put the parameter of each force device, then utilize the DGS Export Definitions5 in DIgSILENT to select probabilistic loadflow The element needed in calculating and parameter thereof, derive DGS file, be the data of grid structure in this DGS file, contain calculating with The full detail of the input data required for machine trend.Owing to DGS file is that DIgSILENT software automatically generates, its form is Fix, but differ with the input file data form required for probabilistic loadflow program, it is therefore desirable to change.The present invention Provide the DGS file derived by the DIgSILENT software format conversion method to probabilistic loadflow program input file.Utilize this Method for transformation obtains the ieee standard data form CDF that power system is commonly used, and then carries out power system applied analysis, under Face illustrates:
1.DGS data derive
Deriving DGS file in DIgSILENT software and be by the preparation of data format conversion, data are just deriving The whether true correctness being directly connected to Load flow calculation below and accuracy.Be presented herein below derive DGS data basic step:
1) electric network model is drawn.Electric network model to be calculated is drawn or by complete electric network model in DIgSILENT Or component parameters is directed into DIgSILENT from external data source, it is also possible to update existing model in amendment DIgSILENT;
2) output DGS data are selected.First DGS Export Definitions5.0.dz file is imported to In DIgSILENT, in Data Manager interface, opening the DGS Export Definitions5.0 of importing, selection will be The parametric device type derived in electrical network.In probabilistic loadflow calculates, need the component module used and be sequentially: ElmLne, ElmLod、ElmShnt、ElmSym、ElmTerm、ElmTr2、ElmTr3、StaCubic、TypSym、TypTr2、TypTr3.It The implication that represents be circuit master data, load master data, branch circuit parallel connection impedance-admittance master data, electromotor base respectively Notebook data, bus master data, two-winding transformer master data, three-winding transformer master data, DGS file internal are numbered Conversion, generator type data, two-winding transformer categorical data, three-winding transformer categorical data.Open each element mould Block, selects the parameter needing to use.
3) DGS data file is derived.
A, the projects of acquisition derivation data.Finding the engineering needing to activate, this engineering of right click is selected in associated menu Select " Activate ".
B, open DGS derive dialog box.File→Export→DGS Format.
C, editor DGS derive dialog box.Path also oneself name that file is derived is selected in " File Name " option, Data are selected to derive definition file " DGS Export Definitions5 " in " Variable Sets " option.Click on " Execute " control key performs to derive operation.
By above operating procedure, obtained calculating the DGS data file that probabilistic loadflow needs to use, but its form be by DIgSILENT software set is good, with probabilistic loadflow program required for the form of input file and differ.The most simply it is situated between Continue the form of DGS file.
Seeing Fig. 1, each DGS file comprises a file header, a General table and multiple module.File header Contain derivation item destination name and derive the date.Each module represents a kind of component parameters data, in each module head meeting Have with ' the corresponding bus class of the module name that $ $ ' takes the lead, such as " ElmTerm ", " ElmTr2 " corresponding two-winding transformer basic number According to.It is the row name of each column after module name, in the bracket after row name, indicates its data type.With dated number identified below According to type: " i ", integer;" r ", floating type;" d ", double-precision floating point type;" a ", character string type, it is followed by the length of character string Degree, such as " a:40 " represents the character string of a length of 40 characters.The definition of the row started with ' * ' afterwards, these row are all roots Derivation is needed according to calculating.After ' * ' row terminates, the first row in module is every data line ID numbering in DGS, and its His row are then consistent with the definition of row above.In whole file, branch ";" represent separator.
2.DGS document format conversion
After obtaining DGS file above, just carry out format conversion.The present invention utilizes C++ programming interface to turn Change program, flow process is as shown in Figure 2.Specifically comprise the following steps that
A, add up the number of every kind of component type.Find circuit, load, reactance, electromotor, bus, two-winding transformer And these 7 modules of three-winding transformer, skip the module head of its ' * ' part, read module head row below number is i.e. every kind The number of component type.
B, reading StaCubic module and busbar modules (ElmTerm), write the transition matrix of bus numbering.Due to negative Carrying, the element such as electromotor and bus are to be coupled together, so must press by the corresponding relation of numbering in StaCubic module The order of bus numbering sets up a transition matrix, in transition matrix the implication of each column data be respectively as follows: sequence number that matrix often goes, In numbering in ieee standard form CDF of first row data in StaCubic module, corresponding bus, StaCubic module 3rd column data (bus original number in DGS) and corresponding busbar voltage grade.
C, reading load blocks (ElmLod).The parameters such as the active power and the reactive power that read load in this module.
D, reading parallel branch module (ElmShnt).It is electric capacity or reactance according to read in that data judge branch circuit parallel connection, And the perunit value of the admittance of electric capacity or reactance is calculated according to corresponding formula.
E, reading generator module (ElmSym).Calculate the active reactive rate of electromotor corresponding to each bus and idle merit Rate and the maximum of generator reactive power and minima.
F, according to ieee standard form CDF by the numbering of bus, busbar voltage grade, node type, busbar voltage amplitude Arrange with calculated data in the initial value of phase angle and step c, d, e.
G, reading TypTr2 module, TypTr3 module, set up the transition matrix of transformator model.At transformer module In ElmTr2, ElmTr3, be given is the perunit value of transformer impedance admittance, but its reference value is by DIgSILENT software Portion sets.If in Load flow calculation, its reference capacity is different from set, then need with TypTr2 module, TypTr3 The short-circuit voltage percent of the transformator model be given in module, the data such as copper loss and no-load current percent recalculate change The reference value of depressor.
H, reading line module ElmLne.Read the parameter computing impedance, the perunit value of admittance needed, and according to above The transition matrix of bus numbering finds the numbering of the connected bus of circuit.
I, reading transformer module ElmTr2, ElmTr3.According to the transition matrix of the transformator model set up, read and count Calculate the impedance of transformator and the perunit value of admittance and no-load voltage ratio, phase shift.
J, the numbering of the bus numbering of branch road, branch road first and last connected according to ieee standard form CDF and step h, i Calculated data arrange.
K, set other required parameters, such as degree of accuracy required for maximum iteration time, iteration convergence etc..
After in the DGS file of derivation, Data Format Transform becomes the form of the input file required for probabilistic loadflow program, It is saved in a new txt document.

Claims (3)

1. a DGS data form and the interface conversion method of ieee standard form CDF, it is characterised in that: this interface conversion side Method comprises the following steps: reading in the file of DGS form in a program, data electrical component module in file comprised are counted Calculate and the arrangement of form, generate the file meeting ieee standard form CDF;
Described interface conversion method specifically includes following steps:
1) number of each type electrical equipment in the power system grid structure represented with DGS data form that statistics derives;
2) through step 1) after, read in the StaCubic module in DGS formatted file and busbar modules, then write bus numbering Transition matrix, described bus numbering transition matrix in each column data be respectively as follows: sequence number, the StaCubic module that matrix is often gone In first row data, corresponding bus numbering in ieee standard form CDF, the 3rd column data in StaCubic module with And correspondence busbar voltage grade;
3) through step 2) after, read in generator module, load blocks and the number of parallel branch module in DGS formatted file According to, then calculate generator active power corresponding to each bus in ieee standard form CDF and reactive power, load wattful power Rate and reactive power, the perunit value of admittance of parallel branch and the maximum of generator reactive power and minima;
4) according to ieee standard form CDF by the initial value of the numbering of bus, busbar voltage grade, busbar voltage amplitude and phase angle with And step 3) calculated data arrange;
5) through step 4) after, read in the TypTr2 module in DGS formatted file and TypTr3 module, then set up transformator The transition matrix of model, in the transition matrix of described transformator model, each column data is respectively as follows: TypTr2 module and TypTr3 First row DGS reference number of a document in module, all types of high voltage side of transformer voltage, all types of step down side voltage, all kinds of The resistance of type transformator, the reactance of all types of transformator and the susceptance of all types of transformator;
6) through step 5) after, read in line module, transformer module ElmTr2 and the transformer module in DGS formatted file ElmTr3, then calculate the perunit value of each branch resistance in ieee standard form CDF, the perunit value of reactance, the perunit value of susceptance, No-load voltage ratio and phase shift;
7) through step 6) after, according to ieee standard form CDF by the numbering of branch road, branch road first and last connect bus numbering with And step 6) calculated data arrange.
A kind of DGS data form and the interface conversion method of ieee standard form CDF, its feature Be: described step 1) concretely comprise the following steps: skipping electrical component module head, read module head row below number obtains corresponding class The number of type electrical equipment.
A kind of DGS data form and the interface conversion method of ieee standard form CDF, its feature It is: described bus numbering in ieee standard form CDF uses following methods to calculate: use the first of busbar modules Column number deducts step 1) in the summation of all element numbers of statistics obtain result of calculation, result of calculation is subtracted 1 again.
CN201410016375.7A 2014-01-14 DGS data form and the interface conversion method of ieee standard form CDF Active CN103761287B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410016375.7A CN103761287B (en) 2014-01-14 DGS data form and the interface conversion method of ieee standard form CDF

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410016375.7A CN103761287B (en) 2014-01-14 DGS data form and the interface conversion method of ieee standard form CDF

Publications (2)

Publication Number Publication Date
CN103761287A CN103761287A (en) 2014-04-30
CN103761287B true CN103761287B (en) 2016-11-30

Family

ID=

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102521343A (en) * 2011-12-09 2012-06-27 山东大学 Transformation method of input data of simulation software of power system

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102521343A (en) * 2011-12-09 2012-06-27 山东大学 Transformation method of input data of simulation software of power system

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
基于ODM的电力系统仿真数据描述和转换;黄秋华 等;《电力系统自动化》;20121225;第36卷(第22期);全文 *
电力系统仿真软件的运用与比较;吕涛;《中国优秀博硕士学位论文全文数据库 (硕士) 工程科技Ⅱ辑》;20050915(第5期);第4.2节,图4.2、4.3 *

Similar Documents

Publication Publication Date Title
Wong et al. Quasi-Monte Carlo based probabilistic small signal stability analysis for power systems with plug-in electric vehicle and wind power integration
Ghassemi et al. Equivalent network for wind farm harmonic assessments
CN104598671A (en) Digital power grid construction method based on on-line data
WO2018072427A1 (en) Maximum transient overvoltage analysis method and system for offshore wind plant electrical system
CN104104081B (en) A kind of uncertain tidal current analysis method of non-iterative based on optimization method
CN103795057A (en) Power distribution network topology serial number generating method based on searching in power distribution network load flow calculation
CN102856896B (en) On-line analytical method for direct-current transmission loss
CN107944659B (en) Method and device for automatically generating plant station monitoring system report
González et al. OpenDSS-based distribution network analyzer in open source GIS environment
CN112234611A (en) Power distribution network setting calculation method and system based on computer modeling
CN103887792A (en) Modeling method of low-voltage distribution network with distributed power supply
Kumar et al. Comparison of power system simulation tools with load flow study cases
CN105913337B (en) A kind of PSASP data model translation is the method for RSCAD data model
Bolgaryn et al. Open source simulation software pandapower and pandapipes: recent developments
Heckel et al. Advanced Modeling of Electric Components in Integrated Energy Systems with the TransiEnt Library.
CN103761287B (en) DGS data form and the interface conversion method of ieee standard form CDF
Li et al. Distribution feeder one-line diagrams automatic generation from geographic diagrams based on GIS
Huang et al. Distribution network expansion planning considering distributed generation using probabilistic voltage constraints
Çakmak et al. An optimization-based approach for automated generation of residential low-voltage grid models using open data and open source software
Anita P. Selvan
CN109118909A (en) A kind of conversion method of substation's three-dimensional scene models
Kumar et al. A simplified approach for load flow analysis of radial distribution network with embedded generation
Hartmann et al. Development of steady state and dynamic energy storage models for DIgSILENT PowerFactory
CN109713662B (en) Method for equivalence of load model identification parameters of power system to low-voltage nodes
Philpott et al. Development of High Renewable Penetration Test Cases for Dynamic Network Simulations using a Synthetic Model of South-East Australia

Legal Events

Date Code Title Description
PB01 Publication
SE01 Entry into force of request for substantive examination
GR01 Patent grant