Method, device, equipment and medium for constructing power flow analysis model
By generating vector graphics and obtaining rated parameters and timing running data for simulation, the problem of low construction efficiency of trend analysis model in traditional methods is solved, and the rapid construction of trend analysis model is achieved.
Patent Information
- Application Number
- CN202210979366.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-08-16
- Publication Date
- 2025-08-15
- Estimated Expiration
- 2042-08-16
AI Technical Summary
Traditional methods are inefficient in building trend analysis models, workload is high, and it is difficult to complete quickly.
By obtaining the equipment information and connection relationships of devices in the power grid network architecture, generating vector graphics, and obtaining rated parameter information and timing operation data for simulation processing, a trend analysis model is built.
The data acquisition process is simplified, the data acquisition efficiency is improved, and the rapid construction of trend analysis models is realized.
Smart Images

Figure CN115408835B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of power distribution networks, and in particular to a method, apparatus, computer equipment, storage medium, and computer program product for constructing a power flow analysis model. Background Art
[0002] With the development of internet technology, the digital transformation of power grid systems is proceeding rapidly. This process has led to the emergence of numerous application platforms related to digital grid management, such as EMS (Element Management System) and PMIS (Project Management Information System). These systems are primarily used for equipment operation monitoring, power consumption statistics, and device-related information management.
[0003] Traditionally, power flow models have been manually constructed using power flow calculation software by comparing power grid CAD (Management Software Computer Aided Design) drawings, collecting equipment information and operating parameters, and then manually building power flow models. However, this traditional approach to manually constructing power flow models is labor-intensive and results in low model construction efficiency. Summary of the Invention
[0004] Based on this, it is necessary to provide a method, device, computer equipment, storage medium and computer program product that can simplify the workload and quickly build a power flow analysis model to address the above technical problems.
[0005] In a first aspect, the present application provides a method for constructing a power flow analysis model, the method comprising:
[0006] Acquire device information of each device in the power grid network architecture and the connection relationship between each of the devices; each of the devices includes a first type of device with rated parameter information and a second type of device with time sequence operation data;
[0007] generating a vector graphic for representing a connection relationship between the devices, wherein the graphic description information carried by the vector graphic includes device information of the devices;
[0008] Respectively obtaining rated parameter information of each device of the first category and timing operation data of each device of the second category;
[0009] The vector graphics carrying the graphic description information, the rated parameter information of each of the first-category devices, and the timing operation data of each of the second-category devices are simulated to construct a power flow analysis model that matches the power grid network architecture.
[0010] In one embodiment, the method further comprises:
[0011] Taking each device in the power grid network architecture as an instance object, and determining description information of each instance object according to device information of the device and connection relationships between the devices;
[0012] Determining the element composition of the vector graphics based on the types of devices in the power grid network architecture, and using instance objects corresponding to the same type of devices as instance objects of the same element;
[0013] Graphic description information of the vector graphic is determined based on the element composition of the vector graphic, the instance object composition of the same element, and the description information of each of the instance objects.
[0014] In one embodiment, determining the description information of each instance object according to the device information of the device and the connection relationship between the devices includes:
[0015] For each device, based on the position, size, and transformation of the device, construct a first field including the position, size, and transformation of the instance object corresponding to the device;
[0016] Based on the identity of the device and the connection relationship between the device and other devices in the power grid network architecture, construct a second field including the identity of the instance object and the connection relationship between the instance object and other instance objects;
[0017] The description information of the instance object is generated according to the first field and the second field belonging to the same instance object.
[0018] In one embodiment, obtaining rated parameter information of the first type of device in each of the devices includes:
[0019] Obtaining rated parameter information matching each device model from a device information database matching the power grid network architecture;
[0020] Obtaining a device model of each device of the first category from the device information;
[0021] Based on the device model of each of the first-category devices and the rated parameter information matched with each of the device models, the rated parameter information of each of the first-category devices is determined.
[0022] In one embodiment, obtaining device information of each device in the power grid network architecture and the connection relationship between the devices includes:
[0023] Obtaining device information of each device in the power grid network architecture and the connection relationship between each device from the power grid information management system;
[0024] The obtaining of rated parameter information of each first-category device and sequential operation data of each second-category device includes:
[0025] Acquire rated parameter information of each of the first-category devices in the power grid network architecture from the power grid information management system;
[0026] The time sequence operation data of each of the second-category devices is obtained from the energy management system.
[0027] In one embodiment, simulating the vector graphics carrying the graphic description information, the rated parameter information of each first-category device, and the time series operation data of each second-category device to construct a power flow analysis model matching the power grid network architecture includes:
[0028] Get the input data format indicated by the simulation task;
[0029] Based on the input data format, converting the vector graphics carrying the graphic description information, the rated parameter information of each first-category device, and the timing operation data of each second-category device into a format to obtain format-converted data matching the simulation task;
[0030] Simulation processing is performed based on the format-converted data to construct a power flow analysis model that matches the power grid network architecture.
[0031] In a second aspect, the present application further provides a device for constructing a power flow analysis model, the device comprising:
[0032] A first data acquisition module is used to acquire device information of each device in the power grid network architecture and the connection relationship between each of the devices; each of the devices includes a first type of device with rated parameters and a second type of device with time-series operation data;
[0033] a graphics generation module, configured to generate a vector graphic for representing a connection relationship between the devices, wherein the graphic description information carried by the vector graphic includes device information of each device;
[0034] a second data acquisition module, configured to respectively acquire the rated parameter information of each of the first-category devices and the timing operation data of each of the second-category devices;
[0035] A model construction module is used to simulate the vector graphics carrying the graphic description information, the rated parameter information of each first-type device, and the timing operation data of each second-type device to construct a power flow analysis model that matches the power grid network architecture.
[0036] In a third aspect, the present application further provides a computer device comprising a memory and a processor, wherein the memory stores a computer program, and the processor implements the steps of the above method when executing the computer program.
[0037] In a fourth aspect, the present application further provides a computer-readable storage medium having a computer program stored thereon, which implements the steps of the above method when executed by a processor.
[0038] In a fifth aspect, the present application further provides a computer program product, which includes a computer program that implements the steps of the above method when executed by a processor.
[0039] The above-described method, apparatus, computer device, storage medium, and computer program product for constructing a power flow analysis model generate vector graphics by acquiring device information of each device in a power grid network architecture and the connection relationships between each device. The vector graphics and the graphical description information they carry accurately represent the device information of each device in the power grid network architecture and the connection relationships between each device. By acquiring rated parameter information corresponding to first-category devices and sequential operating data for second-category devices, the vector graphics carrying the graphical description information, the rated parameter information for each first-category device, and the sequential operating data for each second-category device are simulated. The data structure characteristics of the vector graphics are utilized to simplify the data acquisition process required to construct the power flow analysis model, thereby improving data acquisition efficiency and enabling rapid construction of the power flow analysis model. BRIEF DESCRIPTION OF THE DRAWINGS
[0040] Figure 1 An application environment diagram of a method for constructing a power flow analysis model in one embodiment;
[0041] Figure 2 A schematic diagram of a flow chart of a method for constructing a power flow analysis model in one embodiment;
[0042] Figure 3A schematic flow chart of a method for constructing a power flow analysis model in another embodiment;
[0043] Figure 4 A schematic flow chart of a method for constructing a power flow analysis model in another embodiment;
[0044] Figure 5 A schematic flow chart of a method for constructing a power flow analysis model in another embodiment;
[0045] Figure 6 A structural block diagram of a device for constructing a power flow analysis model in one embodiment;
[0046] Figure 7 FIG. 1 is a diagram showing the internal structure of a computer device in one embodiment. DETAILED DESCRIPTION
[0047] In order to make the purpose, technical solutions and advantages of this application more clear, the following further describes this application in detail with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain this application and are not intended to limit this application.
[0048] The method for constructing a power flow analysis model provided in the embodiment of the present application can be applied to Figure 1 In the application environment shown, terminal 102 communicates with server 104 via a network. A data storage system can store data that server 104 needs to process. The data storage system can be integrated with server 104, or placed on a cloud or other network server. Server 104 is used to obtain device information for each device in the power grid network architecture, as well as the interconnection relationships between the devices. The devices include first-category devices with rated parameter information and second-category devices with time-series operation data. Server 104 transmits data to terminal 102, displays the acquired data on terminal 102, and generates a vector graphic that can be used to represent the interconnection relationships between the devices. The generated vector graphic carries a graphic description that primarily includes the device information of each device. The rated parameter information of each first-category device and the time-series operation data of each second-category device are obtained from the system. Server 104 simulates the vector graphic carrying the graphic description information, the rated parameter information of each first-category device, and the time-series operation data of each second-category device to construct a power flow analysis model that matches the power grid network architecture.
[0049] The terminal 102 may be, but is not limited to, various personal computers, laptops, smart phones, tablet computers, IoT devices, etc. The server 104 may be implemented as an independent server or a server cluster consisting of multiple servers.
[0050] In one embodiment, Figure 2 As shown in the figure, a method for constructing a power flow analysis model is provided. Figure 1 Taking the server 104 in the example as an example, the following steps are included:
[0051] Step 202: Obtain device information of each device in the power grid network architecture and the connection relationship between each device. Each device includes a first type of device with rated parameter information and a second type of device with time sequence operation data.
[0052] The grid network architecture represents the spatial structure formed by the connection of multiple devices. For example, the interconnection between transmission lines, transformers, towers, loads, power supplies, switches, and other devices forms a spatial structure, which can be called the grid network architecture.
[0053] The connection relationship between devices represents the connection between other devices and the ports of a device in the power grid network architecture. For example, if one port of device A is connected to devices B and C, and another port of device A is connected to device D, then device A is connected to devices B, C, and D.
[0054] Device information refers to the device's own attributes. For example, if device A is named "region transformer" and its number is 1, then the name and number of device A are the device's attributes, or in other words, its device information.
[0055] Rated parameter information refers to the specified values for voltage, current, and power when the equipment is operating normally under certain conditions. It reflects the product's key technical performance and serves as the technical basis for production, design, manufacturing, and use. Manufacturers mark these values on the equipment nameplate when the equipment leaves the factory. For example, a motor's nameplate will indicate rated output power of 45 kW, rated voltage of 380 V, rated current of 86 A, and speed of 980 r / min.
[0056] The first category of equipment is equipment with rated parameters within the power grid network architecture. For example, transformers and transmission lines are marked with rated parameters such as voltage level, rated capacity, no-load current, and rated current when they leave the factory.
[0057] Time-series operating data refers to both historical and real-time operating data for a device. Category II devices include both historical and real-time operating data. For example, a switch may be closed at one moment and open at another. Both states constitute operating data for the device. This switch is considered a Category II device with time-series operating data.
[0058] Specifically, the server obtains device information of each of the first type of devices with rated parameters and the second type of devices with time sequence operation data in the power grid network architecture, as well as the connection relationship between all devices in the power grid network architecture.
[0059] In a practical application, there is a transmission line named "10kV transmission line" and numbered 1. Its port 0 is connected to transformer 1 and tower 1, and port 1 is connected to tower 3. Then, the name and number of the transmission line, as well as the connection relationship between ports 0 and 1 of the transmission line and other devices are obtained.
[0060] Step 204: Generate a vector graphic for representing the connection relationship between the devices. The graphic description information carried by the vector graphic includes device information of each device.
[0061] The vector graphics here refer to Scalable Vector Graphics (SVG), a graphics format based on Extensible Markup Language (XML) for describing two-dimensional vector graphics. XML can be used to mark data and define data types, and is a source language that allows users to define their own markup.
[0062] Vector graphics are generated by converting device information and the connection relationships between devices obtained from the power grid network architecture to create vector graphics that can represent the connection relationships between the devices. For example, information such as the name and number of a transformer device obtained from the power grid network architecture, as well as the connection relationships between the transformer's ports and other devices, can be converted into a vector graphic that represents the device information and connection relationships.
[0063] Graphic description information is a vector graphic representation of the device's name, number, and connections to other devices. For example, 1030000_0001 is used to represent the device's name and number: 1030000 indicates the device is a transformer, and 0001 indicates the transformer is number 1.
[0064] Specifically, based on the device information obtained from the power grid network architecture and the connection relationship between the devices, a vector graphic that can describe the device information and the connection relationship is generated.
[0065] Step 206 : Obtain the rated parameter information of each first-category device and the timing operation data of each second-category device.
[0066] The rated parameter information of each first-category device and the timing operation data of each second-category device can be obtained from different systems or from the same system.
[0067] Specifically, when system A has the required rated parameter information of each first-category device and the timing operation data of each second-category device, it is only necessary to obtain the above data from system A. When system A only has the rated parameter information of each first-category device and system B only has the timing operation data of each second-category device, it is necessary to obtain the above data from the two systems respectively.
[0068] In step 208 , the vector graphics carrying the graphic description information, the rated parameter information of each first-category device, and the timing operation data of each second-category device are simulated to construct a power flow analysis model that matches the power grid network architecture.
[0069] Simulation processing is the process of building a power flow analysis model from data. For example, data can be imported into open-source three-phase distribution network power flow simulation software and simulated to build the required model.
[0070] The power flow analysis model refers to the simulation of the operating status of the distribution network through a computer, which can obtain the distribution information of the system's voltage, power, and phase angle under specific working conditions. The power flow analysis model is widely used in the design, planning, operation and scheduling of distribution networks.
[0071] Specifically, the server will import the device information of the equipment, the vector graphics of the connection relationship between the devices, the rated parameter information corresponding to each first-category device, and the timing operation data of each second-category device into the corresponding simulation software, simulate all the data, and thus build a power flow analysis model that matches the power grid network architecture.
[0072] In the above-mentioned method for constructing a power flow analysis model, a vector graphic is generated by obtaining device information for each device in the power grid network architecture and the connection relationships between each device. This allows the vector graphic and the graphical description information it carries to accurately represent the device information for each device in the power grid network architecture and the connection relationships between each device. By obtaining the rated parameter information corresponding to the first type of device and the sequential operating data for the second type of device, the vector graphic carrying the graphical description information, the rated parameter information for each of the first type of device, and the sequential operating data for each of the second type of device are simulated. The data structure characteristics of the vector graphic are utilized to simplify the data acquisition process required to construct the power flow analysis model, thereby improving data acquisition efficiency and enabling rapid construction of the power flow analysis model.
[0073] In one embodiment, Figure 3 As shown in Figure 2, the method for constructing a power flow analysis model also includes:
[0074] In step 302 , each device in the power grid network architecture is taken as an instance object, and description information of each instance object is determined based on device information of the device and connection relationships between the devices.
[0075] One instance object corresponds to one device. For example, if the X system has N devices, then the vector graphics converted by the system also contain instance objects corresponding to the N devices.
[0076] Specifically, each device in the power grid network architecture is an instance object, and the description information and connection relationship of each instance object are determined based on the acquired device information and the connection relationship between the devices.
[0077] In a specific application, if system X has N devices A and M devices B, then the description of the system contains N instance objects corresponding to the A devices and M instance objects corresponding to the B devices. Based on the acquired device information and the connection relationships between the devices, the description information of the instance objects corresponding to the A devices and the B devices can be determined.
[0078] Step 304 : determining the element composition of the vector graphics based on the types of devices in the power grid network architecture, and using instance objects corresponding to the same type of devices as instance objects of the same element.
[0079] Specifically, the same devices in the power grid network architecture are classified into one category, the number of device types in the power grid network architecture is determined, the composition of elements in the vector graphics is determined according to the principle that one type of device corresponds to one element, and the instance objects corresponding to the same type of devices are used as the instance object composition of the elements corresponding to the device.
[0080] In a practical application, if system X has N devices A and M devices B, then the vector graphics corresponding to the system can be determined to have two elements, a and b. The a element corresponds to device A and consists of N instance objects, and the b element corresponds to device B and consists of M instance objects.
[0081] Step 306 : Determine graphic description information of the vector graphic based on the element composition of the vector graphic, the instance object composition of the same element, and the description information of each instance object.
[0082] In this embodiment, by describing the graphical information of the instance objects corresponding to each device in the vector graphics and describing the connection relationships between the instance objects, the device information and the connection relationships between the devices in the power grid network architecture can be accurately represented. By determining the element composition of the vector graphics and the instance object composition of the same element, the types and number of devices in the power grid network architecture can be accurately represented, thereby achieving accurate and comprehensive display of the device information obtained from the power grid network architecture and the connection relationships between the devices in the vector graphics.
[0083] In one embodiment, Figure 4 As shown, based on the device information of the device and the connection relationship between the devices, the description information of each instance object is determined, including:
[0084] Step 402: For each device, based on the position, size, and transformation of the device, construct a first field including the position, size, and transformation of the instance object corresponding to the device.
[0085] The first field primarily describes the device's graphics information. For example, the polyline field uses stroke-width to indicate the width of the line drawn by the device on the vector graphic, and points to indicate the starting and ending coordinates of the device on the vector graphic. Another example is the use field, which uses x and y to indicate the coordinates of the device's upper-left vertex on the vector graphic, width to indicate the width of the device on the vector graphic, height to indicate the length of the device on the vector graphic, and transform to indicate the device's transformation on the vector graphic.
[0086] Specifically, for a transmission line device, the polyline field can be used to describe the line width and start and end coordinates of the transmission line drawn on the vector graphic. For a tower device, the use field can be used to describe the coordinates of the upper left vertex of the tower graphic in the vector graphic, the length and width of the graphic, and the graphic transformation.
[0087] In a specific application, a transmission line device has a line width of 2.5 in the vector graphics, a starting coordinate of (100.0, 100.0), and an ending coordinate of (125.0, 137.0). Stroke-width = 2.5 can be used to represent the line width of the device in the vector graphics, and points = 100.0, 100.0, 125.0, 137.0 can be used to represent the starting and ending coordinate points of the device in the vector graphics.
[0088] Step 404 : Based on the identity of the device and the connection relationship between the device and other devices in the power grid network architecture, construct a second field including the identity of the instance object and the connection relationship between the instance object and other instance objects.
[0089] The identity field is a credential that represents the device's identity, such as its model. The second field describes the device's model information, such as the metadata field. The metadata field is further divided into two subfields: cge:PSR and cge:Link. cge:PSR describes the device's attributes, including its identity, while cge:Link describes the connection between the device's ports and other devices.
[0090] Specifically, based on the acquired device identity and its connection relationship with other devices in the power grid network architecture, a metadata field is constructed to describe the acquired information. Furthermore, the cge:PSR field is used to describe the device's name, number, model, and other information, while the cge:Link field is used to describe the connection relationship between the device's two ports and other devices in the power grid network architecture.
[0091] In a specific application, there is a transmission line device numbered 1, which can be represented by cge:PSRObjectID=1010000_0001, where 1010000 indicates that the device is a transmission line, and 0001 indicates that the transmission device is numbered 1. A port of the transmission line device is connected to another device, which can be represented by cge:LinkObjectID=1020000_0001,LinkPos=0, where 1020000_0001 is the name and number of the device connected to transmission device 1, and 0 indicates the port connecting the transmission line device to the other device.
[0092] Step 406: Generate description information of the instance object according to the first field and the second field belonging to the same instance object.
[0093] In this embodiment, by using two fields to express the identity of the instance object and the connection relationship between the instance objects, the information of each device in the power grid network architecture and the connection relationship with other devices can be accurately represented, thereby realizing the conversion of the power grid network architecture information into vector graphics.
[0094] In one embodiment, obtaining rated parameter information of first-category devices among the devices includes:
[0095] The rated parameter information corresponding to each device model is obtained from a device information database corresponding to the power grid network architecture. The device model of each first-category device is obtained from the device information. The rated parameter information of each first-category device is determined based on the device model of each first-category device and the rated parameter information corresponding to each device model.
[0096] Specifically, based on the device information stored in the device information database that matches the power grid network architecture, the corresponding device model can be determined. Then, based on the rated parameter information that matches the obtained model, the rated parameter information of each device can be determined. Specifically, if there are six devices of type A, and these six devices belong to three different models, model 1 for devices A1 and A2, model 2 for devices A3 and A4, and model 3 for devices A5 and A6, then the rated parameters of devices A1 and A2 are the same, the rated parameters of devices A3 and A4 are the same, and the rated parameters of devices A5 and A6 are the same. Based on the rated parameter information that matches the model, the rated parameter information of each device can be determined.
[0097] In a specific application, a transformer model SZ11-10000 is obtained from the system. The rated parameters for this model include: voltage level 35 kV, rated capacity 10 MVA, no-load current 0.78 A, rated current 40.5 A, short-circuit impedance 0.0745 pu, no-load loss 9.57 kW, and full-load loss 45.6 kW. If the obtained transformer device information includes X devices with the model SZ11-10000, these X transformers have the same rated parameter information, namely, the aforementioned rated parameter information.
[0098] In this embodiment, by obtaining the model of each first-category device and the matched rated parameter information, and then obtaining the model of each device based on the device information of each first-category device, the rated parameter information of each first-category device can be determined, so that the rated parameter information matched by the model can be corresponded to the specific device to improve data acquisition efficiency.
[0099] In one embodiment, obtaining device information of each device in the power grid network architecture and the connection relationship between the devices further includes:
[0100] Obtain the device information of each device in the power grid network architecture and the connection relationship between each device from the power grid information management system.
[0101] The rated parameter information of each first-category device and the timing operation data of each second-category device are obtained separately, including:
[0102] The rated parameter information of each first-category device in the power grid network architecture is obtained from the power grid information management system, and the timing operation data of the second-category device is obtained from the energy management system.
[0103] The power grid information management system is mainly used to manage information related to the power grid structure, equipment parameters, life cycle, etc. For example, when it is necessary to understand the connection relationship between various devices in the power grid and the device information of each device, this data can be obtained from the PMIS system.
[0104] Energy information management systems are primarily used to monitor the operating status of various devices in the power grid, collect power statistics, and analyze power quality. For example, when you need to understand the operating status of a device, you can obtain real-time or historical operating data from the EMS.
[0105] Specifically, the device information of each device, the connection relationship between each device, and the rated parameter information of each first-category device are obtained from the power grid information management system, and the real-time or historical operation data of each second-category device are obtained from the energy management system.
[0106] In a specific application, the rated parameter information of the transmission line device, such as the rated voltage, rated current, and no-load loss, is obtained from the power grid information management system, and the state of the switch device, whether it is open or closed at time A, and whether it is open or closed at time B, is obtained from the energy management system.
[0107] In this embodiment, by obtaining device information of devices, connection relationships between devices, rated parameter information of each first device, and timing operation data of each second type device from systems with different functions, the obtained data can be made more comprehensive, thereby improving data acquisition efficiency.
[0108] In one embodiment, Figure 5 As shown, the vector graphics carrying the graphic description information, the rated parameter information of each first-category device, and the time series operation data of each second-category device are simulated to construct a power flow analysis model that matches the power grid network architecture, including:
[0109] Step 502: Obtain the input data format indicated by the simulation task.
[0110] The simulation task refers to a task that needs to be executed using the acquired data. The input data format refers to the data format that needs to be converted into a data format that conforms to the simulation task when executing a simulation task.
[0111] Step 504 , based on the input data format, convert the vector graphics carrying the graphic description information, the rated parameter information of each first-category device, and the timing operation data of each second-category device into a format to obtain format-converted data matching the simulation task.
[0112] Specifically, when data A and data B, both in different formats, need to execute simulation task X, and the data format used by the simulation task is C, then the data formats of both data A and data B need to be converted to format C. For another example, when data A needs to execute simulation tasks X and Y, and the data formats corresponding to simulation tasks X and Y are B and C, then the format of data A needs to be converted to formats B and C, respectively, before executing the corresponding simulation tasks. For another example, when the format of data A is consistent with the format used by simulation task X, there is no need to convert the format of data A, and simulation task X can be executed directly.
[0113] Step 506 : Perform simulation processing based on the format-converted data to construct a power flow analysis model that matches the power grid network architecture.
[0114] In this embodiment, by obtaining the data format indicated by the execution of the simulation task, the obtained vector graphics carrying graphic description information, the rated parameter information of each first-category device, and the timing operation data of each second-category device are converted into data format to obtain format conversion data that matches the simulation task, thereby simplifying the data acquisition process required to construct the power flow analysis model, thereby improving the data acquisition efficiency and realizing the rapid construction of the power flow analysis model.
[0115] In a specific embodiment, the device information of each device stored in the PMIS system and the connection relationship between each device are obtained, and the obtained device information is converted into SVG vector graphics. The SVG vector graphics structure consists of elements and corresponding instance objects. Each device is an instance object. The instance object uses the polyline field or the use field to describe the device's position, size, transformation status and other graphic information, and uses the metadata field to describe the device's identity and the connection relationship between each device. The description information of each instance object is determined based on the obtained device information and the connection relationship between each device. The composition of the elements in the SVG vector graphics is determined based on the type of equipment in the power grid network architecture. The instance objects corresponding to the same type of equipment are regarded as instance objects of the same element. The graphic description information of the SVG vector graphics is determined based on the device information of each device and the connection relationship between each device.
[0116] The equipment models and corresponding rated parameter information are obtained from the PMIS system, as shown in Tables 1 and 2.
[0117] Table 1 Rated parameters of transformer equipment obtained
[0118]
[0119] Table 2 Rated parameters of transmission equipment obtained
[0120]
[0121] Based on the graphic description information carried by the vector diagram, the acquired device model is matched with the model of the first-category device in the SVG vector graphic to obtain each device's rated parameter information, such as voltage level, rated capacity, no-load current, and rated current. Sequential operating data for each second-category device is obtained from the EMS system, primarily including past or present state data for the first-category device. For charge devices, this data includes the load at any given moment, and for switches, this data includes whether the device is open or closed at any given moment, as shown in Tables 3, 4, and 5.
[0122] Table 3 Timing operation data of load equipment obtained
[0123]
[0124] Table 4 Timing operation data of power supply equipment obtained
[0125]
[0126] Table 5 Timing operation data of the switchgear obtained
[0127] time Switch 1 status Switch 2 status 2021-01-01 00:00:00 closure disconnect 2021-01-01 00:15:00 closure disconnect
[0128] Next, based on the requirements of the specific power flow calculation simulation software, the data format required to execute the simulation task is determined. The obtained SVG vector graphics carrying graphic description information, the rated parameter information of each first-category device, and the timing operation data of each second-category device are converted into a data format that allows the obtained data information to be successfully simulated in the simulation software, thereby smoothly executing the simulation task and building a power flow analysis model that matches the power grid network architecture.
[0129] In one embodiment, Figure 6 As shown, a device for constructing a power flow analysis model is provided, the device comprising:
[0130] The first data acquisition module 602 is used to obtain device information of each device in the power grid network architecture and the connection relationship between each device. Each device includes a first type of device with rated parameters and a second type of device with time-series operation data.
[0131] The graphic generation module 604 is configured to generate a vector graphic for representing the connection relationship between the devices. The graphic description information carried by the vector graphic includes device information of each device.
[0132] The second data acquisition module 606 is configured to respectively acquire the rated parameter information of each first-category device and the sequential operation data of each second-category device.
[0133] The model building module 608 is used to simulate the vector graphics carrying the graphic description information, the rated parameter information of each first-category device, and the timing operation data of each second-category device to build a power flow analysis model that matches the power grid network architecture.
[0134] In one embodiment, an apparatus for constructing a power flow analysis model includes:
[0135] The instance object unit is used to take each device in the power grid network architecture as an instance object and determine the description information of each instance object according to the device information of the device and the connection relationship between the devices.
[0136] The element unit is used to determine the element composition of the vector graphics based on the type of equipment in the power grid network architecture, and to use the instance objects corresponding to the same type of equipment as the instance objects of the same element.
[0137] The graphic information unit is used to determine the graphic description information of the vector graphic based on the element composition of the vector graphic, the instance object composition of the same element, and the description information of each instance object.
[0138] In one embodiment, the instance object unit includes:
[0139] The first field subunit is used to construct, for each device, a first field including the position, size, and transformation status of the instance object corresponding to the device based on the position, size, and transformation status of the device.
[0140] The second field subunit is used to construct a second field including the identity of the instance object and the connection relationship between the instance object and other instance objects based on the identity of the device and the connection relationship between the device and other devices in the power grid network architecture.
[0141] The information generating subunit is used to generate description information of the instance object according to the first field and the second field belonging to the same instance object.
[0142] In one embodiment, the second data acquisition module includes:
[0143] The first data acquisition unit is used to acquire rated parameter information matching each device model from a device information database matching the power grid network architecture.
[0144] The second data acquisition unit is configured to acquire a device model of each first category device from the device information.
[0145] The rated parameter determination unit is configured to determine the rated parameter information of each first-category device based on the device model of each first-category device and the rated parameter information matched with each device model.
[0146] In one embodiment, the first data acquisition module includes:
[0147] The third data acquisition unit is used to obtain device information of each device in the power grid network architecture and the connection relationship between each device from the power grid information management system.
[0148] The second data acquisition module includes:
[0149] The fourth data acquisition unit acquires the rated parameter information of each first-category device in the power grid network architecture from the power grid information management system.
[0150] The fifth data acquisition unit acquires the time series operation data of each second-category device from the energy management system.
[0151] In one embodiment, the model building module includes:
[0152] The data format acquisition unit acquires the input data format indicated by the simulation task.
[0153] The data conversion unit converts the format of the vector graphics carrying the graphic description information, the rated parameter information of each first-category device, and the timing operation data of each second-category device based on the input data format to obtain format conversion data matching the simulation task.
[0154] The model building unit performs simulation processing based on the format conversion data to build a power flow analysis model that matches the power grid network architecture.
[0155] In one embodiment, a computer device is provided. The computer device may be a server, and its internal structure is shown in FIG. Figure 7As shown. The computer device includes a processor, a memory and a network interface connected via a system bus. The processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The database of the computer device is used to store vector graphics carrying graphic description information, rated parameter information of each first-category device and timing operation data of each second-category device. The network interface of the computer device is used to communicate with an external terminal via a network connection. When the computer program is executed by the processor, a method for constructing a power flow analysis model is implemented.
[0156] Those skilled in the art will understand that Figure 7 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than shown in the figure, or combine certain components, or have a different component arrangement.
[0157] In one embodiment, a computer device is provided, comprising a memory and a processor, wherein a computer program is stored in the memory, and the processor implements the following steps when executing the computer program: obtaining device information of each device in a power grid network architecture and a connection relationship between each device; each device includes a first-category device with rated parameter information and a second-category device with timing operation data; generating a vector graphic for characterizing the connection relationship between each device, wherein the graphic description information carried by the vector graphic includes the device information of each device; respectively obtaining the rated parameter information of each first-category device and the timing operation data of each second-category device; and simulating the vector graphic carrying the graphic description information, the rated parameter information of each first-category device, and the timing operation data of each second-category device to construct a power flow analysis model that matches the power grid network architecture.
[0158] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:
[0159] Each device in the power grid network architecture is regarded as an instance object. The description information of each instance object is determined according to the device information of the device and the connection relationship between the devices. The element composition of the vector graphics is determined based on the type of equipment in the power grid network architecture, and the instance objects corresponding to the same type of equipment are regarded as the instance object composition of the same element. The graphic description information of the vector graphics is determined based on the element composition of the vector graphics, the instance object composition of the same element and the description information of each instance object.
[0160] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:
[0161] Based on the device information of the device and the connection relationship between each device, the description information of each instance object is determined, including: for each device, based on the position, size, and transformation of the device, a first field is constructed including the position, size, and transformation of the instance object corresponding to the device; based on the identity of the device and the connection relationship between the device and other devices in the power grid network architecture, a second field is constructed including the identity of the instance object and the connection relationship between the instance object and other instance objects; according to the first field and the second field belonging to the same instance object, the description information of the instance object is generated.
[0162] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:
[0163] The rated parameter information matching each device model is obtained from the device information database matching the power grid network architecture; the device model of each first-category device is obtained from the device information; and the rated parameter information of each first-category device is determined based on the device model of each first-category device and the rated parameter information matching each device model.
[0164] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:
[0165] Obtain the device information of each device in the power grid network architecture and the connection relationship between each device from the power grid information management system; obtain the rated parameter information of each first-category device in the power grid network architecture from the power grid information management system; obtain the timing operation data of each second-category device from the energy management system.
[0166] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:
[0167] The input data format indicated by the simulation task is obtained; based on the input data format, the vector graphics carrying the graphic description information, the rated parameter information of each first-category device, and the timing operation data of each second-category device are format-converted to obtain format-converted data that matches the simulation task; simulation processing is performed based on the format-converted data to construct a power flow analysis model that matches the power grid network architecture.
[0168] In one embodiment, a computer-readable storage medium is provided. The computer-readable storage medium stores a computer program, which, when executed by a processor, implements the following steps:
[0169] Obtain device information of each device in the power grid network architecture and the connection relationship between each device; each device includes a first-category device with rated parameter information and a second-category device with timing operation data; generate a vector graphic for representing the connection relationship between each device, and the graphic description information carried by the vector graphic includes the device information of each device; respectively obtain the rated parameter information of each first-category device and the timing operation data of each second-category device; simulate the vector graphic carrying the graphic description information, the rated parameter information of each first-category device and the timing operation data of each second-category device to construct a power flow analysis model that matches the power grid network architecture.
[0170] In one embodiment, the computer program, when executed by a processor, performs the following steps:
[0171] Each device in the power grid network architecture is regarded as an instance object. The description information of each instance object is determined according to the device information of the device and the connection relationship between the devices. The element composition of the vector graphics is determined based on the type of equipment in the power grid network architecture, and the instance objects corresponding to the same type of equipment are regarded as the instance object composition of the same element. The graphic description information of the vector graphics is determined based on the element composition of the vector graphics, the instance object composition of the same element and the description information of each instance object.
[0172] In one embodiment, the computer program, when executed by a processor, performs the following steps:
[0173] Based on the device information of the device and the connection relationship between each device, the description information of each instance object is determined, including: for each device, based on the position, size, and transformation of the device, a first field is constructed including the position, size, and transformation of the instance object corresponding to the device; based on the identity of the device and the connection relationship between the device and other devices in the power grid network architecture, a second field is constructed including the identity of the instance object and the connection relationship between the instance object and other instance objects; according to the first field and the second field belonging to the same instance object, the description information of the instance object is generated.
[0174] In one embodiment, the computer program, when executed by a processor, performs the following steps:
[0175] The rated parameter information matching each device model is obtained from the device information database matching the power grid network architecture; the device model of each first-category device is obtained from the device information; and the rated parameter information of each first-category device is determined based on the device model of each first-category device and the rated parameter information matching each device model.
[0176] In one embodiment, the computer program, when executed by a processor, performs the following steps:
[0177] Obtain the device information of each device in the power grid network architecture and the connection relationship between each device from the power grid information management system; obtain the rated parameter information of each first-category device in the power grid network architecture from the power grid information management system; obtain the timing operation data of each second-category device from the energy management system.
[0178] In one embodiment, the computer program, when executed by a processor, performs the following steps:
[0179] The input data format indicated by the simulation task is obtained; based on the input data format, the vector graphics carrying the graphic description information, the rated parameter information of each first-category device, and the timing operation data of each second-category device are format-converted to obtain format-converted data that matches the simulation task; simulation processing is performed based on the format-converted data to construct a power flow analysis model that matches the power grid network architecture.
[0180] In one embodiment, a computer program product is provided. The computer program product includes a computer program that, when executed by a processor, implements the following steps:
[0181] Obtain device information of each device in the power grid network architecture and the connection relationship between each device; each device includes a first-category device with rated parameter information and a second-category device with timing operation data; generate a vector graphic for representing the connection relationship between each device, and the graphic description information carried by the vector graphic includes the device information of each device; respectively obtain the rated parameter information of each first-category device and the timing operation data of each second-category device; simulate the vector graphic carrying the graphic description information, the rated parameter information of each first-category device and the timing operation data of each second-category device to construct a power flow analysis model that matches the power grid network architecture.
[0182] In one embodiment, the computer program, when executed by a processor, implements the following steps:
[0183] Each device in the power grid network architecture is regarded as an instance object. The description information of each instance object is determined according to the device information of the device and the connection relationship between the devices. The element composition of the vector graphics is determined based on the type of equipment in the power grid network architecture, and the instance objects corresponding to the same type of equipment are regarded as the instance object composition of the same element. The graphic description information of the vector graphics is determined based on the element composition of the vector graphics, the instance object composition of the same element and the description information of each instance object.
[0184] In one embodiment, the computer program, when executed by a processor, implements the following steps:
[0185] Based on the device information of the device and the connection relationship between each device, the description information of each instance object is determined, including: for each device, based on the position, size, and transformation of the device, a first field is constructed including the position, size, and transformation of the instance object corresponding to the device; based on the identity of the device and the connection relationship between the device and other devices in the power grid network architecture, a second field is constructed including the identity of the instance object and the connection relationship between the instance object and other instance objects; according to the first field and the second field belonging to the same instance object, the description information of the instance object is generated.
[0186] In one embodiment, the computer program, when executed by a processor, implements the following steps:
[0187] The rated parameter information matching each device model is obtained from the device information database matching the power grid network architecture; the device model of each first-category device is obtained from the device information; and the rated parameter information of each first-category device is determined based on the device model of each first-category device and the rated parameter information matching each device model.
[0188] In one embodiment, the computer program, when executed by a processor, implements the following steps:
[0189] Obtain the device information of each device in the power grid network architecture and the connection relationship between each device from the power grid information management system; obtain the rated parameter information of each first-category device in the power grid network architecture from the power grid information management system; obtain the timing operation data of each second-category device from the energy management system.
[0190] In one embodiment, the computer program, when executed by a processor, implements the following steps:
[0191] The input data format indicated by the simulation task is obtained; based on the input data format, the vector graphics carrying the graphic description information, the rated parameter information of each first-category device, and the timing operation data of each second-category device are format-converted to obtain format-converted data that matches the simulation task; simulation processing is performed based on the format-converted data to construct a power flow analysis model that matches the power grid network architecture.
[0192] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties.
[0193] It should be understood that, although the various steps in the flowcharts involved in the various embodiments described above are displayed in sequence according to the instructions of the arrows, these steps are not necessarily executed in sequence in the order indicated by the arrows. Unless otherwise specified herein, there is no strict order restriction on the execution of these steps, and these steps can be executed in other orders. Moreover, at least a portion of the steps in the flowcharts involved in the various embodiments described above can include multiple steps or multiple stages, and these steps or stages are not necessarily executed and completed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily to be carried out in sequence, but can be executed in turn or alternately with other steps or at least a portion of steps or stages in other steps.
[0194] Those skilled in the art will appreciate that all or part of the processes in the above-mentioned embodiment methods can be implemented by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, database or other media used in the embodiments provided in this application may include at least one of non-volatile and volatile memory. Non-volatile memory may include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory may include random access memory (RAM) or external cache memory, etc. By way of illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The database involved in the various embodiments provided herein may include at least one of a relational database and a non-relational database. Non-relational databases may include, but are not limited to, distributed databases based on blockchains. The processor involved in the various embodiments provided herein may be, but are not limited to, a general-purpose processor, a central processing unit, a graphics processing unit, a digital signal processor, a programmable logic unit, a data processing logic unit based on quantum computing, and the like.
[0195] The technical features of the above embodiments can be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0196] The above-described embodiments merely represent several implementation methods of the present application. While the descriptions are relatively specific and detailed, they should not be construed as limiting the scope of the present application. It should be noted that a person of ordinary skill in the art may make various modifications and improvements without departing from the spirit of the present application, and these modifications and improvements fall within the scope of protection of the present application. Therefore, the scope of protection of the present application shall be determined by the appended claims.
Claims
1. A method for constructing a power flow analysis model, characterized in that: The method comprises: Acquire device information of each device in the power grid network architecture and the connection relationship between each of the devices; each of the devices includes a first type of device with rated parameter information and a second type of device with time sequence operation data; generating a vector graphic for representing a connection relationship between the devices, wherein the graphic description information carried by the vector graphic includes device information of the devices; Respectively obtaining rated parameter information of each device of the first category and timing operation data of each device of the second category; Simulating the vector graphics carrying the graphic description information, the rated parameter information of each of the first-category devices, and the time-series operation data of each of the second-category devices to construct a power flow analysis model that matches the power grid network architecture; The process of obtaining the graphic description information includes: Taking each device in the power grid network architecture as an instance object, for each device, based on the location, size, and transformation of the device, construct a first field including the location, size, and transformation of the instance object corresponding to the device; based on the identity of the device and the connection relationship between the device and other devices in the power grid network architecture, construct a second field including the identity of the instance object and the connection relationship between the instance object and other instance objects; and generating description information of the instance object according to the first field and the second field belonging to the same instance object; Determining the element composition of the vector graphics based on the types of devices in the power grid network architecture, and using instance objects corresponding to the same type of devices as instance objects of the same element; Graphic description information of the vector graphic is determined based on the element composition of the vector graphic, the instance object composition of the same element, and the description information of each of the instance objects.
2. The method according to claim 1, characterized in that Obtain rated parameter information of the first category of devices in each of the devices, including: Obtaining rated parameter information matching each device model from a device information database matching the power grid network architecture; Obtaining a device model of each device of the first category from the device information; Based on the device model of each of the first-category devices and the rated parameter information matched with each of the device models, the rated parameter information of each of the first-category devices is determined.
3. The method according to claim 1, characterized in that The obtaining of device information of each device in the power grid network architecture and the connection relationship between the devices includes: Obtaining device information of each device in the power grid network architecture and the connection relationship between each device from the power grid information management system; The obtaining of rated parameter information of each first-category device and sequential operation data of each second-category device includes: Acquire rated parameter information of each of the first-category devices in the power grid network architecture from the power grid information management system; The time sequence operation data of each of the second-category devices is obtained from the energy management system.
4. The method according to claim 1, wherein The simulating process of the vector graphics carrying the graphic description information, the rated parameter information of each of the first-category devices, and the time series operation data of each of the second-category devices to construct a power flow analysis model matching the power grid network architecture includes: Get the input data format indicated by the simulation task; Based on the input data format, converting the vector graphics carrying the graphic description information, the rated parameter information of each first-category device, and the timing operation data of each second-category device into a format to obtain format-converted data matching the simulation task; Simulation processing is performed based on the format-converted data to construct a power flow analysis model that matches the power grid network architecture.
5. A device for constructing a power flow analysis model, characterized in that: The device comprises: A first data acquisition module is used to acquire device information of each device in the power grid network architecture and the connection relationship between each of the devices; each of the devices includes a first type of device with rated parameters and a second type of device with time-series operation data; a graphics generation module, configured to generate a vector graphic for representing a connection relationship between the devices, wherein the graphic description information carried by the vector graphic includes device information of each device; a second data acquisition module, configured to respectively acquire the rated parameter information of each of the first-category devices and the timing operation data of each of the second-category devices; a model construction module, configured to simulate the vector graphics carrying the graphic description information, the rated parameter information of each first-category device, and the time-series operation data of each second-category device, so as to construct a power flow analysis model matching the power grid network architecture; The process of obtaining the graphic description information includes: Taking each device in the power grid network architecture as an instance object, for each device, based on the location, size, and transformation of the device, construct a first field including the location, size, and transformation of the instance object corresponding to the device; based on the identity of the device and the connection relationship between the device and other devices in the power grid network architecture, construct a second field including the identity of the instance object and the connection relationship between the instance object and other instance objects; and generating description information of the instance object according to the first field and the second field belonging to the same instance object; Determining the element composition of the vector graphics based on the types of devices in the power grid network architecture, and using instance objects corresponding to the same type of devices as instance objects of the same element; Graphic description information of the vector graphic is determined based on the element composition of the vector graphic, the instance object composition of the same element, and the description information of each of the instance objects.
6. A computer device comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 4 are implemented.
7. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 4 are implemented.
8. A computer program product comprising a computer program, characterized in that When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 4 are implemented.
Citation Information
Patent Citations
CIM based automatic graph-forming system for power transmission and distribution network
CN105488269A
Simulation method and apparatus for wind farm common coupling region
US20160063153A1