CN112579827A - Data-driven power system data processing method and system - Google Patents

Data-driven power system data processing method and system Download PDF

Info

Publication number
CN112579827A
CN112579827A CN202011317749.0A CN202011317749A CN112579827A CN 112579827 A CN112579827 A CN 112579827A CN 202011317749 A CN202011317749 A CN 202011317749A CN 112579827 A CN112579827 A CN 112579827A
Authority
CN
China
Prior art keywords
data
power system
model
equipment
file
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
CN202011317749.0A
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
China Electric Power Research Institute Co Ltd CEPRI
State Grid Ningxia Electric Power Co Ltd
Electric Power Research Institute of State Grid Ningxia Electric Power Co Ltd
Original Assignee
State Grid Corp of China SGCC
China Electric Power Research Institute Co Ltd CEPRI
State Grid Ningxia Electric Power Co Ltd
Electric Power Research Institute of State Grid Ningxia 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, China Electric Power Research Institute Co Ltd CEPRI, State Grid Ningxia Electric Power Co Ltd, Electric Power Research Institute of State Grid Ningxia Electric Power Co Ltd filed Critical State Grid Corp of China SGCC
Priority to CN202011317749.0A priority Critical patent/CN112579827A/en
Publication of CN112579827A publication Critical patent/CN112579827A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/80Information retrieval; Database structures therefor; File system structures therefor of semi-structured data, e.g. markup language structured data such as SGML, XML or HTML
    • G06F16/81Indexing, e.g. XML tags; Data structures therefor; Storage structures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/80Information retrieval; Database structures therefor; File system structures therefor of semi-structured data, e.g. markup language structured data such as SGML, XML or HTML
    • G06F16/84Mapping; Conversion
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces
    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Business, Economics & Management (AREA)
  • General Engineering & Computer Science (AREA)
  • Health & Medical Sciences (AREA)
  • Economics (AREA)
  • Databases & Information Systems (AREA)
  • Data Mining & Analysis (AREA)
  • General Health & Medical Sciences (AREA)
  • Public Health (AREA)
  • Water Supply & Treatment (AREA)
  • Human Computer Interaction (AREA)
  • Human Resources & Organizations (AREA)
  • Marketing (AREA)
  • Primary Health Care (AREA)
  • Strategic Management (AREA)
  • Tourism & Hospitality (AREA)
  • General Business, Economics & Management (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention provides a data processing method and a data processing system for a data-driven power system, wherein the data processing method comprises the following steps: collecting power data in a power system; inputting the power data into a pre-constructed power system data model, and calculating to obtain identifiable general data language information; interacting with a visual interface according to the data language information to obtain the network connection relation and the equipment attribute information of the power system; calculating a model needing to be output based on the network connection relation and the equipment attribute information to obtain a final power system data support file; wherein the pre-built power system data model comprises: the power system comprises a front part and a main part which are composed of XML files of a power system; the method and the device can efficiently process the data of the power system by utilizing the data model of the power system aiming at the data driving.

Description

Data-driven power system data processing method and system
Technical Field
The invention belongs to the technical field of electric power system data model processing, and relates to a data-driven electric power system data processing method and system.
Background
The information physical system constructs a complex system with the mutual mapping, timely interaction and efficient cooperation of human, machine, object, environment, information and other elements in the physical space and the information space through integrating advanced information technologies such as sensing, calculation, communication, control and the like and automatic control technologies, and realizes the on-demand response, rapid iteration and dynamic optimization of resource configuration and operation in the system. Under the wave of an information physical system, the safe, stable and economic operation of the power system can be realized through related technologies, and high-quality services which are customized according to needs, quick in response and comprehensive in coverage are provided for users. The core of the electric power information physical system is to establish a data model of the electric power system and application services thereof and provide a data-driven modeling, analyzing, predicting, simulating and controlling method.
The data-driven power system modeling method firstly needs to realize the separation of data, a model and an algorithm, has similar technologies in the software industry, and has a complete theory and a plurality of mature applications. However, the power software system is known by a strict data structure and a procedural processing mode, which brings serious defects of flexibility and reusability. The existing data model tool can only process single data one by one, the application range is reduced, the recycling probability is low, massive calculation cannot be carried out on huge data in a system, and the module operation of the existing data model is complex and not simple and convenient.
Disclosure of Invention
In order to overcome the defects of the prior art, the invention provides a data processing method of a data-driven power system, which comprises the following steps:
collecting power data in a power system;
inputting the power data into a pre-constructed power system data model, and calculating to obtain identifiable general data language information;
interacting with a visual interface according to the data language information to obtain the network connection relation and the equipment attribute information of the power system;
calculating a model needing to be output based on the network connection relation and the equipment attribute information to obtain a final power system data support file;
wherein the pre-built power system data model comprises: the power system XML file comprises a front part and a main part.
Preferably, the building of the power system data model includes:
constructing a front part of the XML file of the power system by adopting the elements with the dependency relationship, and constructing a main part of the XML file of the power system by adopting the elements with the equipment;
and constructing a power system data model by using the front part and the main part of the power system XML file.
Preferably, the inputting the power data into a pre-constructed power system data model, and calculating to obtain recognizable general data language information includes:
inputting the electric power data into a pre-constructed electric power system data model to be converted into a required XML file;
converting the XML file into a root QHash data structure;
and converting the pre-file and the citation equipment based on the root QHash data structure to obtain identifiable general data language information.
Preferably, the converting the pre-file based on the root QHash data structure to obtain recognizable general data language information includes:
extracting type and ID attributes based on a dependency file of the power system, the dependency file comprising: a specific model device and its parameters, associated devices and enumeration types;
carrying out root Qhash data construction on the type and the ID attribute in the dependent file of the front file, wherein the first layer of primary construction Key is the type and the value is Qhash, the second layer of primary construction Key is the ID and the value is a Qhash-form use object;
and obtaining identifiable general data language information according to the type of the first-layer primary construction and the ID of the second-layer primary construction.
Preferably, the converting the citation device based on the root QHash data structure to obtain recognizable general data language information includes:
extracting an equipment ID based on an equipment file of the power system, wherein the equipment file comprises a name, an ID, a type, contained equipment, affiliated equipment, equipment parameters and graphic information;
carrying out root Qhash data construction on the device ID in the reference device, wherein the Key constructed at the first layer for the second time contains the device ID;
and obtaining identifiable general data language information according to the equipment ID.
Preferably, the interacting with the visual interface according to the data language information to obtain the network connection relationship and the equipment attribute information of the power system includes:
interacting with a network model of a visual interface according to the data language information to obtain a network connection relation of the power system;
and interacting with the attribute model of the visual interface according to the data language information to obtain the attribute information of the power system equipment.
Preferably, the interacting with the network model of the visual interface according to the data language information to obtain the network connection relationship of the power system includes:
interacting with a network model of a visual interface according to the data language information, and reading the direct contained equipment by adopting an interpreter for given equipment;
drawing the corresponding network on an interface according to the graphic elements, positions and connection relations of the equipment, and storing all node data into an independent XML for loading by a front part to obtain the network connection relation of the power system.
Preferably, the interacting with the attribute model of the visual interface according to the data language information to obtain the attribute information of the power system device includes:
generating an attribute interface with a latticed layout by adopting an interpreter according to the data language information and given equipment of a visual interface;
and sequentially adding label and editor pairs according to the attribute interface and the attribute model in a column increasing mode, and binding matched data to obtain the attribute information of the power system equipment.
Preferably, the calculating a model to be output based on the network connection relationship and the device attribute information to obtain a final power system data support file includes:
based on the network connection relation and the equipment attribute information, carrying out iterative search by taking the calculation object as an initial point and the included equipment as a search direction to obtain all relevant equipment;
for each device in all the related devices, establishing an algorithm model class according to an algorithm model, and associating related data;
establishing an algorithm model class according to the algorithm model, and associating related data to call, acquire and calculate;
returning to the corresponding equipment algorithm model according to the calculated result;
and generating a final power system data support file according to an output model in the equipment algorithm model.
Based on the same inventive concept, the present application further provides a data-driven power system data processing system, comprising: the system comprises an acquisition module, an input calculation module, an interaction module and a data support module;
the acquisition module is used for acquiring power data in a power system;
the input calculation module is used for inputting the electric power data into a pre-constructed electric power system data model and calculating to obtain identifiable general data language information;
the interaction module is used for interacting with a visual interface according to the data language information to obtain the network connection relation of the power system and the equipment attribute information;
the data support module is used for calculating a model needing to be output based on the network connection relation and the equipment attribute information to obtain a final power system data support file;
wherein the pre-built power system data model comprises: the power system XML file comprises a front part and a main part.
Compared with the closest prior art, the invention has the following beneficial effects:
1. the invention provides a data processing method and a data processing system for a data-driven power system, which comprise the following steps: collecting power data in a power system; inputting the power data into a pre-constructed power system data model, and calculating to obtain identifiable general data language information; interacting with a visual interface according to the data language information to obtain the network connection relation and the equipment attribute information of the power system; calculating a model needing to be output based on the network connection relation and the equipment attribute information to obtain a final power system data support file; wherein the pre-built power system data model comprises: the power system comprises a front part and a main part which are composed of XML files of a power system; the method can efficiently process the data of the power system by utilizing the data model of the power system aiming at data driving, simplifies the operation steps and greatly improves the utilization rate;
2. the invention improves the flexibility and reusability of the model and enlarges the application range;
3. the invention can provide data support for advanced application of the power information physical system and can carry out massive calculation aiming at huge data in the system.
Drawings
Fig. 1 is a schematic flow chart of a data processing method for a data-driven power system according to the present invention;
FIG. 2 is a schematic diagram of a basic framework of a data processing system of a data-driven power system according to the present invention;
FIG. 3 is a detailed framework diagram of a data-driven power system according to the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention is further described in detail with reference to the following embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
Example 1:
as shown in fig. 1, a data processing method of a data-driven power system according to an embodiment of the present invention includes:
step 1: collecting power data in a power system;
step 2: inputting the power data into a pre-constructed power system data model, and calculating to obtain identifiable general data language information;
and step 3: interacting with a visual interface according to the data language information to obtain the network connection relation and the equipment attribute information of the power system;
and 4, step 4: calculating a model needing to be output based on the network connection relation and the equipment attribute information to obtain a final power system data support file;
wherein the pre-built power system data model comprises: the power system XML file comprises a front part and a main part.
The invention aims to provide a data-driven power system data processing method for a power system, which provides data support for high-level application of a power information physical system and provides unit-level module support for the power information physical system.
Step 1: collecting power data in a power system;
the embodiment specifically performs data conversion on all power data in the power system, wherein the power data include various data of links such as power generation, power transformation, power transmission, power distribution and power utilization, and the data can guide the future control direction of the existing power system in the power system, but the existing data model tool can only process single data one by one, and the operation is not convenient and fast and consumes time, so that the data model of the power system is provided.
Firstly, establishing a data model of a power system;
secondly, an input method of the electric power data is provided;
and thirdly, providing a using method of the power data, wherein the using method comprises an interface interaction method, an algorithm using method and a data output method.
The method for establishing the data model of the power system is characterized in that:
(1) the power system data model is represented by an XML file; the power system XML file consists of a front part and a main part.
(2) The front part of the XML file of the power system is elements for representing the dependency relationship, each dependency element points to one XML file, and the elements need to be loaded firstly when in use. Each independent element in the dependency file contains a type and an ID attribute, and the power system body part uses the dependent element by type and ID. The dependency file may be used to represent a particular model device and its parameters, associated devices, enumerated types, etc.
(3) The main body portion of the power system XML file is an element representing a device. The device comprises data such as name, ID, type, contained device, belonging device, device parameter, graphic information, model and the like, each item of data is represented by one element and nested elements thereof, and the specific details are as follows:
1) for basic type data such as character strings, integers, real numbers and the like, one basic element is used for representing, the attributes of the basic element comprise names, values, types, editors and the like, the names are necessary attributes, the default values of the values are 0, the default types of the types are character strings, and the default objects of the editors are text boxes.
2) For the extended type data such as complex numbers, vectors, conventional matrixes, sparse matrixes, enumeration and the like, a plurality of nested elements are used for representing, and the final leaf elements are basic elements; such that the complex number includes a real part and an imaginary part; the vector includes vector dimensions, type, and vector element values; the conventional matrix comprises row number, column number, type and matrix element value; the sparse matrix comprises a row number, a column number, a type, a unit number and a matrix unit, wherein the matrix unit comprises three elements of a row number, a column number and a value; enumeration includes the number of members, the values of each member, and an editor, where the default editor is a combo box.
3) Reference type data for a specific model device and its parameters, associated devices, models, etc. is characterized by containing elements such as name, type, reference ID, editor, etc., and the default editor is a button. The reference object can be found by reference type and reference ID, noting that the object is not defined within the device.
The device may represent a physical device such as a power supply, a switch, a transformer, a load, etc.; a collection of abstract devices, such as networks, feeders, stations, areas, etc., may also be represented.
Step 2: inputting the power data into a pre-constructed power system data model, and calculating to obtain identifiable general data language information;
the input method of the electric power data is characterized in that:
(1) converting XML file input into a root QHash data structure for standby use, wherein the QHash consists of nested QHash; key is a character string; its value is QHash or string; QHash is a branch, and the character string is a leaf, and var type representation can be used in the program. And converting the XML into QHash, generating one QHash by each element, and enabling the attributes to correspond to a group of key value pairs which are terminal leaf nodes.
(2) The use method of the front file comprises the following steps: the first layer Key of the root QHash is type, the value is QHash, the second layer Key is ID, and the value is a QHash-form use object; its data can be used based on type and ID.
(3) The using method of the reference device comprises the following steps: the root QHash first layer Key contains the equipment ID, and can be found and used according to the reference ID.
The QHash has the advantages that the data acquisition by searching according to the associated data is avoided, the use is easy, and the efficiency is greatly improved.
And step 3: interacting with a visual interface according to the data language information to obtain the network connection relation and the equipment attribute information of the power system;
the interface interaction method is characterized in that:
(1) the visualization interface interaction is triggered by an event, and the model element of the object defines its display effect. The common interface interaction types include two categories of network and attribute, and the same object can have a plurality of available network models and attribute models, but only one model can be used at the same time. The modification on the interface is updated to the root QHash upon determination. Connecting the root QHash to the model is the interpreter.
(2) The network model is used for interactively displaying the network connection relation of the power system. For a given device, the interpreter reads its direct containment device and draws its network to the interface based on the primitives, locations, connections of the containment device. The primitive needs to use the shape set and the relative position, lines, fill and other related data, the default shape is a straight line, the default line is a black solid line, and the default fill is none. The location is determined by node data, any device has two and only two nodes, and there may be multiple connection terminals on one node. The connection relation is only related to the nodes in the drawing, and for the condition that no node element exists in the input file, the nodes are required to be generated according to the equipment connection data, one node is generated by one connection point, and two node elements are added to the equipment; in addition, all node data needs to be stored in a separate XML for the front-end to load.
(3) The property model is used to display and edit device properties. The attribute model defines the attribute required to be displayed by the equipment, the type of display, the type of editor and other information. For a given device, the interpreter generates a property interface in a grid layout, sequentially adds a label and an editor pair according to a property model in a column increasing mode, and binds matched data, wherein the label displays a property name, and the editor reads and writes a property value.
And 4, step 4: calculating a model needing to be output based on the network connection relation and the equipment attribute information to obtain a final power system data support file;
the algorithm using method is characterized in that:
(1) and carrying out iterative search by taking the calculation object as a starting point and the included equipment as a search direction to obtain all related equipment. For each device, establishing an algorithm model class and associating related data according to the algorithm model; the class contains various methods of processing and computing data.
(2) And taking the calculation object model as a parameter, constructing an algorithm class, calling by using a method of the equipment algorithm model to obtain input, dynamically interacting with the equipment algorithm model in the calculation process, and returning a related calculation result to the corresponding equipment algorithm model after the calculation is finished.
The data output method is characterized in that an output file is generated according to an output model; the output model defines the name of the data to be output in the algorithm model class and the algorithm class, and for special data, corresponding method support in the data class is required to be provided so as to generate output data according to the existing data
Example 2:
based on the same inventive concept, the present invention further provides a data-driven power system data processing system, as shown in fig. 2, including:
the system comprises an acquisition module, an input calculation module, an interaction module and a data support module;
the acquisition module is used for acquiring power data in a power system;
the input calculation module is used for inputting the electric power data into a pre-constructed electric power system data model and calculating to obtain identifiable general data language information;
the interaction module is used for interacting with a visual interface according to the data language information to obtain the network connection relation of the power system and the equipment attribute information;
the data support module is used for calculating a model needing to be output based on the network connection relation and the equipment attribute information to obtain a final power system data support file;
wherein the pre-built power system data model comprises: the power system XML file comprises a front part and a main part.
As shown in fig. 3, the system includes:
the system further comprises: a model building module;
the model building module comprises: using the submodule and constructing the submodule;
the using sub-module is used for constructing a front part of the XML file of the power system by adopting the elements with the dependency relationship and constructing a main part of the XML file of the power system by adopting the elements with the equipment;
the construction submodule is used for constructing a power system data model according to the front part and the main part of the power system XML file.
The input calculation module includes: a conversion file submodule, a data structure submodule and a data conversion submodule;
the conversion file submodule is used for inputting the electric power data into a pre-constructed electric power system data model to convert the electric power data into a required XML file;
the data structure submodule is used for converting the XML file into a root QHash data structure;
and the data conversion submodule is used for converting the prepositive file and the citation equipment based on the root QHash data structure to obtain identifiable general data language information.
The data conversion submodule comprises: the device comprises a file extraction unit, a file construction unit and a file result unit;
the file extraction unit is used for extracting the type and the ID attribute based on a dependent file of the power system, and the dependent file comprises: a specific model device and its parameters, associated devices and enumeration types;
the file construction unit is used for carrying out root Qhash data construction on the type and the ID attribute in the dependent file of the front file, wherein the first layer of once constructed Key is of the type and has the value of QHash, the second layer of once constructed Key is of the ID and has the value of a QHash-form use object;
and the file result unit is used for obtaining identifiable general data language information according to the type of the first-layer primary construction and the ID of the second-layer primary construction.
The data conversion submodule comprises: the device comprises a device extracting unit, a device constructing unit and a device result unit;
the device extracting unit is used for extracting a device ID based on a device file of the power system, wherein the device file comprises a name, an ID, a type, a containing device, a device to which the device belongs, a device parameter and graphic information;
the device construction unit is used for carrying out root Qhash data construction on the device ID in the reference device, and the first-layer secondary construction Key contains the device ID;
and the equipment result unit is used for obtaining identifiable general data language information according to the equipment ID.
The interaction module comprises: a network interaction submodule and an attribute interaction submodule;
the network interaction submodule is used for interacting with a network model of a visual interface according to the data language information to obtain a network connection relation of the power system;
and the attribute interaction submodule is used for interacting with the attribute model of the visual interface according to the data language information to obtain the attribute information of the power system equipment.
The network interaction submodule comprises: comprises an equipment unit and a network connection unit;
the contained equipment unit is used for interacting with a network model of a visual interface according to the data language information, and for given equipment, an interpreter is adopted to read the directly contained equipment;
the network connection unit is used for drawing a corresponding network on an interface according to a primitive, a position and a connection relation of the included equipment, and all node data are required to be stored in an independent XML for loading by the front part, so that the network connection relation of the power system is obtained.
The attribute interaction submodule comprises: an attribute interface unit and an attribute information unit;
the attribute interface unit is used for generating an attribute interface with a grid-shaped layout by adopting an interpreter according to the data language information and given equipment of a visual interface;
the attribute information unit is used for sequentially adding label and editor pairs according to the attribute interface and the attribute model in a column increasing mode, and binding matched data to obtain the attribute information of the power system equipment.
The data support module comprises: the device comprises a related device submodule, a model establishing submodule, a calling and obtaining calculation submodule, a model returning submodule and a support file generating submodule;
the relevant equipment submodule is used for carrying out iterative search by taking a calculation object as an initial point and containing equipment as a search direction to obtain all relevant equipment based on the network connection relation and the equipment attribute information;
the establishing model class submodule is used for establishing an algorithm model class for each device in all the related devices according to an algorithm model and associating related data;
the calling, acquiring and calculating submodule is used for establishing an algorithm model class according to the algorithm model, and associating related data to call, acquire and calculate;
the return model submodule is used for returning to the corresponding equipment algorithm model according to the calculated result;
and the generation support file submodule is used for generating a final power system data support file according to an output model in the equipment algorithm model.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
It should be noted that the above-mentioned embodiments are only for illustrating the technical solutions of the present application and not for limiting the scope of protection thereof, and although the present application is described in detail with reference to the above-mentioned embodiments, those skilled in the art should understand that after reading the present application, they can make various changes, modifications or equivalents to the specific embodiments of the application, but these changes, modifications or equivalents are all within the scope of protection of the claims to be filed.

Claims (10)

1. A data-driven power system data processing method is characterized by comprising the following steps:
collecting power data in a power system;
inputting the power data into a pre-constructed power system data model, and calculating to obtain identifiable general data language information;
interacting with a visual interface according to the data language information to obtain the network connection relation and the equipment attribute information of the power system;
calculating a model needing to be output based on the network connection relation and the equipment attribute information to obtain a final power system data support file;
wherein the pre-built power system data model comprises: the power system XML file comprises a front part and a main part.
2. The method of claim 1, wherein the building of the power system data model comprises:
constructing a front part of the XML file of the power system by adopting the elements with the dependency relationship, and constructing a main part of the XML file of the power system by adopting the elements with the equipment;
and constructing a power system data model by using the front part and the main part of the power system XML file.
3. The method of claim 2, wherein inputting the power data into a pre-constructed power system data model and calculating recognizable generic data language information comprises:
inputting the electric power data into a pre-constructed electric power system data model to be converted into a required XML file;
converting the XML file into a root QHash data structure;
and converting the pre-file and the citation equipment based on the root QHash data structure to obtain identifiable general data language information.
4. The method of claim 3, wherein converting the preamble based on the root QHash data structure to obtain recognizable generic data language information comprises:
extracting type and ID attributes based on a dependency file of the power system, the dependency file comprising: a specific model device and its parameters, associated devices and enumeration types;
carrying out root Qhash data construction on the type and the ID attribute in the dependent file of the front file, wherein the first layer of primary construction Key is the type and the value is Qhash, the second layer of primary construction Key is the ID and the value is a Qhash-form use object;
and obtaining identifiable general data language information according to the type of the first-layer primary construction and the ID of the second-layer primary construction.
5. The method of claim 3, wherein converting the referring device based on the root QHash data structure to obtain recognizable generic data language information comprises:
extracting an equipment ID based on an equipment file of the power system, wherein the equipment file comprises a name, an ID, a type, contained equipment, affiliated equipment, equipment parameters and graphic information;
carrying out root Qhash data construction on the device ID in the reference device, wherein the Key constructed at the first layer for the second time contains the device ID;
and obtaining identifiable general data language information according to the equipment ID.
6. The method of claim 1, wherein interacting with a visual interface according to the data language information to obtain power system network connection relationships and device attribute information comprises:
interacting with a network model of a visual interface according to the data language information to obtain a network connection relation of the power system;
and interacting with the attribute model of the visual interface according to the data language information to obtain the attribute information of the power system equipment.
7. The method of claim 6, wherein interacting with a network model of a visual interface according to the data language information to obtain a power system network connection relationship comprises:
interacting with a network model of a visual interface according to the data language information, and reading the direct contained equipment by adopting an interpreter for given equipment;
drawing the corresponding network on an interface according to the graphic elements, positions and connection relations of the equipment, and storing all node data into an independent XML for loading by a front part to obtain the network connection relation of the power system.
8. The method of claim 6, wherein interacting with the attribute model of the visual interface according to the data language information to obtain the power system equipment attribute information comprises:
generating an attribute interface with a latticed layout by adopting an interpreter according to the data language information and given equipment of a visual interface;
and sequentially adding label and editor pairs according to the attribute interface and the attribute model in a column increasing mode, and binding matched data to obtain the attribute information of the power system equipment.
9. The method according to claim 1, wherein the calculating the model to be output based on the network connection relationship and the device attribute information to obtain a final power system data support file comprises:
based on the network connection relation and the equipment attribute information, carrying out iterative search by taking the calculation object as an initial point and the included equipment as a search direction to obtain all relevant equipment;
for each device in all the related devices, establishing an algorithm model class according to an algorithm model, and associating related data;
establishing an algorithm model class according to the algorithm model, and associating related data to call, acquire and calculate;
returning to the corresponding equipment algorithm model according to the calculated result;
and generating a final power system data support file according to an output model in the equipment algorithm model.
10. A data driven power system data processing system, comprising: the system comprises an acquisition module, an input calculation module, an interaction module and a data support module;
the acquisition module is used for acquiring power data in a power system;
the input calculation module is used for inputting the electric power data into a pre-constructed electric power system data model and calculating to obtain identifiable general data language information;
the interaction module is used for interacting with a visual interface according to the data language information to obtain the network connection relation of the power system and the equipment attribute information;
the data support module is used for calculating a model needing to be output based on the network connection relation and the equipment attribute information to obtain a final power system data support file;
wherein the pre-built power system data model comprises: the power system XML file comprises a front part and a main part.
CN202011317749.0A 2020-11-23 2020-11-23 Data-driven power system data processing method and system Pending CN112579827A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011317749.0A CN112579827A (en) 2020-11-23 2020-11-23 Data-driven power system data processing method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011317749.0A CN112579827A (en) 2020-11-23 2020-11-23 Data-driven power system data processing method and system

Publications (1)

Publication Number Publication Date
CN112579827A true CN112579827A (en) 2021-03-30

Family

ID=75123519

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011317749.0A Pending CN112579827A (en) 2020-11-23 2020-11-23 Data-driven power system data processing method and system

Country Status (1)

Country Link
CN (1) CN112579827A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023115842A1 (en) * 2021-12-24 2023-06-29 中国电力科学研究院有限公司 Data-driven offline and online integrated simulation system and method for power distribution network

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023115842A1 (en) * 2021-12-24 2023-06-29 中国电力科学研究院有限公司 Data-driven offline and online integrated simulation system and method for power distribution network

Similar Documents

Publication Publication Date Title
CN1713196B (en) Product ordering system based on automatic design grid
CN108804322A (en) Automated testing method, device, computer equipment and storage medium
CN111240669B (en) Interface generation method and device, electronic equipment and computer storage medium
CN108664241A (en) A method of SysML models are subjected to simulating, verifying
CN113052262A (en) Form generation method and device, computer equipment and storage medium
Jin et al. Power grid simulation applications developed using the GridPACK™ high performance computing framework
Yang et al. Development and optimization of CAD system based on big data technology
CN110135814A (en) The correlating method of BIM and project data, system and terminal device
CN112579827A (en) Data-driven power system data processing method and system
CN112580178B (en) Graph-model bidirectional verification method and device for energy management system
CN113094932A (en) Method, device, equipment and storage medium for acquiring construction cost of power transformation project
CN117149996A (en) Man-machine interface digital conversation mining method and AI system for artificial intelligence application
CN115576998B (en) Power distribution network data integration method and system based on multi-dimensional information fusion
CN105335428A (en) Data conversion method and apparatus
CN116523041A (en) Knowledge graph construction method, retrieval method and system for equipment field and electronic equipment
CN116382672A (en) System design method, intelligent terminal and storage medium for travel industry flow
CN115758018A (en) Grid-based page layout method and device, computer equipment and storage medium
CN115794078A (en) Codeless AI model development system and method
Qi et al. Design of distribution scada system based on open source gis
CN107391872A (en) The method and device that PDMS threedimensional models use in software
CN114116779A (en) Deep learning-based power grid regulation and control field information retrieval method, system and medium
CN111368387B (en) Electric power system simulation data textualization method
CN110096773A (en) Threedimensional model batch processing method and system for the exploitation of nuclear power station virtual emulation
CN115237524B (en) Interactive user interface system for liquid metal reactor subchannel analysis program
CN117744920A (en) Energy data management method and related device

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