CN111783373A - Topology analysis method of PSCAD simulation model - Google Patents

Topology analysis method of PSCAD simulation model Download PDF

Info

Publication number
CN111783373A
CN111783373A CN202010490339.XA CN202010490339A CN111783373A CN 111783373 A CN111783373 A CN 111783373A CN 202010490339 A CN202010490339 A CN 202010490339A CN 111783373 A CN111783373 A CN 111783373A
Authority
CN
China
Prior art keywords
elements
pscad
coordinate
serial numbers
node
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.)
Pending
Application number
CN202010490339.XA
Other languages
Chinese (zh)
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
Global Energy Interconnection Research Institute
Economic and Technological Research Institute of State Grid Jiangsu Electric Power Co Ltd
Original Assignee
State Grid Corp of China SGCC
Global Energy Interconnection Research Institute
Economic and Technological Research Institute of State Grid Jiangsu 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, Global Energy Interconnection Research Institute, Economic and Technological Research Institute of State Grid Jiangsu Electric Power Co Ltd filed Critical State Grid Corp of China SGCC
Priority to CN202010490339.XA priority Critical patent/CN111783373A/en
Publication of CN111783373A publication Critical patent/CN111783373A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F30/00Computer-aided design [CAD]
    • G06F30/30Circuit design
    • G06F30/31Design entry, e.g. editors specifically adapted for circuit design
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F30/00Computer-aided design [CAD]
    • G06F30/30Circuit design
    • G06F30/39Circuit design at the physical level
    • G06F30/392Floor-planning or layout, e.g. partitioning or placement

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Evolutionary Computation (AREA)
  • Geometry (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Architecture (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention provides a topological analysis method of a PSCAD simulation model. Constructing an element coordinate analysis function, realizing the analysis of each element coordinate in a PSCAD element library, and calculating the coordinates of all external nodes of the element by giving a reference coordinate and a direction; establishing a file information extraction function, reading a PSCAD simulation model file, and extracting element parameters and element actual coordinates used in the model; constructing a topology analysis function of the elements, summarizing actual coordinates of the elements, defining each coordinate as a node, and obtaining node serial numbers of all external nodes of different elements; and outputting the parameter information and the node serial numbers of all the elements, acquiring the parameters of all the elements, obtaining the corresponding positions of different elements according to the node serial numbers, and combining the parameter information and the node serial numbers to realize the topology analysis of the PSCAD simulation file. The invention can effectively carry out the digitization of the PSCAD graphical simulation model and is convenient for directly utilizing the data.

Description

Topology analysis method of PSCAD simulation model
Technical Field
The invention relates to an analysis method of a PSCAD simulation model, in particular to a topological analysis method of the PSCAD simulation model.
Technical Field
The PSCAD simulation software is special simulation software in the power system, and a user can realize simulation in various fields of the power system by using elements in the element library or various self-defined elements through an excellent graphical interface. After the simulation model is built, the PSCAD simulation software solves the model by using a time domain analysis method, and the method has the advantages of high simulation precision, accurate conclusion and the like. Since the solution method of the PSCAD simulation software is fixed, if a user needs to calculate by using another solution method, or verifies the correctness or validity of another solution method, direct comparison cannot be performed. The PSCAD simulation model file is analyzed to obtain the parameters and topological structure information of the elements, so that data can be conveniently provided for verifying the model by other solving methods.
Disclosure of Invention
The invention aims to provide a topological analysis method of a PSCAD simulation model.
The technical scheme of the invention is a topological analysis method of a PSCAD simulation model, which comprises the following steps:
step 1: constructing an element coordinate analysis function, realizing the analysis of each element coordinate in a PSCAD element library, and calculating the coordinates of all external nodes of the element by giving a reference coordinate and a direction;
step 2: establishing a file information extraction function, reading a PSCAD simulation model file, and extracting element parameters and element actual coordinates used in the model;
and step 3: constructing a topology analysis function of the elements, summarizing actual coordinates of the elements, merging redundant coordinates, defining each merged coordinate set as a node, and obtaining node serial numbers of all external nodes of different elements;
and 4, step 4: and outputting the parameter information and the node serial numbers of all the elements, acquiring the parameters of all the elements, obtaining the corresponding positions of different elements according to the node serial numbers, and combining the parameter information and the node serial numbers to realize the topology analysis of the PSCAD simulation file.
The invention has the beneficial effects that:
the element parameters and the topological structure of the PSCAD simulation model are obtained through analysis of the PSCAD simulation model, so that data can be recycled, and the data can be conveniently led into other systems for testing.
The invention is further described with reference to the following figures.
Drawings
FIG. 1 is an illustration of a reference node, a component orientation, and an outlying node of a typical component in a PSCAD component library of the present invention;
FIG. 2 is a schematic illustration of the element of FIG. 1 of the present invention rotated 90 to the right;
FIG. 3 is a schematic diagram of a simple PSCAD simulation model of the present invention;
FIG. 4 is a diagram illustrating the result of extracting information from FIG. 3 according to the present invention;
FIG. 5 is a set of coordinates of all of the elements of FIG. 3 in accordance with the present invention;
FIG. 6 is a block diagram of the coordinate set update with redundant nodes removed according to the present invention;
FIG. 7 is a set of independent nodes after redundant node removal by the node of FIG. 5 in accordance with the present invention;
FIG. 8 is a labeled diagram of nodes of various components of the simulation model of FIG. 3 according to the present invention.
Detailed Description
And (3) for the step 1, constructing an element coordinate analysis function, realizing the analysis of each element coordinate in the PSCAD element library, and calculating the coordinates of all external nodes of the element by giving a reference coordinate and a direction. The specific embodiment is as follows.
Step 1 is a pre-analysis step of a topological analysis model of a PSCAD simulation model, and aims to analyze elements in an element library carried in PSCAD simulation software. The components in the component library are illustrated by taking a typical component as an example, and the reference coordinates, the directions and the external nodes are defined as shown in fig. 1.
As can be seen in fig. 1, the element has one reference coordinate, indicated by a circle, and three circumscribed coordinates, indicated by boxes.
From the component properties, it can be seen that the component reference coordinate is (x, y) ═ 162,90, and the component direction is 0.
The three external coordinates are calculated as follows:
Figure BDA0002520728010000021
when the orientation of the element is changed, fig. 2 shows the element in fig. 1 turned 90 ° to the right, and it can be seen from the attributes that its reference coordinates (x, y) are still (162,90), and the orientation of the element is changed to 1, and then its three extrinsic coordinate calculation formulas are as follows:
Figure BDA0002520728010000022
for different elements in the element library, corresponding external coordinate analysis functions are required to be compiled according to the reference coordinates and the directions of the elements, and the reason is that the reference coordinates of the elements are only used for displaying the positions of the elements in the topology, and the elements are directly connected with each other through the external coordinates, so that all the external coordinates of the elements need to be obtained firstly.
Different coordinate analysis functions are required to be constructed for different elements and different directions of the same element, and the purpose is to finish the extraction of the actual connection node coordinates of the elements, so that the coordinate analysis functions of different elements are different and are difficult to express by a uniform formula.
Therefore, in the process of analyzing the element coordinates, firstly, what specific element is determined, then, the direction is determined, and then, a corresponding separate analysis function is called to output the node coordinates of the element.
And 2, constructing a file information extraction function, reading a PSCAD simulation model file, and extracting element parameters and actual element coordinates used in the model.
Taking the simulation model shown in fig. 3 as an example, the extracted information is shown in fig. 4.
In fig. 3, it can be seen that the common power supply element, the resistance element, the inductance element, and the ground element are connected by three wires.
It can be seen that the graphical topology program is subjected to preliminary analysis, and element types, coordinates and parameters in the graphical topology program are extracted.
Step 3, constructing a topology analysis function of the elements, summarizing actual coordinates of the elements, merging redundant coordinates, defining each merged coordinate set as a node, and obtaining node serial numbers of all external nodes of different elements;
in fig. 4, the set of all the coordinates is derived as shown in fig. 5.
In fig. 3, there are three conductors connecting the power supply element, the resistance element, the inductance element, and the ground element, respectively.
The coordinates connected by the wires can be regarded as a node, so that the redundant coordinates are removed from the coordinate set shown in fig. 5, the redundant coordinate removal process is shown in fig. 6, and the obtained independent node is shown in fig. 7.
When redundant coordinate removal is performed, two coordinates are considered to be connected and considered to be the same node when they have the following condition.
(1) The coordinates of the two nodes are the same;
(2) the two nodes are connected through a straight line segment;
(3) the two nodes are connected through a broken line segment;
(4) two nodes have a variable name;
in fig. 7, it can be seen that the model has three independent nodes, named node 1, node 2, and node 3, respectively.
According to the coordinates of each element in fig. 4, the coordinate labeling can be performed on the external nodes of each element in the PSCAD simulation model, and the labeling result is shown in fig. 8. As a specific implementation, in fig. 4, it can be seen that the power supply element (source _1) has coordinates of [ (0, 0); (324,216) ], in conjunction with FIG. 7, it can be seen that coordinate (0,0) is located in node 1 (first row) and coordinate (324,216) is located in node 2 (second row), so the independent node numbers across source _1 are [1,2 ]; similarly, the independent node at the two ends of the resistance element is [2,3], the independent node at the two ends of the inductance element is [3,1], and the power element and the resistance element both have the independent node 2, which indicates that the power element and the resistance element are connected with each other.
And 4, outputting the parameter information and the node serial numbers of all the elements, acquiring the parameters of all the elements, obtaining the corresponding positions of different elements according to the node serial numbers, and combining the parameter information and the node serial numbers to realize the topological analysis of the PSCAD simulation file. Through the step, the graphical simulation model is subjected to data output, the parameter information and the node information of each element are output, and the extracted information can be subjected to customized output according to the requirements of users.
According to the method, the wire information and the element information in the PSCAD simulation model are extracted, the redundant nodes are removed, the independent nodes in the topological structure of the simulation model are reserved, then the coordinate information of the elements is combined, the serial numbers of the independent nodes to which the elements belong are determined, and if the serial numbers of the independent nodes to which the two elements belong are consistent, the two elements are proved to be connected. The implementation of the invention can carry out digital output on the graphical information of the PSCAD simulation model, thereby facilitating the secondary development and utilization of data.
The above embodiments are provided only for illustrating the present invention and not for limiting the present invention, and those skilled in the art can make various changes and modifications without departing from the spirit and scope of the present invention, and therefore all equivalent technical solutions should also fall within the scope of the present invention, and should be defined by the claims.

Claims (1)

1. A topology analysis method of a PSCAD simulation model is characterized by comprising the following steps:
step 1: constructing an element coordinate analysis function, realizing the analysis of each element coordinate in a PSCAD element library, and calculating the coordinates of all external nodes of the element by giving a reference coordinate and a direction;
step 2: establishing a file information extraction function, reading a PSCAD simulation model file, and extracting element parameters and element actual coordinates used in the model;
and step 3: constructing a topology analysis function of the elements, summarizing actual coordinates of the elements, merging redundant coordinates, defining each merged coordinate set as a node, and obtaining node serial numbers of all external nodes of different elements;
and 4, step 4: and outputting the parameter information and the node serial numbers of all the elements, acquiring the parameters of all the elements, obtaining the corresponding positions of different elements according to the node serial numbers, and combining the parameter information and the node serial numbers to realize the topology analysis of the PSCAD simulation file.
CN202010490339.XA 2020-06-02 2020-06-02 Topology analysis method of PSCAD simulation model Pending CN111783373A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010490339.XA CN111783373A (en) 2020-06-02 2020-06-02 Topology analysis method of PSCAD simulation model

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010490339.XA CN111783373A (en) 2020-06-02 2020-06-02 Topology analysis method of PSCAD simulation model

Publications (1)

Publication Number Publication Date
CN111783373A true CN111783373A (en) 2020-10-16

Family

ID=72753308

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010490339.XA Pending CN111783373A (en) 2020-06-02 2020-06-02 Topology analysis method of PSCAD simulation model

Country Status (1)

Country Link
CN (1) CN111783373A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114938401A (en) * 2022-03-21 2022-08-23 北京思信飞扬信息技术股份有限公司 Configurable network protocol data analysis method and electronic equipment

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102930110A (en) * 2012-11-12 2013-02-13 浙江省电力公司电力科学研究院 Method of producing power system computer aided design (PSCAD)/ electromagnetic transients including DC (EMTDC) electrical power system simulation model
CN104699907A (en) * 2015-03-24 2015-06-10 国家电网公司 Method for automatically converting electromagnetism transient models and element pictures from PSCAD (power system computer aided design) to ADPSS (advanced digital power system simulator)
US20180241202A1 (en) * 2015-08-11 2018-08-23 Efacec Energia, Máquinas E Equipamentos Eléctricos, S.A. Fault current managing branch for surge-less current interruption in dc system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102930110A (en) * 2012-11-12 2013-02-13 浙江省电力公司电力科学研究院 Method of producing power system computer aided design (PSCAD)/ electromagnetic transients including DC (EMTDC) electrical power system simulation model
CN104699907A (en) * 2015-03-24 2015-06-10 国家电网公司 Method for automatically converting electromagnetism transient models and element pictures from PSCAD (power system computer aided design) to ADPSS (advanced digital power system simulator)
US20180241202A1 (en) * 2015-08-11 2018-08-23 Efacec Energia, Máquinas E Equipamentos Eléctricos, S.A. Fault current managing branch for surge-less current interruption in dc system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114938401A (en) * 2022-03-21 2022-08-23 北京思信飞扬信息技术股份有限公司 Configurable network protocol data analysis method and electronic equipment

Similar Documents

Publication Publication Date Title
CN108334572A (en) A kind of power network topology analysis automotive engine system and method based on chart database
CN107786000B (en) Intelligent generation method for configuration file of digital relay protection tester
CN110705078B (en) Simulation model development system and analysis method of nuclear power plant
CN107247827B (en) Virtual terminal model modeling and automatic wiring method based on machine learning
CN114357925A (en) Parasitic parameter acquisition method and device
CN111711677A (en) Virtual and real loop visualization method, system and medium for process layer switch of intelligent substation
CN104699907A (en) Method for automatically converting electromagnetism transient models and element pictures from PSCAD (power system computer aided design) to ADPSS (advanced digital power system simulator)
CN115563303A (en) Intelligent substation secondary virtual loop functionality verification method and system
CN112287423A (en) Power distribution network visual planning method and terminal based on graph-model integration
Yao et al. Contingency analysis based on partitioned and parallel holomorphic embedding
CN111783373A (en) Topology analysis method of PSCAD simulation model
CN117390810A (en) Terminal wiring automatic drawing method and terminal equipment
CN117112630B (en) Topological structure generation method, device and equipment of power grid data and storage medium
CN106802958A (en) Conversion method and system of the CAD data to GIS data
CN113705143B (en) Automatic simulation system and automatic simulation method
CN111611665A (en) Intelligent substation design method based on three-dimensional modular design
CN117272974A (en) Verification method and device for SCL (substation configuration file) of intelligent substation and related equipment
CN115659700B (en) Waveform automatic contrast analysis method, apparatus and medium based on signal dependency relationship
CN108563810B (en) Method for automatically wiring and generating report
CN108563898B (en) Man-machine interactive single-line digital modeling method for power grid
CN108829968A (en) Circuit diagram checking method based on Python spread function
CN113434658A (en) Thermal power generating unit operation question-answer generation method, system, equipment and readable storage medium
CN111798564A (en) PDS three-dimensional model conversion system and implementation method thereof
CN116628275B (en) Method for realizing bidirectional conversion between graph database and standardized topology
CN113191109B (en) AutoCAD-based circuit model extraction method, storage medium and electronic equipment

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20201016