CN110489729A - The automatic switching method and system of disaster-ridden kind of the power grid of D5000-matpower coupling cascading failure model - Google Patents

The automatic switching method and system of disaster-ridden kind of the power grid of D5000-matpower coupling cascading failure model Download PDF

Info

Publication number
CN110489729A
CN110489729A CN201910728975.9A CN201910728975A CN110489729A CN 110489729 A CN110489729 A CN 110489729A CN 201910728975 A CN201910728975 A CN 201910728975A CN 110489729 A CN110489729 A CN 110489729A
Authority
CN
China
Prior art keywords
data
parameter
voltage
model
power grid
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.)
Granted
Application number
CN201910728975.9A
Other languages
Chinese (zh)
Other versions
CN110489729B (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.)
State Grid Corp of China SGCC
State Grid Hunan Electric Power Co Ltd
Disaster Prevention and Mitigation Center of State Grid Hunan Electric Power Co Ltd
Original Assignee
State Grid Corp of China SGCC
State Grid Hunan Electric Power Co Ltd
Disaster Prevention and Mitigation Center of State Grid Hunan Electric Power Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by State Grid Corp of China SGCC, State Grid Hunan Electric Power Co Ltd, Disaster Prevention and Mitigation Center of State Grid Hunan Electric Power Co Ltd filed Critical State Grid Corp of China SGCC
Priority to CN201910728975.9A priority Critical patent/CN110489729B/en
Publication of CN110489729A publication Critical patent/CN110489729A/en
Application granted granted Critical
Publication of CN110489729B publication Critical patent/CN110489729B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/901Indexing; Data structures therefor; Storage structures
    • G06F16/9024Graphs; Linked lists
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q50/00Systems or methods specially adapted for specific business sectors, e.g. utilities or tourism
    • G06Q50/06Electricity, gas or water supply

Abstract

The present invention discloses a kind of automatic switching method of disaster-ridden kind of the power grid coupling cascading failure model of D5000-matpower, comprising: the first data are obtained from D5000 system;The second data are obtained from Relay Protection Setting Calculation System;The transformer model of first data is converted into model of power transmission system;The capacity for taking the transformer in the first data is updated as the limit current-carrying capacity of the transmission line of electricity in model of power transmission system into the first data;Judge whether the element title in the second data matches with element title in the first data;From the first data, parameter needed for choosing description model of matpower and secondary model establishes a model and secondary model as member variable respectively;The probability for obtaining each failure in the electric network element fault set and set under disaster-ridden kind of coupling condition, determines that parameter needed for describing each failure in electric network element fault set as member variable, obtains disaster-ridden kind of coupling cascading failure model of power grid.The accuracy that the present invention improves the efficiency of model generation and model generates.

Description

The automatic conversion of disaster-ridden kind of the power grid of D5000-matpower coupling cascading failure model Method and system
Technical field
The present invention relates to Power System Analysis control fields, more particularly, to disaster-ridden kind of the power grid of D5000-matpower Couple the automatic switching method and system of cascading failure model.
Background technique
With the generation that takes place frequently of power grid disaster, people are to power supply reliability, Transient simulation fineness, requirement of real-time Continuous improvement, under disaster-ridden kind of coupling condition power grid risk analysis demand it is also more more and more urgent.D5000 is extensive at present The power grid state information acquisition software of use can be analyzed for power grid risk and provide real-time data.Matpower software is wide The Power grid structure planning software of general application, can carry out the functions such as tidal current analysis, multilayer output feedback network, its main feature is that can be with Customized development function.
D5000 system is established by each net provincial company regulation department, and data are cumbersome, complicated for operation, and by system development Unit for the actual electric network structure (situations such as such as whether there is or not DC lines, SVG) of each net provincial company, operating specification and specially develop Function and data structure, it is expensive.And there are the possibility that critical data is divulged a secret, network system other unit is not available this and is System.It exports the E formatted file generated and is formed by each the electric network data integrated of net provincial company, and the element for including can achieve hundreds of Ten thousand.Matpower software open source can carry out the simulation analysis such as Load flow calculation, electromagnetic transient simulation, cascading failure analysis, function Can be powerful, calculating speed is fast, easy to operate, using very extensive.
Currently, using matpower in the research process of tool, to be all 118 nodes provided using developer, 2383 The standard case file of node, does not there is the simulation analysis example for Chinese practice power grid.Load flow calculation, electromechanical transient, electromagnetism Transient state and the data of cascading failure analysis are complicated, if to utilize matpower simulation analysis Chinese practice electric network data, one As need to be carried out by veteran professional to carry out data processing and typing by element, this is a complexity and heavy work Make.More seriously, it is limited to software emulation scale and simulation object, needs to build differing complexity for different problems Model, this undoubtedly adds the difficulty of modeling, causes that conversion process easily malfunctions and mistake is difficult to check, and affects emulation and builds The efficiency of mould.Meanwhile existing method fails to consider the acting characteristic of relay protection and external disaster environment (such as mountain fire, outer broken And ice damage) developmenting spread real-time condition, can not be analyzed in real time for power grid risk and data basis is provided.
Summary of the invention
The present invention provides the automatic switching methods that disaster-ridden kind of a kind of power grid couples cascading failure model, to solve at present Using matpower simulation analysis actual electric network data, required parameter is deficient, need to be carried out by veteran professional by Element carries out data processing and typing, and modeling process complexity is heavy, modeling is error-prone and the wrong technology for being difficult to investigate on the spot is asked Topic.
In order to solve the above technical problems, technical solution proposed by the present invention are as follows:
A kind of automatic switching method of disaster-ridden kind of the power grid of D5000-matpower coupling cascading failure model, including it is following Step:
The first data are obtained from D5000 system;The second data are obtained from Relay Protection Setting Calculation System;
Based on the first data, the transformer model of the first data is converted into model of power transmission system;Take the first data In the capacity of transformer update into the first data as the limit current-carrying capacity of the transmission line of electricity in model of power transmission system;
Judge whether the element title in the second data matches with element title in the first data, the is retained when mismatching Element title and parameter in one data;Upon a match, the corresponding parameter of the element title of the second data is taken to replace the first data In corresponding parameter;
From the first data, parameter needed for choosing description model of matpower and secondary model becomes as member Amount, establishes a model and secondary model respectively;
The probability for obtaining each failure in the electric network element fault set and set under disaster-ridden kind of coupling condition, determines power grid Parameter needed for element fault concentrates each failure of description is built on the basis of a model and secondary model as member variable Vertical disaster-ridden kind of coupling cascading failure model of power grid.
Preferably, further include, from Setting Management System of Protective Relaying or fault information management system acquisition transformer and The relay protection constant value of transmission line of electricity;The relay protection constant value of transformer and transmission line of electricity is updated into the first data;
Before judge whether the element title in the second data matches with element title in the first data and parameter, side Method further include: read data of power grid and electric grid secondary data, data of power grid include the first data and the second data, electricity Net secondary data includes the relay protection constant value of transformer and transmission line of electricity;
Relay protection constant value includes the relay protection setting value of each transmission line of electricity, relay protection setting value include: away from From protection, current protection, temperature protection and voltage protection.
Preferably, the electric network element fault set under disaster-ridden kind of coupling condition is obtained from one or more system below It takes: transmission line forest fire forecast system, transmission line forest fire monitoring, ice damage on-line monitoring system, icing forecast system or external force Damage monitoring system;
Electric network element fault set includes: compromised line name, compromised time interval and when compromised Between in section corresponding timing node tripping probability.
Preferably, the first data include: topological data, transmission line parameter, transformer parameter and the load parameter of power grid; Second data include: topological data, transmission line parameter, transformer parameter and the load parameter of power grid;It is defeated in second data Electric line parameter further include: line length.
Preferably, it when establishing a model, secondary model and or disaster-ridden kind of coupling cascading failure model of power grid, including adjusts The topological data of power grid is written in matpower file with write-in function;
Member variable needed for model of matpower include: generator parameter, transmission line parameter, bus parameter, Transformer parameter;Member variable, that is, Substation parameters of model, bus parameter, capacitor parameters, reactor parameter and The parameter type of the elements such as generator parameter, load parameter.
Member variable needed for matpower secondary model includes: corresponding to generator, transmission line of electricity, bus and transformer Protective device parameter, it is fixed to specifically include overcurrent protection definite value, low-voltage variation definite value, underfrequency protection definite value and impedance protection Value.
Preferably, the topological data of power grid include: Substation parameters, bus parameter, capacitor parameters, reactor parameter, Generator parameter and load parameter;
Wherein, Substation parameters include: serial number, plant stand name, voltage class and plant stand type;
Bus parameter includes: bus name, voltage class, place topological node, voltage, phase angle, stop transport mark and calculating Node;
Capacitor parameters include title, voltage class, rated capacity, voltage rating, link position, place topological node, Active power, reactive power, stop transport mark and calculate node;
Reactor parameter include title, voltage class, rated capacity, voltage rating, link position, place topological node, Active power, reactive power, stop transport mark and calculate node;
Generator parameter includes: generator name, equivalent generator mark, equivalent position, voltage rating, rated capacity, connects Enter network voltage grade, place topological node, active power, reactive power, set end voltage, set end voltage phase angle, stop transport mark, The active power upper limit, active power lower limit, the reactive power upper limit, reactive power lower limit, rated power factor and calculate node.
Preferably, transformer parameter includes: transformer name, winding type, high-voltage end voltage class, intermediate voltage terminal voltage etc. Grade, low-pressure end voltage class, high-voltage end rated capacity, intermediate voltage terminal rated capacity, low-pressure end rated capacity, high-voltage end tap are most High tap position, high-voltage end tap lowest gear, the specified gear of high-voltage end tap, high-voltage end tap is differential, high-voltage end is specified Voltage, intermediate voltage terminal tap highest gear, intermediate voltage terminal tap lowest gear, the specified gear of intermediate voltage terminal tap, intermediate voltage terminal point Connector is differential, intermediate voltage terminal voltage rating, low-pressure end voltage rating, high-voltage winding resistance, high-voltage winding reactance, middle pressure winding electricity Topology section where topological node, intermediate voltage terminal where resistance, middle pressure winding reactance, low pressure winding resistance, low pressure winding reactance, high-voltage end Point, low-pressure end place topological node, mark is cut-off in high-pressure side, medium voltage side cut-offs mark, low-pressure side cut-offs mark, high-voltage end calculates Node, intermediate voltage terminal calculate node, low-pressure end calculate node, high-voltage winding reactance per unit value, middle pressure winding resistance per unit value, middle pressure Winding reactance per unit value, low pressure winding resistance per unit value, low pressure winding reactance per unit value;
Transmission line parameter includes transmission line of alternation current parameter, and transmission line of alternation current parameter includes: alternating current circuit name, voltage Topology where topological node, the end J where grade, equivalent road way signs, line resistance, line reactance, line one-end susceptance, the end I Node, the end I cut-off mark, mark is cut-off at the end J, allow current-carrying capacity, the end I electrical island number, the end J electrical island number, line resistance mark Value, line reactance per unit value and line one-end susceptance per unit value;
Load parameter include: load name, voltage class, duty value mark, equivalent link position, place topological node, Active power, reactive power, stop transport mark and calculate node.
Preferably, the transformer parameter of the first data is converted into transmission line of electricity, comprising: by volume two become be converted to one it is defeated Electric line, and or the changes of volume three are converted into three transmission lines of electricity.
Preferably, by the period 1 from the E formatted file in D5000 system, comprising the following steps:
Substation data card is read, substation's class set is obtained;
Bus data card is read, bus class set is obtained;
ACline data card is read, alternating current circuit class set is obtained;
DCline data card is read, DC line class set is obtained;
Transformer data card is read, transformer class set is obtained;
Unit data card is read, electric machinery set is obtained;
Compensator_P, Compensator_S data card are read, capacitor class, reactor class set are obtained;
The first data for parsing E formatted file acquisition power grid, the topological data including generating power grid according to E formatted file, The following steps are included:
Judge the title of bus bar elements A and the end the I place topological node attribute or J of alternating current circuit, DC line element B Whether topological node where end is consistent, if the end I or the end J of consistent then B connect bus A;
Where topological node attribute where judging the title of bus bar elements A and the end I of the transformer element C of volume two or the end J Whether topological node is consistent, if the end I or the end J of consistent then C connect bus A;
Where topological node where judging the title of bus bar elements A and the high-voltage end of three-circuit transformer element D or intermediate voltage terminal Whether topological node where topological node or low-pressure end consistent, if the consistent then corresponding high-voltage end of element D or intermediate voltage terminal or Person's low-pressure end connects bus A;
Whether the title for judging bus bar elements A and the place topological node title of generator element E are consistent, if unanimously then The leading-out terminal of E connects bus A;
Judge whether title and the place topological node title of capacitor or reactor element F of bus bar elements A are consistent, it is false The F connection bus A if consistent;
For each element number, the topological data of power grid is formed.
The present invention also provides a kind of computer system, including memory, processor and storage are on a memory and can be The step of computer program run on processor, processor realizes any of the above-described method when executing computer program.
The invention has the following advantages:
The automatic switching method of disaster-ridden kind of the power grid of D5000-matpower of the invention coupling cascading failure model, In The E formatted data of D5000 obtains the device parameter of power grid on the basis of being parsed, realize matpower by data conversion File power grid topological parameter assignment;The automatic conversion for realizing disaster-ridden kind of power grid coupling cascading failure model is power grid Cascading failure risk analysis provides data basis.It is Parameter Switch and typing that this method, which can avoid artificial progress matpower modeling, Hard work and simulation parameter mistake be difficult to the drawbacks of investigating on the spot, improve model generation efficiency and model generate it is accurate Property, the efficiency and credibility of electromagnetic transient simulation modeling can be improved.
Other than objects, features and advantages described above, there are also other objects, features and advantages by the present invention. Below with reference to accompanying drawings, the present invention is described in further detail.
Detailed description of the invention
The attached drawing constituted part of this application is used to provide further understanding of the present invention, schematic reality of the invention It applies example and its explanation is used to explain the present invention, do not constitute improper limitations of the present invention.In the accompanying drawings:
Fig. 1 is oneself of disaster-ridden kind of the power grid of the D5000-matpower of preferred embodiment of the present invention coupling cascading failure model The flow diagram of dynamic conversion method.
Specific embodiment
The embodiment of the present invention is described in detail below in conjunction with attached drawing, but the present invention can be defined by the claims Implement with the multitude of different ways of covering.
And so-called E language is 35.040 State Grid Corporation of China company standard Q/GDW 215-2008 of ICS in the present embodiment Electric power system data markup language;
So-called Relay Protection Setting Calculation System is Provincial Power Grid Corporation, regional power grid company or general headquarters in the present embodiment The operation management of regulation center relay protection sections, the department be both Relay Protection Setting Calculation System data relevant departments and Data use department.Due to D5000 system data be from field device acquire, vulnerable to equipment dependability, network availability, The factors such as artificial maintenance influence, and accuracy is poor compared to Relay Protection Setting Calculation System.Fault information management system is provincial Grid company, regional power grid company or general headquarters regulate and control the operation management of center relay protection sections, can be read by the system existing The definite value of field protective relaying device, thus more accurate compared to the definite value of Relay Protection Setting Calculation System.But it is not all Scene protection definite value can be collected reading, therefore, the definite value of fault information management system can only be whole as relay protection Determine a check of computing system definite value.
The automatic switching method of disaster-ridden kind of the power grid of the D5000-matpower of the present embodiment coupling cascading failure model, packet Include following steps:
The first data are obtained from D5000 system;The second data are obtained from Relay Protection Setting Calculation System;
Based on the first data, the transformer model of the first data is converted into model of power transmission system;Take the first data In the capacity of transformer update into the first data as the limit current-carrying capacity of the transmission line of electricity in model of power transmission system;
Judge whether the element title in the second data matches with element title in the first data, the is retained when mismatching Element title and parameter in one data;Upon a match, the corresponding parameter of the element title of the second data is taken to replace the first data In corresponding parameter;
From the first data, parameter needed for choosing description model of matpower and secondary model becomes as member Amount, establishes a model and secondary model respectively;
The probability for obtaining each failure in the electric network element fault set and set under disaster-ridden kind of coupling condition, determines power grid Parameter needed for element fault concentrates each failure of description is built on the basis of a model and secondary model as member variable Vertical disaster-ridden kind of coupling cascading failure model of power grid.
The device parameter that power grid is obtained on the basis of the E formatted data of D5000 is parsed, is realized by data conversion The topological parameter assignment of the power grid of the file of matpower;Realize disaster-ridden kind of power grid coupling cascading failure model from turn It changes, provides data basis for the analysis of power grid cascading failure risk.
When actual implementation, above method also can be carried out expansion or application below, the technical characteristic in following embodiment It can be combined with each other, embodiment not as the normal combination to technical characteristic only as an example, limit.
Embodiment 1:
The automatic switching method of disaster-ridden kind of the power grid of the D5000-matpower of the present embodiment coupling cascading failure model, packet Include following steps:
S1: by the period 1 from the E formatted file in D5000 system;Period 1 is 5-15 minutes.By the period 1 from E formatted file in D5000 system, comprising the following steps:
Substation data card is read, substation's class set is obtained;
Bus data card is read, bus class set is obtained;
ACline data card is read, alternating current circuit class set is obtained;
DCline data card is read, DC line class set is obtained;
Transformer data card is read, transformer class set is obtained;
Unit data card is read, electric machinery set is obtained;
Compensator_P, Compensator_S data card are read, capacitor class, reactor class set are obtained.
Above-mentioned seven kinds of data card is all that the data card from D5000 BPA system converts.The first data of power grid from Data card parsing, a data card correspond to the data of a type in the first data, specifically contain substation, bus The component types such as class, alternating current circuit class, DC line class, transformer class, electric machinery, capacitor class, reactor class.
Also transformer can be acquired from Setting Management System of Protective Relaying or fault information management system according to second round With the relay protection constant value of transmission line of electricity;The relay protection constant value of transformer and transmission line of electricity is updated into the first data;The Two cycles are -5 days 1 day.Relay protection constant value includes the relay protection setting value of each transmission line of electricity, relay protection setting value It include: distance protection, current protection, temperature protection and voltage protection.
S2: the first data that the E formatted file obtains power grid are parsed.First data include: the topological data, defeated of power grid Electric line parameter, transformer parameter and load parameter.Wherein, the topological data of power grid include: Substation parameters, bus parameter, Capacitor parameters, reactor parameter, generator parameter and load parameter;
Wherein, Substation parameters include: serial number, plant stand name, voltage class and plant stand type;
Bus parameter includes: bus name, voltage class, place topological node, voltage, phase angle, stop transport mark and calculating Node;
Capacitor parameters include title, voltage class, rated capacity, voltage rating, link position, place topological node, Active power, reactive power, stop transport mark and calculate node;
Reactor parameter include title, voltage class, rated capacity, voltage rating, link position, place topological node, Active power, reactive power, stop transport mark and calculate node;
Generator parameter includes: generator name, equivalent generator mark, equivalent position, voltage rating, rated capacity, connects Enter network voltage grade, place topological node, active power, reactive power, set end voltage, set end voltage phase angle, stop transport mark, The active power upper limit, active power lower limit, the reactive power upper limit, reactive power lower limit, rated power factor and calculate node.
Transformer parameter includes: transformer name, winding type, high-voltage end voltage class, intermediate voltage terminal voltage class, low-pressure end Voltage class, high-voltage end rated capacity, intermediate voltage terminal rated capacity, low-pressure end rated capacity, high-voltage end tap highest gear, height Pressure side tap lowest gear, the specified gear of high-voltage end tap, high-voltage end tap be differential, high-voltage end voltage rating, middle pressure Hold tap highest gear, intermediate voltage terminal tap lowest gear, the specified gear of intermediate voltage terminal tap, intermediate voltage terminal tap it is differential, Intermediate voltage terminal voltage rating, low-pressure end voltage rating, high-voltage winding resistance, high-voltage winding reactance, middle pressure winding resistance, middle pressure winding Topological node, low-pressure end institute where topological node, intermediate voltage terminal where reactance, low pressure winding resistance, low pressure winding reactance, high-voltage end Mark is cut-off in topological node, high-pressure side, medium voltage side cut-offs mark, low-pressure side cut-offs mark, high-voltage end calculate node, intermediate voltage terminal Calculate node, low-pressure end calculate node, high-voltage winding reactance per unit value, middle pressure winding resistance per unit value, middle pressure winding reactance mark Value, low pressure winding resistance per unit value, low pressure winding reactance per unit value;
Transmission line parameter includes transmission line of alternation current parameter, and transmission line of alternation current parameter includes: alternating current circuit name, voltage Topology where topological node, the end J where grade, equivalent road way signs, line resistance, line reactance, line one-end susceptance, the end I Node, the end I cut-off mark, mark is cut-off at the end J, allow current-carrying capacity, the end I electrical island number, the end J electrical island number, line resistance mark Value, line reactance per unit value and line one-end susceptance per unit value;
Load parameter include: load name, voltage class, duty value mark, equivalent link position, place topological node, Active power, reactive power, stop transport mark and calculate node.
Above-mentioned parsing E formatted file obtains the first data of power grid, the topology including generating power grid according to E formatted file Data, comprising the following steps:
Judge the title of bus bar elements A and the end the I place topological node attribute or J of alternating current circuit, DC line element B Whether topological node where end is consistent, if the end I or the end J of consistent then B connect bus A;
Where topological node attribute where judging the title of bus bar elements A and the end I of the transformer element C of volume two or the end J Whether topological node is consistent, if the end I or the end J of consistent then C connect bus A;
Where topological node where judging the title of bus bar elements A and the high-voltage end of three-circuit transformer element D or intermediate voltage terminal Whether topological node where topological node or low-pressure end consistent, if the consistent then corresponding high-voltage end of element D or intermediate voltage terminal or Person's low-pressure end connects bus A;
Whether the title for judging bus bar elements A and the place topological node title of generator element E are consistent, if unanimously then The leading-out terminal of E connects bus A;
Judge whether title and the place topological node title of capacitor or reactor element F of bus bar elements A are consistent, it is false The F connection bus A if consistent;
For each element number, the topological data of power grid is formed.
It is in order to according to bus bar elements and transmission line of electricity, transformer, capacitor, reactor, hair by above-mentioned analyzing step Connection relationship between the elements such as motor determines the topological structure of power grid.Such as bus: cloud field become 500 kilovolts of mothers I number into 5539, group mountain becomes 500 kilovolts of mothers II number as 5860, and the bus number of the end the I connection of cloud cluster line is the mother of the end 5539, J connection Line number is 5870, then knows that the end the I connection cloud field of cloud cluster line becomes 500 kilovolts of mothers I, the end J is not that the group mountain of connection becomes 500 kilovolts II is female.
S3: read Relay Protection Setting Calculation System in the second data, the second data include: power grid topological data, Transmission line parameter, transformer parameter, load parameter and line length.
S4: the transformer parameter of first data is converted as transmission line of electricity;It include: that the changes of volume two are converted into a transmission of electricity Route, and or the changes of volume three are converted into three transmission lines of electricity.
S5: the permission current-carrying capacity attribute value (transformation of each transmission line of electricity in the transformer parameter in the second data is obtained The capacity of device), using the permission current-carrying capacity attribute value as the limit current-carrying capacity of the transmission line of electricity in the model of power transmission system, In the transmission line parameter for updating first data;
S6: become from parameter needed for each element describes model of matpower is chosen in first data as member Amount establishes a model, calls write-in function that the data of parameter are written in matpower file;Model of matpower Required member variable includes: generator parameter, transmission line parameter, bus parameter and transformer parameter.Model Member variable, that is, Substation parameters, bus parameter, capacitor parameters, reactor parameter and generator parameter, load parameter etc. The parameter type of element.
S7: reading data of power grid and electric grid secondary data, data of the power grid include first data and Second data, the electric grid secondary data include the relay protection constant value of transformer and transmission line of electricity, are judged in the second data Whether element title matches with element title in the first data, and element title and ginseng in the first data are retained when mismatching Number when matching, takes the content of the second data to replace the corresponding content in the first data, takes the element title pair of the second data The parameter answered replaces corresponding parameter in first data.Parameter ratio D5000 system in Relay Protection Setting Calculation System Middle parameter is more accurate.Such title is compared mutually to confirm the numerical value of data, it is ensured that electric network data it is accurate.
S8: according to the requirement of matpower file, member needed for each element describes matpower secondary model is determined Variable and the member function for carrying out data processing;Call write-in function that the topological data of power grid is written to matpower file In.Member variable needed for matpower secondary model includes: generator, transmission line of electricity, guarantor corresponding to bus and transformer Protection unit parameter specifically includes overcurrent protection definite value, low-voltage variation definite value, underfrequency protection definite value and impedance protection definite value.
S9: pre- according to transmission line forest fire forecast system, transmission line forest fire monitoring, ice damage on-line monitoring system, icing Reporting system or external force damage monitoring system form the electric network element fault set under disaster-ridden kind of coupling condition;The electric network element failure Collection includes: compromised line name, compromised time interval and the corresponding timing node in compromised time interval Tripping probability;
S10: according to the requirement of matpower file, at member variable needed for determining each failure-description and progress data The member function of reason.Data required for the disaster-ridden kind of chain calculating of coupling include power grid ontology data and operation of power networks external environment Two major class of data.Power grid ontology data be data of power grid and secondary data, wherein data of power grid refer to substation, The parameter of the elements such as bus, transformer, transmission line of electricity, capacitor, reactor, generator and load;Electric grid secondary data refer to Be protection definite value in said elements (except substation);Generation, the conversion of two class data are mutually independent of each other.Outside operation of power networks The parameters such as the degree of electric network element and threat that portion's environmental data, that is, external disaster threatens, for providing input number to grid simulation According to.
S11: call the write-in function in member function that grid topology data is written in matpower file.
In above-mentioned step, the sequence of step can be adjusted according to need, and S1-S11 does not indicate the limit to sequence of steps It is fixed.
Embodiment 2:
The present embodiment is the automated conversion system of disaster-ridden kind of 1 corresponding power grid of embodiment coupling cascading failure model, this reality Apply the automated conversion system of disaster-ridden kind of the power grid coupling cascading failure model of the D5000-matpower of example, comprising:
Data parameters obtain module, for being supported every 5 minutes using ftp mode national grid smart grid dispatching technique System D5000 obtains the file described with E language (electric power system data markup language), should include: transformer ginseng in this document Number, transmission line of alternation current, DC power transmission line, load parameter, substation, bus, capacitor, electricity in the topological data of power grid The parameters such as sensor.
Data parameters obtain module, are also used to the relay of daily automatic-calling scene definite value acquisition transformer and transmission line of electricity Protective device definite value generates xml document and is transferred to server specified folder to database;
One electrical secondary system conversion module of power grid, for obtaining power grid primary system parameter, steps are as follows:
Parsing E formatted file carries out topological data, line parameter circuit value, transformer parameter and load number that parsing obtains power grid According to;
Read topological data, line parameter circuit value, transformer parameter and the load parameter of Relay Protection Setting Calculation System power grid;
The transformer in power network topology parameter is converted as transmission line of electricity, wherein volume two become and are converted to a transmission line of electricity, three Volume, which becomes, is converted to three transmission lines of electricity;
Each transmission line of electricity (including DC power transmission line and transmission line of alternation current) allows to carry in acquisition D5000 system Flow attribution value, the power-carrying that current-carrying capacity attribute value will be allowed to be set as transmission line of electricity;
According to the call format of matpower simulation document " .m ", writes each element and describe model of matpower The member function of the member variable and progress data processing that need;
Heterogeneous Information System data match module, read power grid it is primary/secondary data, judge relay protection setting calculation system Element title, the matching of parameter in element title, parameter and D5000 system in system, it is ensured that power network topology parameter, secondary guarantor It is completely reliable to protect data;
According to the call format of matpower simulation document " .m ", writes each element and describe matpower secondary model institute The member function of the member variable and progress data processing that need;
Call the member function matpower_Write in all kinds of that character string is written in .m file.
The electric network element fault set under disaster-ridden kind of coupling condition is obtained, determines and describes each event in the electric network element fault set Parameter needed for barrier writes each failure-description according to the call format of matpower simulation document " .m " as member variable The member function of required member variable and progress data processing, obtains disaster-ridden kind of coupling cascading failure model of power grid.
Wherein, the matching process use in D5000 system, Relay Protection Setting Calculation System and definite value calling system is public The universal method opened.
The present embodiment obtains device parameter on the basis of the E formatted data to D5000 parses, and passes through data conversion Realize the topological parameter assignment of file in " .m ";Pass through the export of definite value in adaptive setting system and external environment condition parameter It automatically generates, realizes the automatic conversion of disaster-ridden kind of power grid coupling cascading failure model, mentioned for the analysis of power grid cascading failure risk For data basis.This method can avoid hard work and the emulation that artificial progress matpower modeling is Parameter Switch and typing Parameter error is difficult to the drawbacks of investigating on the spot, the accuracy that the efficiency and model for improving model generation generate.
Embodiment 3:
The present invention also provides a kind of computer system, including memory, processor and storage are on a memory and can be The step of computer program run on processor, processor realizes any of the above-described embodiment when executing computer program.
The foregoing is only a preferred embodiment of the present invention, is not intended to restrict the invention, for the skill of this field For art personnel, the invention may be variously modified and varied.All within the spirits and principles of the present invention, made any to repair Change, equivalent replacement, improvement etc., should all be included in the protection scope of the present invention.

Claims (10)

1. a kind of automatic switching method of disaster-ridden kind of the power grid of D5000-matpower coupling cascading failure model, feature exist In, comprising the following steps:
The first data are obtained from D5000 system;The second data are obtained from Relay Protection Setting Calculation System;
Based on the first data, the transformer model of the first data is converted into model of power transmission system;It takes in the first data The capacity of transformer updates as the limit current-carrying capacity of the transmission line of electricity in the model of power transmission system and arrives first data In;
Judge whether the element title in the second data matches with element title in the first data, the first number is retained when mismatching Element title and parameter in;Upon a match, the corresponding parameter of the element title of the second data is taken to replace first data In corresponding parameter;
From the first data, parameter needed for choosing description model of matpower and secondary model is divided as member variable A model and secondary model are not established;
The probability for obtaining each failure in the electric network element fault set and set under disaster-ridden kind of coupling condition, determines the power grid Parameter needed for element fault concentrates each failure of description is as member variable, on the basis of a model and secondary model On, obtain disaster-ridden kind of coupling cascading failure model of power grid.
2. the automatic conversion of disaster-ridden kind of the power grid of D5000-matpower according to claim 1 coupling cascading failure model Method, which is characterized in that further include, from Setting Management System of Protective Relaying or fault information management system acquisition transformer and The relay protection constant value of transmission line of electricity;The relay protection constant value of the transformer and transmission line of electricity is updated to first data In;
Before whether the element title for judge in the second data matches with element title in the first data and parameter, institute State method further include: read data of power grid and electric grid secondary data, data of the power grid include first data With the second data, the electric grid secondary data include the relay protection constant value of transformer and transmission line of electricity;
The relay protection constant value includes the relay protection setting value of each transmission line of electricity, the relay protection setting value packet It includes: distance protection, current protection, temperature protection and voltage protection.
3. the automatic conversion of disaster-ridden kind of the power grid of D5000-matpower according to claim 1 coupling cascading failure model Method, which is characterized in that electric network element fault set under the disaster-ridden kind of coupling condition is from one or more system below Middle acquisition: transmission line forest fire forecast system, transmission line forest fire monitoring, ice damage on-line monitoring system, icing forecast system or External force damage monitoring system;
The electric network element fault set includes: compromised line name, compromised time interval and when compromised Between in section corresponding timing node tripping probability.
4. the automatic conversion of disaster-ridden kind of the power grid of D5000-matpower according to claim 1 coupling cascading failure model Method, which is characterized in that first data include: topological data, transmission line parameter, transformer parameter and the load of power grid Parameter;Second data include: topological data, transmission line parameter, transformer parameter and the load parameter of power grid;Described Transmission line parameter in two data further include: line length.
5. the automatic conversion of disaster-ridden kind of the power grid of D5000-matpower according to claim 4 coupling cascading failure model Method, which is characterized in that described when establishing a model, secondary model and or disaster-ridden kind of coupling cascading failure model of power grid, packet It includes calling write-in function the topological data of power grid is written in matpower file;
Member variable needed for model of the matpower include: generator parameter, transmission line parameter, bus parameter with And transformer parameter;
Member variable needed for the matpower secondary model includes: corresponding to generator, transmission line of electricity, bus and transformer Protective device parameter, it is fixed to specifically include overcurrent protection definite value, low-voltage variation definite value, underfrequency protection definite value and impedance protection Value.
6. disaster-ridden kind of the power grid of D5000-matpower according to claim 4 or 5 couples the automatic of cascading failure model Conversion method, which is characterized in that the topological data of the power grid includes: Substation parameters, bus parameter, capacitor parameters, electricity Anti- device parameter, generator parameter and load parameter;
Wherein, the Substation parameters include: serial number, plant stand name, voltage class and plant stand type;
The bus parameter includes: bus name, voltage class, place topological node, voltage, phase angle, stop transport mark and calculating Node;
The capacitor parameters include title, voltage class, rated capacity, voltage rating, link position, place topological node, Active power, reactive power, stop transport mark and calculate node;
The reactor parameter include title, voltage class, rated capacity, voltage rating, link position, place topological node, Active power, reactive power, stop transport mark and calculate node;
The generator parameter includes: generator name, equivalent generator mark, equivalent position, voltage rating, rated capacity, connects Enter network voltage grade, place topological node, active power, reactive power, set end voltage, set end voltage phase angle, stop transport mark, The active power upper limit, active power lower limit, the reactive power upper limit, reactive power lower limit, rated power factor and calculate node.
7. disaster-ridden kind of the power grid of D5000-matpower according to claim 4 or 5 couples the automatic of cascading failure model Conversion method, which is characterized in that
The transformer parameter includes: transformer name, winding type, high-voltage end voltage class, intermediate voltage terminal voltage class, low-pressure end Voltage class, high-voltage end rated capacity, intermediate voltage terminal rated capacity, low-pressure end rated capacity, high-voltage end tap highest gear, height Pressure side tap lowest gear, the specified gear of high-voltage end tap, high-voltage end tap be differential, high-voltage end voltage rating, middle pressure Hold tap highest gear, intermediate voltage terminal tap lowest gear, the specified gear of intermediate voltage terminal tap, intermediate voltage terminal tap it is differential, Intermediate voltage terminal voltage rating, low-pressure end voltage rating, high-voltage winding resistance, high-voltage winding reactance, middle pressure winding resistance, middle pressure winding Topological node, low-pressure end institute where topological node, intermediate voltage terminal where reactance, low pressure winding resistance, low pressure winding reactance, high-voltage end Mark is cut-off in topological node, high-pressure side, medium voltage side cut-offs mark, low-pressure side cut-offs mark, high-voltage end calculate node, intermediate voltage terminal Calculate node, low-pressure end calculate node, high-voltage winding reactance per unit value, middle pressure winding resistance per unit value, middle pressure winding reactance mark Value, low pressure winding resistance per unit value, low pressure winding reactance per unit value;
The transmission line parameter includes transmission line of alternation current parameter, the transmission line of alternation current parameter include: alternating current circuit name, Where topological node, the end J where voltage class, equivalent road way signs, line resistance, line reactance, line one-end susceptance, the end I Topological node, the end I cut-off mark, mark is cut-off at the end J, allow current-carrying capacity, the end I electrical island number, the end J electrical island number, line resistance Per unit value, line reactance per unit value and line one-end susceptance per unit value;
The load parameter include: load name, voltage class, duty value mark, equivalent link position, place topological node, Active power, reactive power, stop transport mark and calculate node.
8. disaster-ridden kind of coupling cascading failure mould of the power grid of D5000-matpower according to any one of claim 1 to 5 The automatic switching method of type, which is characterized in that the transformer parameter by the first data is converted to transmission line of electricity, comprising: will Volume two become and are converted to a transmission line of electricity, and or the changes of volume three are converted into three transmission lines of electricity.
9. disaster-ridden kind of coupling cascading failure mould of the power grid of D5000-matpower according to any one of claim 1 to 5 The automatic switching method of type, which is characterized in that
By the period 1 from the E formatted file in D5000 system, comprising the following steps:
Substation data card is read, substation's class set is obtained;
Bus data card is read, bus class set is obtained;
ACline data card is read, alternating current circuit class set is obtained;
DCline data card is read, DC line class set is obtained;
Transformer data card is read, transformer class set is obtained;
Unit data card is read, electric machinery set is obtained;
Compensator_P, Compensator_S data card are read, capacitor class, reactor class set are obtained;
The parsing E formatted file obtains the first data of power grid, including generates the power grid according to the E formatted file Topological data, comprising the following steps:
Judge title and alternating current circuit, the end the I place topological node attribute of DC line element B or the end J institute of bus bar elements A It is whether consistent in topological node, if the end I or the end J of consistent then element B connect bus A;
Topology where topological node attribute where judging the title of bus bar elements A and the end I of the transformer element C of volume two or the end J Whether node is consistent, if the end I or the end J of consistent then element C connect bus A;
Topology where topological node where judging the title of bus bar elements A and the high-voltage end of three-circuit transformer element D or intermediate voltage terminal Whether topological node where node or low-pressure end is consistent, if the consistent then corresponding high-voltage end of element D or intermediate voltage terminal or low Press bond bus A;
Whether the title for judging bus bar elements A and the place topological node title of generator element E are consistent, if consistent then element The leading-out terminal of E connects bus A;
Judge whether title and the place topological node title of capacitor or reactor element F of bus bar elements A are consistent, if one Cause then element F connection bus A;
For each element number, the topological data of power grid is formed.
10. a kind of computer system, can run on a memory and on a processor including memory, processor and storage Computer program, which is characterized in that the processor is realized in the claims 1 to 9 when executing the computer program appoints The step of one the method.
CN201910728975.9A 2019-08-08 2019-08-08 Automatic conversion method and system for D5000-matpower grid multi-disaster coupling cascading failure model Active CN110489729B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910728975.9A CN110489729B (en) 2019-08-08 2019-08-08 Automatic conversion method and system for D5000-matpower grid multi-disaster coupling cascading failure model

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910728975.9A CN110489729B (en) 2019-08-08 2019-08-08 Automatic conversion method and system for D5000-matpower grid multi-disaster coupling cascading failure model

Publications (2)

Publication Number Publication Date
CN110489729A true CN110489729A (en) 2019-11-22
CN110489729B CN110489729B (en) 2022-12-06

Family

ID=68550295

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910728975.9A Active CN110489729B (en) 2019-08-08 2019-08-08 Automatic conversion method and system for D5000-matpower grid multi-disaster coupling cascading failure model

Country Status (1)

Country Link
CN (1) CN110489729B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112115606A (en) * 2020-09-15 2020-12-22 电子科技大学中山学院 Conversion method and system for steady-state model of D5000-BPA power system
CN115115220A (en) * 2022-06-27 2022-09-27 山东大学 New energy cascading failure risk assessment method and system for direct current sending end system
CN115115220B (en) * 2022-06-27 2024-04-26 山东大学 New energy cascading failure risk assessment method and system for Direct Current (DC) transmitting end system

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102567603A (en) * 2010-12-16 2012-07-11 安徽省电力公司 Method for automatically generating BPA calculation file based on actual measurement topology and measured data
WO2014173131A1 (en) * 2013-04-23 2014-10-30 国家电网公司 Large power grid overall situation on-line integrated quantitative evaluation method based on response
CN106356846A (en) * 2016-10-18 2017-01-25 国网山东省电力公司烟台供电公司 Time-based initial-stage power grid cascading failure analog simulation method
CN108847973A (en) * 2018-06-08 2018-11-20 国网四川省电力公司信息通信公司 The method for building up of the cascading failure analysis model of electric power CPS based on cellular automata
CN110070286A (en) * 2019-04-19 2019-07-30 国网湖南省电力有限公司 Disaster-ridden kind of coupling grid cascading failure analysis method of power grid and system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102567603A (en) * 2010-12-16 2012-07-11 安徽省电力公司 Method for automatically generating BPA calculation file based on actual measurement topology and measured data
WO2014173131A1 (en) * 2013-04-23 2014-10-30 国家电网公司 Large power grid overall situation on-line integrated quantitative evaluation method based on response
CN106356846A (en) * 2016-10-18 2017-01-25 国网山东省电力公司烟台供电公司 Time-based initial-stage power grid cascading failure analog simulation method
CN108847973A (en) * 2018-06-08 2018-11-20 国网四川省电力公司信息通信公司 The method for building up of the cascading failure analysis model of electric power CPS based on cellular automata
CN110070286A (en) * 2019-04-19 2019-07-30 国网湖南省电力有限公司 Disaster-ridden kind of coupling grid cascading failure analysis method of power grid and system

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112115606A (en) * 2020-09-15 2020-12-22 电子科技大学中山学院 Conversion method and system for steady-state model of D5000-BPA power system
CN115115220A (en) * 2022-06-27 2022-09-27 山东大学 New energy cascading failure risk assessment method and system for direct current sending end system
CN115115220B (en) * 2022-06-27 2024-04-26 山东大学 New energy cascading failure risk assessment method and system for Direct Current (DC) transmitting end system

Also Published As

Publication number Publication date
CN110489729B (en) 2022-12-06

Similar Documents

Publication Publication Date Title
Northcote-Green et al. Control and automation of electrical power distribution systems
CN104123271B (en) Intelligent substation secondary design system based on Excel
CN101425681B (en) Relay protection on-line check method for electric grid system
CN105576660B (en) Local distribution network in-circuit emulation analytical equipment and system
CN102184209A (en) Simulation data accessing method based on power grid CIM (Common Information Model) interface
CN102598629B (en) For issuing the method and system of data from intelligent electronic device
CN102937685A (en) Real-time simulation technique-based integrated testing platform for substation
CN102495850A (en) Method for splicing multi-stage multi-region interconnected power grid relay protection model
CN106130781B (en) Transformer fault cumulative effect appraisal procedure based on power distribution network topological model
CN108241771A (en) Secondary device modeling method based on electromagnetic transient simulation platform
CN104992382A (en) Data fusion method facing current situation assessment of power distribution network
CN105678651A (en) Power grid big data quality standardization-based power grid information management system and method
CN103227450B (en) On-line failure recovery method and system
CN113659538A (en) Distribution network intelligent setting method and system based on self-adaptive setting principle
CN108551166A (en) A kind of grid equipment and section ultra-short term, alarm and steady prosecutor method
Kincic et al. Bridging the gap between operation and planning models in WECC
CN108493893A (en) A kind of system reducing distribution line tripping times
CN103455678B (en) Quadratic Imaginary loop chart collaborative design method based on the empty terminal of standardization
CN106981876A (en) Distribution network reliability evaluation method based on line segment model
CN110489729A (en) The automatic switching method and system of disaster-ridden kind of the power grid of D5000-matpower coupling cascading failure model
CN109871566A (en) Circuit construction method and storage medium based on power network topology technology
CN107292524A (en) Intelligent substation secondary safety measure automatic generation method and device
Chakraborty et al. Soft computing techniques in voltage security analysis
CN105762932B (en) A kind of intelligent substation intelligent warning system based on Plugin Mechanism
CN112465168B (en) Automatic configuration method of graph-model integrated intelligent wave recorder based on configuration

Legal Events

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