Data identification and mapping method and related device for wind-storage combined power generation system
By extracting the conductive equipment and connection node data of the wind storage joint power generation system from the public information model in XML format, determining its connection relationship and generating visual images, the problem of data identification and mapping in the wind storage joint power generation system is solved, and efficient and accurate data identification and mapping effects are achieved.
Patent Information
- Application Number
- CN202411451911.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-17
- Publication Date
- 2025-03-04
- Estimated Expiration
- 2044-10-17
AI Technical Summary
The prior art is difficult to achieve accurate data identification and efficient mapping in wind storage combined power generation systems, especially when there are many types of equipment, complex system structures and real-time data updates are required, resulting in performance problems and high data accuracy requirements.
By extracting the data of conductive devices and connecting nodes from the public information model in XML format, determining their connection relationship, and using the drawing library to draw the structure diagram of the wind storage joint power generation system, marking data points, and generating visual images and parameter tables.
It realizes accurate identification and efficient mapping of wind storage combined power generation system data, improves work efficiency, reduces equipment performance requirements, is suitable for a variety of scenarios, and improves data universality and sharing.
Smart Images

Figure CN118964672B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of electric power systems, and in particular to a data identification and mapping method for a wind-storage combined power generation system and a related device. Background Art
[0002] The power system is a core component of modern social infrastructure, and its stable operation has a decisive impact on social order and economic growth. In this context, accurate identification and efficient mapping of power system data are particularly important, as they are the key to ensuring the safe and stable operation of the power system. Especially in wind-storage combined power generation systems, these challenges are further exacerbated by the wide variety of equipment types involved, complex system structures, and the increasing number of projects under construction.
[0003] CIM (Common Information Model) may contain complex network topology and equipment attributes. To accurately map these detailed information into SVG (Scalable Vector Graphics) format, current conversion technology mainly generates SVG metadata and CIM model data based on the spatial data of equipment in the wind-storage combined power generation system. In application scenarios that require real-time data updates, frequent conversion from CIM to SVG may cause performance problems. In addition, the conversion algorithm has high requirements for the accuracy of the spatial data of equipment in the wind-storage combined power generation system. If the accuracy of the spatial data is insufficient, the conversion may fail. Summary of the invention
[0004] In view of this, the present invention provides a data identification and mapping method and related devices for a wind-storage combined power generation system to achieve accurate identification and efficient mapping of wind-storage combined power generation system data.
[0005] In a first aspect, the present invention provides a method for data identification and mapping of a wind-storage combined power generation system, the method comprising: extracting conductive equipment data of conductive equipment and connection node data of connection nodes from a wind-storage combined power generation system file, the wind-storage combined power generation system file being a public information model in XML format; determining the connection relationship between each conductive equipment and each connection node based on the equipment terminal information in the conductive equipment data and the node terminal information in the connection node data; drawing a structural diagram of the wind-storage combined power generation system based on the connection relationship between each conductive equipment and each connection node, and marking the conductive equipment data and connection node data in the structural diagram of the wind-storage combined power generation system.
[0006] In this implementation, the information of the electrical structure in the CIM model based on the XML data format is extracted, and the connection relationship between each conductive device and each connection node is determined in turn, and converted into information that can be directly read by the mapping library. Compared with the traditional mapping method, the mapping and data recognition logic of this method is simple and reliable, which can improve work efficiency and has low requirements for equipment performance; there are no additional requirements for data accuracy, and it is applicable to more work scenarios; the output data set is universal and can be used in mainstream programming libraries; the generated images can be enlarged, reduced or moved in the visual interface without losing clarity; the generated images and parameter tables are in web page format, which is easy to share and has strong circulation.
[0007] In an optional embodiment, extracting conductive equipment data of conductive equipment and connection node data of connection nodes from a wind-storage combined power generation system file includes: creating an attribute type object, the attribute type object includes a conductive equipment object and a connection node object; extracting data information from the wind-storage combined power generation system file, the data information includes object attribute information and corresponding element content information; when it is determined that the attribute type of the object attribute information is a conductive equipment, storing the corresponding element content information in the conductive equipment object; when it is determined that the attribute type of the object attribute information is a connection node, storing the corresponding element content information in the connection node object.
[0008] In an optional embodiment, there are multiple conductive device objects, each conductive device object corresponds to a conductive device type, and when it is determined that the attribute type of the object attribute information is a conductive device, the corresponding element content information is stored in the conductive device object, including: when the attribute type is a conductive device, the conductive device type of the attribute type is determined, and the corresponding element content information is stored in the conductive device object corresponding to the conductive device type.
[0009] In an optional embodiment, determining the connection relationship between each conductive device and each connection node based on the device terminal information in the conductive device data and the node terminal information in the connection node data includes: determining the point ID of the device terminal connected to the conductive device based on the conductive device data, and determining the point ID of the node terminal connected to the connection node based on the connection node data, the point ID being used to represent the ID information of the conductive device and the connection node connected to the device terminal or the node terminal; and determining the connection relationship between each conductive device and each connection node based on the point ID.
[0010] In an optional embodiment, determining the connection relationship between each conductive device and each connection node based on two point IDs includes: for each connection node, obtaining all node terminals connected to the connection node; for each node terminal, searching for a device terminal matching the node terminal based on the point ID of the node terminal, and determining the conductive device corresponding to the device terminal; obtaining all device terminals connected to the conductive device; for each device terminal, searching for a node terminal matching the device terminal based on the point ID of the device terminal, and determining the connection node corresponding to the node terminal; returning to the first step until all connection nodes are traversed.
[0011] In an optional embodiment, for each device terminal, a node terminal matching the device terminal is searched for based on the point ID of the device terminal, and determining the connection node corresponding to the node terminal includes: when the number of untraversed device terminals on the conductive device is greater than one, a node terminal matching the device terminal is searched for based on the point ID of the untraversed device terminals, and determining the connection node corresponding to the node terminal; when the number of untraversed device terminals on the conductive device is less than or equal to one, determining that there are no other connection nodes connected to the conductive device.
[0012] In an optional embodiment, drawing a structural diagram of a wind-storage combined power generation system according to the connection relationship between each conductive device and each connection node includes: drawing the conductive device as a circle, drawing the connection node as a bus bar, and connecting the circle and the bus bar according to the connection relationship to obtain the structural diagram of the wind-storage combined power generation system.
[0013] In a second aspect, the present invention provides a computer device, comprising: a memory and a processor, the memory and the processor are communicatively connected to each other, the memory stores computer instructions, and the processor executes the data identification and mapping method of the wind-storage combined power generation system of the above-mentioned first aspect or any corresponding embodiment thereof by executing the computer instructions.
[0014] In a third aspect, the present invention provides a computer-readable storage medium having computer instructions stored thereon, the computer instructions being used to enable a computer to execute the data identification and mapping method for a wind-storage combined power generation system according to the first aspect or any corresponding embodiment thereof.
[0015] In a fourth aspect, the present invention provides a computer program product, comprising computer instructions for causing a computer to execute the method for identifying and mapping data for a wind-storage combined power generation system according to the first aspect or any corresponding embodiment thereof. BRIEF DESCRIPTION OF THE DRAWINGS
[0016] In order to more clearly illustrate the specific implementation methods of the present invention or the technical solutions in the prior art, the drawings required for use in the specific implementation methods or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some implementation methods of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0017] Figure 1 is a flow chart of a data identification and mapping method for a wind-storage combined power generation system according to an embodiment of the present invention;
[0018] Figure 2 is a flow chart of another method for data identification and mapping of a wind-storage combined power generation system according to an embodiment of the present invention;
[0019] Figure 3 is a schematic diagram of the connection relationship among terminals, conductive devices and connection nodes according to an embodiment of the present invention;
[0020] Figure 4 is a schematic diagram of a structure traversal algorithm for a wind-storage combined power generation system according to an embodiment of the present invention;
[0021] Figure 5 This is the wind-storage combined power generation system structure diagram generated by this application based on the panda power library;
[0022] Figure 6 is a schematic diagram of a data identification and mapping device for a wind-storage combined power generation system according to an embodiment of the present invention;
[0023] Figure 7 It is a schematic diagram of the hardware structure of a computer device according to an embodiment of the present invention. DETAILED DESCRIPTION
[0024] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the present invention.
[0025] The power system is a core component of modern social infrastructure, and its stable operation has a decisive impact on social order and economic growth. As a universal data exchange standard, CIM-XML provides a standardized description framework for wind-storage combined power generation systems, enabling complex data of wind-storage combined power generation systems to be efficiently and accurately identified and exchanged. This not only enhances the interoperability of the system, but also promotes cross-platform and cross-technology integration, thereby simplifying the management and optimization of wind-storage combined power generation systems. The ability to draw a structural diagram of a wind-storage combined power generation system based on CIM-XML data provides an intuitive visualization tool for system analysis and decision support, which helps to better understand and control the behavior of the wind-storage combined power generation system. It can provide effective support for advanced functions of smart grids, such as real-time monitoring, fault diagnosis, and optimized scheduling. However, there are many types of equipment and complex system structures in wind-storage combined power generation systems, and these challenges are further exacerbated with the increase in the number of projects under construction.
[0026] First, the volatility of wind energy leads to frequent changes in the system state, which requires the mapping method to be dynamically updated to reflect real-time data to accurately display the current state of the system. Second, as a key component to balance wind energy fluctuations, the visualization of the charging and discharging behavior of the energy storage system requires sophisticated mapping technology to ensure that its working status and impact can be clearly communicated.
[0027] At present, editors for non-wind-storage combined power generation systems such as AutoCAD and Visio can provide certain customization functions, which can solve the problem of software model data and graphic data interaction of wind-storage combined power generation systems with spatial structures to a certain extent, and complete the related work of generating integrated power model graphics based on spatial data. However, it is not designed specifically for wind-storage combined power generation system data mapping, so it has limitations in platform compatibility, functionality, and data format consistency. These problems lead to poor versatility of the generated model graphics files and insufficient integrity of shared information.
[0028] The current mapping method does not have the function of visualizing the equipment information and structural graphics of the wind-storage combined power generation system. At the same time, the data sources of wind-storage combined power generation system data recognition and mapping are inconsistent, the processing speed is slow, and the accuracy is low.
[0029] Therefore, according to an embodiment of the present invention, a method embodiment of data identification and mapping of a wind-storage combined power generation system is provided. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and although a logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that shown here.
[0030] In this embodiment, a data identification and mapping method for a wind-storage combined power generation system is provided, which is applicable to a wind-storage combined power generation system with a complex structure, such as a substation including numerous power generation equipment. Figure 1 is a flow chart of a data identification and mapping method for a wind-storage combined power generation system according to an embodiment of the present invention. Figure 1 As shown, the process includes the following steps:
[0031] Step S101, extracting conductive equipment data of conductive equipment and connection node data of connection nodes from a wind-storage combined power generation system file.
[0032] The wind-storage combined power generation system file is a Common Information Model (CIM) in XML format. For example, the XML data format of the substation can show the complexity of the CIM model data and the characteristics of the hierarchical structure.
[0033] Among them, conductive equipment includes generators, substations, circuit breakers, etc., and connection nodes include wires, switches, transformers, etc.
[0034] Conductive device data of the conductive device and connection node data of the connection node are extracted respectively from the common information model in XML format.
[0035] Step S102: determining the connection relationship between each conductive device and each connection node according to the device terminal information in the conductive device data and the node terminal information in the connection node data.
[0036] The conductive device and the connection node are connected via terminals, and each terminal includes terminal information, which includes ID information of the connected conductive device and the connection node.
[0037] The device terminal information on the conductive device is determined according to the conductive device data, the node terminal information on the connection node is determined according to the connection node data, and the device terminal information is compared with the node terminal information to determine the conductive device and connection node that are connected and matched.
[0038] Step S103, drawing a wind-storage combined power generation system structure diagram according to the connection relationship between each conductive device and each connection node, and marking the conductive device data and the connection node data in the wind-storage combined power generation system structure diagram.
[0039] According to the above steps, the connection relationship between each conductive device and each connection node is determined, and a connection relationship schematic diagram is drawn according to the connection relationship, and the schematic diagram is used as a structural diagram of the wind-storage combined power generation system.
[0040] The wind-storage combined power generation system structure diagram clearly shows the connection position of each conductive device and each connection node, and marks the conductive device data of the conductive device and the connection node data of the connection node.
[0041] The data identification and mapping method for the wind-storage combined power generation system provided in this embodiment extracts information about the electrical structure in the CIM model in XML data format, determines the connection relationship between each conductive device and each connection node in turn, and converts it into information that can be directly read by the mapping library. Compared with traditional mapping methods, the mapping and data identification logic of this method is simple and reliable, which can improve work efficiency and has low requirements for equipment performance; there are no additional requirements for data accuracy and it is applicable to more work scenarios; the output data set is universal and can be used in mainstream programming libraries; the generated images can be enlarged, reduced or moved in the visual interface without losing clarity; the generated images and parameter tables are in web page format, which is easy to share and has strong circulation.
[0042] In this embodiment, a method for identifying and mapping data of a wind-storage combined power generation system is provided, which can be used in the above-mentioned mobile terminals, such as mobile phones, tablet computers, etc. Figure 2 FIG. 1 is a flow chart of another method for identifying and mapping data of a wind-storage combined power generation system according to an embodiment of the present invention. Figure 2 As shown, the process includes the following steps:
[0043] Step S201, extracting conductive equipment data and connection node data of conductive equipment from the wind-storage combined power generation system file.
[0044] Among them, the wind-storage combined power generation system file is a public information model in XML format.
[0045] Specifically, the above step S201 includes:
[0046] Step S2011, create an attribute type object.
[0047] Among them, the attribute type objects include conductive device objects and connection node objects.
[0048] The attribute types of the elements in the wind-storage combined power generation system file are defined respectively, and corresponding attribute tags, namely, attribute type objects, are created for the attribute types.
[0049] Specifically, a conductive device object and a connection node object are constructed according to the attribute type. The conductive device object is an attribute tag whose attribute type is the conductive device, and the connection node object is an attribute tag whose attribute type is the connection node.
[0050] Furthermore, the conductive device objects are divided according to different conductive device types to obtain conductive device objects corresponding to each conductive device type.
[0051] Furthermore, different attribute category objects are created for different attributes of the same conductive device.
[0052] For example, for a circuit breaker device, its switch state is created as a specific attribute, and a corresponding attribute of the 'Breaker' category is created and named.
[0053] Step S2012, extracting data information from the wind-storage combined power generation system file.
[0054] The data information includes object attribute information and corresponding element content information.
[0055] Specifically, the data information stored in the wind-storage combined power generation system file is read, the object attribute information of the data information is determined, and the relevant values of the object attribute information are extracted to obtain the corresponding element content information. The wind-storage combined power generation system file defines the object attribute information and the corresponding element content information.
[0056] Step S2013, save the data information into the attribute type object.
[0057] The attribute type object to which the object attribute information in each data information belongs is determined, and the corresponding element content information is mapped and stored in the pre-established attribute type object.
[0058] Specifically, the attribute type of the object attribute information is first determined.
[0059] When the attribute type of the object attribute information is determined to be a conductive device, the corresponding element content information is stored in the conductive device object; when the attribute type of the object attribute information is determined to be a connection node, the corresponding element content information is stored in the connection node object.
[0060] In one implementation, there are multiple conductive device objects, each of which corresponds to a conductive device type. When it is determined that the attribute type of the object attribute information is a conductive device, the conductive device type of the conductive device is further determined.
[0061] When the attribute type is a conductive device, the conductive device type of the attribute type is determined, and the corresponding element content information is stored in a conductive device object corresponding to the conductive device type.
[0062] Specifically, CIM model data is stored in XML format, showing hierarchical and tokenized structural characteristics. In order to extract and map the data information in XML to predefined attribute type objects, it is necessary to perform a recursive traversal of the attributes for the data information of each object in each XML, and store the element content information of the attributes in the corresponding attribute category object.
[0063] The present application sequentially traverses all data information whose attribute type is a connection node in the XML database, and stores its object attribute information and corresponding element content information into a pre-created connection node object.
[0064] This data extraction and storage method can effectively store all attributes and element contents of site objects in the CIM model in the created site category object, realizes data extraction from XML data to programming language, and greatly facilitates subsequent data retrieval and processing.
[0065] Step S202: determining the connection relationship between each conductive device and each connection node according to the device terminal information in the conductive device data and the node terminal information in the connection node data.
[0066] This application constructs a structural traversal algorithm for a wind-storage combined power generation system, dividing all devices and their adjacent points into terminals, conductive devices, and connection nodes. Figure 3 , Figure 3 It is a schematic diagram of the connection relationship among terminals, conductive devices and connection nodes according to an embodiment of the present invention.
[0067] Among them, the adjacent devices of the conductive device are all terminals, and the adjacent devices of the connection node are all terminals. When the previous device of the terminal is a conductive device, the next device must be a connection node. Similarly, when the previous device of the terminal is a connection node, the next device must be a conductive device.
[0068] Specifically, the above step S202 includes:
[0069] Step S2021, determining the point ID of the device terminal connected to the conductive device according to the conductive device data, and determining the point ID of the node terminal connected to the connecting node according to the connecting node data.
[0070] The point ID is used to indicate the ID information of the conductive device and the connection node connected to the device terminal or the node terminal, and is used to determine whether the conductive device and the connection node are in an adjacent relationship.
[0071] First, the device terminal connected to the conductive device is determined according to the conductive device data, and the point ID on the device terminal is further obtained to clarify the conductive device ID information and the connection node ID information contained in the point ID. The node terminal connected to the connection node is determined according to the connection node data, and the point ID on the connection node is further obtained to clarify the connection node ID information and the conductive device ID information contained in the point ID.
[0072] Step S2022: determining the connection relationship between each conductive device and each connection node according to the point ID.
[0073] For each connection node, obtain all node terminals connected to the connection node. For each node terminal, find the device terminal that matches the node terminal according to the point ID of the node terminal, and determine the conductive device corresponding to the device terminal. Obtain all device terminals connected to the conductive device. For each device terminal, find the node terminal that matches the device terminal according to the point ID of the device terminal, and determine the connection node corresponding to the node terminal; continue to traverse all node terminals of the connection node until all connection nodes are traversed.
[0074] Specifically, the find_next_node function module and traversal algorithm are constructed to traverse all devices and determine the adjacent relationship between the conductive devices and the connection nodes. According to the relationship between the conductive devices, the connection nodes and the terminals, the method of establishing the function module is as follows: For the function of moving from one node to another, three traversal node objects are used to implement it, which respectively represent the previous traversed node prev_node, the current traversed node curr_node and the next traversed node next_node.
[0075] It can be understood that when the current traversal node curr_node is a conductive device or a connection node during the traversal process, the next node will always be a terminal. When the current traversal node is a terminal, if the previous node is a connection node, the next node to be traversed will be a conductive device, and if the previous node is a conductive device, the next node to be traversed will be a connection node. This functional module can be embedded in the traversal algorithm to extract the next point to be traversed.
[0076] See also Figure 4 , Figure 4 Schematic diagram of a structure traversal algorithm for a wind-storage combined power generation system according to an embodiment of the present invention.
[0077] like Figure 4 As shown, the present application sets a temporary data set and an output data set, traverses all connection nodes in turn, determines whether all node terminals on the connection nodes are traversed, and when there are no untraversed node terminals on the connection node, traverses the next connection node; when there are still untraversed node terminals on the connection node, traverses all node terminals, loads the corresponding connection node into the find_next_node function module, searches for the corresponding device terminal according to the point ID of the node terminal, determines the conductive device that needs to be traversed next time, and loads the connection node and the conductive device into the temporary data set.
[0078] The number of untraversed device terminals on the conductive device to be traversed is counted. When the number of untraversed device terminals on the conductive device is greater than one, it indicates that the conductive device is not the terminal device of the branch. All device terminals are traversed, and the conductive device is loaded into the find_next_node function module. The node terminal matching the device terminal is found according to the point ID of the untraversed device terminal, and the connection node corresponding to the node terminal is determined. The connection node is loaded into the find_next_node function module; when the number of untraversed device terminals on the conductive device is less than or equal to one, it indicates that the conductive device is the terminal device of the branch, and it is determined that there are no other connection nodes connected to the conductive device.
[0079] Check whether the data in the temporary dataset has been added to the output dataset. If not, add the data in the temporary dataset to the output dataset. If it has been added to the output dataset, there is no need to add it again.
[0080] Continue to traverse the next connection node, and when there is no untraversed connection node, obtain an output data set, wherein the output data set includes the connection relationship between each conductive device and each connection node.
[0081] Step S203, drawing a wind-storage combined power generation system structure diagram according to the connection relationship between each conductive device and each connection node, and marking the conductive device data and the connection node data in the wind-storage combined power generation system structure diagram.
[0082] The conductive equipment is drawn as a circle, the connection node is drawn as a busbar, and the circle and the busbar are connected according to the connection relationship to obtain the structural diagram of the wind-storage combined power generation system.
[0083] For example, using Python libraries such as panda-power, we can generate visualization images of the wind-storage combined power generation system based on the output data set and organize key equipment parameters. We can also create a visualization interface that includes the system topology, component layout, and equipment parameter tables to intuitively display the key information of the wind-storage combined power generation system.
[0084] See also Figure 5 , Figure 5 This is the structure diagram of the wind-storage combined power generation system generated by this application based on the panda power library.
[0085] Exemplarily, the wind-storage combined power generation system structure diagram includes a multi-node wind-storage combined power generation system structure diagram and related information. According to the information in the generated table, the generators and other equipment connected to each node can be seen; as well as the parameter information of the wires, transformers and other equipment between the nodes.
[0086] It is understandable that the present application does not limit the drawing tools for drawing the structure diagram of the wind-storage combined power generation system, and other drawing tools can be used to read the output data set to output better quality graphics.
[0087] When generating a visualization image of a wind-storage combined power generation system, this method can not only display the system's topology and component layout, but also organize key power equipment parameters, such as transformer capacity and wind turbine rated power generation, into intuitive tables. These tables can be directly embedded in the same visualization interface, which helps CIM-XML to be effectively integrated with existing power grid management systems, wind farm management systems, and energy storage systems.
[0088] The data identification and mapping method for the wind-storage combined power generation system provided in this embodiment extracts information of the electrical structure from the CIM model in XML data format, and converts it into information that can be directly read by the mapping library through functional modules and traversal algorithms. Through advanced data processing and graphics technology, it not only improves the automation level of data management of the wind-storage combined power generation system, but also enhances data communication and sharing through high-quality visual display, providing strong technical support for the analysis and decision-making of the wind-storage combined power generation system.
[0089] (1) Optimization result display: This technology can generate a wind-storage combined power generation system diagram while intuitively presenting key equipment parameters such as transformer capacity and rated power generation of wind turbines in a tabular form on the same visualization interface, thereby enhancing the readability and comprehensibility of the data.
[0090] (2) Ensure image quality: The generated images are of high quality, and users can zoom in, zoom out, or move them in the visualization interface as needed without losing clarity.
[0091] (3) Automated processing capability: It supports automatic identification and batch mapping of wind and energy storage combined power generation system data, further improving work efficiency.
[0092] (4) Convenient data sharing: The generated images and parameter tables are in web format, which facilitates cross-team sharing and collaboration, optimizing information flow and inter-team collaboration.
[0093] In a specific implementation, the first step is to define relevant types according to the equipment types in the wind-storage joint generation point system. For each type of electrical equipment in the CIM model, such as substations, circuit breakers, etc., a corresponding category is defined, and attribute tags are created for attributes specific to the category.
[0094] The second step is to read the CIM model in XML format and store the element contents of its attributes into the corresponding categories. All objects stored in the CIM model in XML data format are read, the relevant values of these objects are extracted, and classified and stored into the previously defined categories.
[0095] The third step is to build a functional module based on the type characteristics of the three types of points in the category object. Node classification and functional module establishment: All devices and their adjacent points are divided into three categories: terminals (Te), conductive equipment (CE) and connection nodes (CN), and a functional module is established to handle the logic of moving from one node to another.
[0096] The fourth step is to load the CIM model in XML format into the traversal algorithm and obtain the output data set. The wind-storage combined power generation system structure traversal algorithm extracts the next point to be traversed through the find-next-node function module and sorts out the structural information of the wind-storage combined power generation system.
[0097] Step 5: Arrange the data set according to the device type definition. Arrange the output data processed by the traversal algorithm according to the device type definition to obtain the output data set.
[0098] The sixth step is to load the data set into the mapping library for mapping, and obtain the wind-storage combined power generation system diagram and equipment information table.
[0099] Step 7: Check whether the output wind-storage combined power generation system image is correct. If the wind-storage combined power generation system image is incorrect, perform code debugging and repeat the above steps.
[0100] The method of the present invention is tested in an actual wind power generation system to verify its accuracy, efficiency and ease of use of the user interface. Based on the test results, the algorithm is optimized to improve data extraction, traversal logic and user interface design to improve overall performance and user experience.
[0101] In this embodiment, a data identification and mapping device for a wind-storage combined power generation system is also provided, which is used to implement the above-mentioned embodiments and preferred implementation modes, and will not be repeated hereafter. As used below, the term "module" can be a combination of software and / or hardware that implements a predetermined function. Although the devices described in the following embodiments are preferably implemented in software, the implementation of hardware, or a combination of software and hardware, is also possible and conceivable.
[0102] This embodiment provides a data identification and mapping device for a wind-storage combined power generation system. Figure 6 As shown, Figure 6 1 is a schematic diagram of a data identification and mapping device for a wind-storage combined power generation system according to an embodiment of the present invention, comprising:
[0103] The extraction module 601 is used to extract the conductive device data of the conductive device and the connection node data of the connection node from the wind-storage combined power generation system file, and the wind-storage combined power generation system file is a public information model in XML format.
[0104] The determination module 602 is used to determine the connection relationship between each conductive device and each connection node according to the device terminal information in the conductive device data and the node terminal information in the connection node data.
[0105] The drawing module 603 is used to draw a structure diagram of the wind-storage combined power generation system according to the connection relationship between each conductive device and each connection node, and mark the conductive device data and the connection node data in the wind-storage combined power generation system structure diagram.
[0106] The further functional description of each of the above modules is the same as that of the above corresponding embodiments and will not be repeated here.
[0107] The data identification and mapping device for the wind-storage combined power generation system in this embodiment is presented in the form of a functional unit, where the unit refers to an ASIC (Application Specific Integrated Circuit) circuit, a processor and memory that executes one or more software or fixed programs, and / or other devices that can provide the above functions.
[0108] The embodiment of the present invention also provides a computer device having the above Figure 6 The data identification and mapping device of the wind-storage combined power generation system is shown.
[0109] See also Figure 7 , Figure 7 is a schematic diagram of the structure of a computer device provided by an optional embodiment of the present invention, such as Figure 7 As shown, the computer device includes: one or more processors 10, a memory 20, and interfaces for connecting various components, including high-speed interfaces and low-speed interfaces. Various components are connected to each other using different buses for communication, and can be installed on a common mainboard or installed in other ways as needed. The processor can process the instructions executed in the computer device, including instructions stored in or on the memory to display the graphical information of the GUI on an external input / output device (such as, a display device coupled to the interface). In some optional embodiments, if necessary, multiple processors and / or multiple buses can be used together with multiple memories and multiple memories. Similarly, multiple computer devices can be connected, and each device provides some necessary operations (for example, as a server array, a group of blade servers, or a multi-processor system). Figure 7 A processor 10 is taken as an example.
[0110] The processor 10 may be a central processing unit, a network processor or a combination thereof. The processor 10 may further include a hardware chip. The hardware chip may be a dedicated integrated circuit, a programmable logic device or a combination thereof. The programmable logic device may be a complex programmable logic device, a field programmable gate array, a general purpose array logic or any combination thereof.
[0111] The memory 20 stores instructions executable by at least one processor 10, so that the at least one processor 10 executes the method shown in the above embodiment.
[0112] The memory 20 may include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application required for at least one function; the data storage area may store data created according to the use of the computer device, etc. In addition, the memory 20 may include a high-speed random access memory, and may also include a non-transient memory, such as at least one disk storage device, a flash memory device, or other non-transient solid-state storage device. In some optional embodiments, the memory 20 may optionally include a memory remotely arranged relative to the processor 10, and these remote memories may be connected to the computer device via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
[0113] The memory 20 may include a volatile memory, such as a random access memory; the memory may also include a non-volatile memory, such as a flash memory, a hard disk or a solid state drive; the memory 20 may also include a combination of the above types of memory.
[0114] The computer device also includes an input device 30 and an output device 40. The processor 10, the memory 20, the input device 30 and the output device 40 may be connected via a bus or other means. Figure 7 The example of connecting through bus is taken in the following.
[0115] The input device 30 can receive input digital or character information, and generate key signal input related to the user settings and function control of the computer device, such as a touch screen, a keypad, a mouse, a track pad, a touch pad, an indicator bar, one or more mouse buttons, a trackball, a joystick, etc. The output device 40 may include a display device, an auxiliary lighting device (e.g., an LED) and a tactile feedback device (e.g., a vibration motor), etc. The above-mentioned display device includes but is not limited to a liquid crystal display, a light emitting diode, a display and a plasma display. In some optional embodiments, the display device may be a touch screen.
[0116] The embodiment of the present invention also provides a computer-readable storage medium. The method according to the embodiment of the present invention can be implemented in hardware, firmware, or can be implemented as a computer code that can be recorded in a storage medium, or can be implemented as a computer code that is originally stored in a remote storage medium or a non-temporary machine-readable storage medium and will be stored in a local storage medium through a network download, so that the method described herein can be stored in such software processing on a storage medium using a general-purpose computer, a dedicated processor, or programmable or dedicated hardware. Among them, the storage medium can be a magnetic disk, an optical disk, a read-only storage memory, a random access memory, a flash memory, a hard disk or a solid-state hard disk, etc.; further, the storage medium can also include a combination of the above types of memories. It can be understood that a computer, a processor, a microprocessor controller, or programmable hardware includes a storage component that can store or receive software or computer code. When the software or computer code is accessed and executed by a computer, a processor, or hardware, the method shown in the above embodiment is implemented.
[0117] A part of the present invention may be applied as a computer program product, such as a computer program instruction, which, when executed by a computer, can call or provide the method and / or technical solution according to the present invention through the operation of the computer. Those skilled in the art should understand that the existence of the computer program instruction in a computer-readable medium includes, but is not limited to, a source file, an executable file, an installation package file, etc., and accordingly, the way in which the computer program instruction is executed by the computer includes, but is not limited to: the computer directly executes the instruction, or the computer compiles the instruction and then executes the corresponding compiled program, or the computer reads and executes the instruction, or the computer reads and installs the instruction and then executes the corresponding installed program. Here, the computer-readable medium may be any available computer-readable storage medium or communication medium accessible to the computer.
[0118] Although the embodiments of the present invention have been described in conjunction with the accompanying drawings, those skilled in the art may make various modifications and variations without departing from the spirit and scope of the present invention, and such modifications and variations are all within the scope defined by the appended claims.
Claims
1. A data identification and mapping method for a wind-storage combined power generation system, characterized in that: The method comprises: Extracting conductive device data of conductive devices and connection node data of connection nodes from a wind-storage combined power generation system file, wherein the wind-storage combined power generation system file is a public information model in XML format; Determine the point ID of the device terminal connected to the conductive device according to the conductive device data, and determine the point ID of the node terminal connected to the connection node according to the connection node data, wherein the point ID is used to indicate the ID information of the conductive device and the connection node connected to the device terminal or the node terminal; For each of the connection nodes, all node terminals connected to the connection node are obtained; for each of the node terminals, a device terminal matching the node terminal is found according to the point ID of the node terminal, and a conductive device corresponding to the device terminal is determined; all device terminals connected to the conductive device are obtained; for each of the device terminals, a node terminal matching the device terminal is found according to the point ID of the device terminal, and a connection node corresponding to the node terminal is determined; until all the connection nodes are traversed, a connection relationship between each conductive device and each connection node is obtained; Based on the Python programming drawing tool, a structural diagram of the wind-storage combined power generation system is drawn according to the connection relationship between each conductive device and each connection node, and the conductive device data and the connection node data are marked in the structural diagram of the wind-storage combined power generation system.
2. The data identification and mapping method for the wind-storage combined power generation system according to claim 1 is characterized in that: Extracting the conductive equipment data of the conductive equipment and the connection node data of the connection node from the wind-storage combined power generation system file includes: Creating an attribute type object, wherein the attribute type object includes a conductive device object and a connection node object; Extracting data information from the wind-storage combined power generation system file, wherein the data information includes object attribute information and corresponding element content information; When it is determined that the attribute type of the object attribute information is the conductive device, storing the corresponding element content information into the conductive device object; When it is determined that the attribute type of the object attribute information is the connection node, the corresponding element content information is stored in the connection node object.
3. The data identification and mapping method for the wind-storage combined power generation system according to claim 2 is characterized in that: There are multiple conductive device objects, each of which corresponds to a conductive device type. When it is determined that the attribute type of the object attribute information is the conductive device, storing the corresponding element content information into the conductive device object includes: When the attribute type is the conductive device, the conductive device type of the attribute type is determined, and the corresponding element content information is stored in the conductive device object corresponding to the conductive device type.
4. The data identification and mapping method for the wind-storage combined power generation system according to claim 1 is characterized in that: For each of the device terminals, searching for a node terminal matching the device terminal according to the point ID of the device terminal, and determining a connection node corresponding to the node terminal comprises: When the number of untraversed device terminals on the conductive device is greater than one, searching for a node terminal matching the device terminal according to the point ID of the untraversed device terminal, and determining a connection node corresponding to the node terminal; When the number of untraversed device terminals on the conductive device is less than or equal to one, it is determined that the conductive device does not have other connected nodes.
5. The data identification and mapping method for wind-storage combined power generation system according to claim 1 is characterized in that: Drawing a structure diagram of the wind-storage combined power generation system according to the connection relationship between each conductive device and each connection node includes: The conductive device is drawn as a circle, the connection node is drawn as a busbar, and the circle and the busbar are connected according to the connection relationship to obtain the structural diagram of the wind-storage combined power generation system.
6. A computer device, characterized in that: include: A memory and a processor, wherein the memory and the processor are communicatively connected to each other, the memory stores computer instructions, and the processor executes the data identification and mapping method for a wind-storage combined power generation system according to any one of claims 1 to 5 by executing the computer instructions.
7. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a computer to execute the data identification and mapping method for a wind-storage combined power generation system according to any one of claims 1 to 5.
8. A computer program product, characterized in that It comprises computer instructions, and the computer instructions are used to enable a computer to execute the data identification and mapping method of the wind-storage combined power generation system according to any one of claims 1 to 5.
Citation Information
Patent Citations
Topological structure generation method and device of power grid data, equipment and storage medium
CN117112630A