Power grid operation data load flow calculation method and device based on assembly line mechanism and storage medium

By adopting a pipeline-based data flow calculation method for power grid operation, the problems of low data processing efficiency and poor display effect in existing technologies are solved. This method achieves efficient data calculation and convenient interactive interface display, thereby improving the data processing efficiency and user experience of the power system.

CN121541808APending Publication Date: 2026-02-17ELECTRIC POWER RES INST CHINA SOUTHERN POWER GRID CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202511732712.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-11-24
Publication Date
2026-02-17

AI Technical Summary

Technical Problem

Existing power flow calculation methods suffer from low data processing efficiency and poor data display in power systems, making human-computer interaction difficult and hindering convenient and efficient data calculation and display.

Method used

A power flow calculation method based on a pipeline mechanism is adopted. By displaying data selection modes and pipeline templates, power grid operation data is obtained. Based on the user's input of mode and template selection operations, power flow calculation rules are obtained, pipeline tasks are created to perform power flow calculations, and a visual interactive interface and data management are provided.

Benefits of technology

It improves the data processing efficiency of the entire power flow calculation process, enhances the data display effect, and increases the convenience of human-computer interaction, making the data calculation results easier to display and reproduce.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121541808A_ABST
    Figure CN121541808A_ABST
Patent Text Reader

Abstract

The embodiment of the invention relates to the field of power systems, and provides a power grid operation data load flow calculation method and device based on an assembly line mechanism and a storage medium, and the method comprises the steps: responding to an assembly line adding instruction initiated by a user, and displaying each to-be-selected data selection mode and an assembly line template; in response to a mode selection operation input by a user for the to-be-selected data selection mode, acquiring power grid operation data in a scene corresponding to a preset power grid operation mode in the power system according to the data acquisition path; in response to a template selection operation input by a user for the to-be-selected assembly line template, obtaining a load flow calculation rule pre-configured in the assembly line template corresponding to the template selection operation; and according to the load flow calculation rule, creating an assembly line task to perform load flow calculation on the power grid operation data to obtain a load flow calculation result. By adopting the method, the data processing efficiency of the whole load flow calculation process can be improved, and the data display effect is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of power system technology, and in particular to a method, apparatus and storage medium for calculating power grid operation data flow based on a pipeline mechanism. Background Technology

[0002] In the field of power system technology, it is necessary to perform power flow calculations on the research area of ​​the power system in order to study the power operation efficiency of the area, or to monitor whether the data indicators corresponding to various equipment or modules in the power system are normal.

[0003] However, the existing trend calculation method relies on processing text files from other systems. For example, it adjusts data, controls processes, and calculates results based on programming languages ​​or documents. This makes human-computer interaction difficult, and the data calculation results are hard to display and reproduce.

[0004] In summary, existing technologies for power flow calculation in power systems suffer from low data processing efficiency and poor data visualization throughout the entire calculation process. Summary of the Invention

[0005] This application provides a method, apparatus, and storage medium for power grid operation data flow calculation based on a pipeline mechanism, which can improve the data processing efficiency of the entire power flow calculation process and improve the data display effect.

[0006] In a first aspect, embodiments of this application provide a power grid operation data flow calculation method based on a pipeline mechanism, including:

[0007] In response to user-initiated pipeline addition commands, display each candidate data selection mode and each candidate pre-configured pipeline template;

[0008] In response to the user's input of a mode selection operation for the data selection mode to be selected, the power grid operation data corresponding to the preset power grid operation mode in the power system is obtained according to the data acquisition path represented in the mode selection operation.

[0009] In response to the user's template selection operation for the pipeline template to be selected, the pre-configured power flow calculation rules in the pipeline template corresponding to the template selection operation are obtained;

[0010] According to the power flow calculation rules, a pipeline task is created to perform power flow calculation on the power grid operation data, and the power flow calculation results associated with the power grid operation data are obtained.

[0011] Secondly, embodiments of this application provide a power grid operation data flow calculation device based on a pipeline mechanism, which has the function of implementing the power grid operation data flow calculation method based on a pipeline mechanism provided in the first aspect above. The function can be implemented by hardware or by hardware executing corresponding software. The hardware or software includes one or more modules corresponding to the above functions, and the modules can be software and / or hardware.

[0012] In one possible design, the device includes:

[0013] The candidate information display module is used to respond to the user's pipeline addition command, display each candidate data selection mode, and display each candidate pre-configured pipeline template;

[0014] The data acquisition module is used to respond to the user's mode selection operation input for the data selection mode to be selected, and to acquire power grid operation data in the scenario corresponding to the preset power grid operation mode in the power system according to the data acquisition path represented in the mode selection operation.

[0015] The calculation rule acquisition module is used to respond to the template selection operation input by the user for the pipeline template to be selected, and to acquire the power flow calculation rules pre-configured in the pipeline template corresponding to the template selection operation.

[0016] The power flow calculation module is used to create pipeline tasks according to the power flow calculation rules to perform power flow calculation on the power grid operation data and obtain the power flow calculation results associated with the power grid operation data.

[0017] Another aspect of this application provides a power grid operation data flow calculation device based on a pipeline mechanism, which includes at least one connected processor and a memory, wherein the memory is used to store program code, and the processor is used to call the program code in the memory to execute the methods described in the above aspects.

[0018] In another aspect, this application provides a computer storage medium including instructions that, when executed on a computer, cause the computer to perform the methods described in the above aspects.

[0019] In another aspect, this application provides a computer program product containing instructions that, when run on a computer, cause the computer to perform the methods described in the above aspects.

[0020] Compared to traditional text-file-based power flow calculation methods in existing technologies, this embodiment first displays various candidate data selection modes and pipeline templates based on pipeline addition instructions. Then, based on the mode selection operation input by the user, power grid operation data corresponding to the preset power grid operation mode is obtained according to the corresponding data acquisition path. Subsequently, pre-configured power flow calculation rules are obtained based on the user's template selection operation. Finally, a pipeline task is created to perform power flow calculation on the power grid operation data to obtain the power flow calculation result. The technical solution of this embodiment is based on a pipeline mechanism for data adjustment, process control, and result calculation. It completes the interaction with the user through various input operations or instructions, providing a convenient and efficient visual process, improving the convenience of human-computer interaction. The provided visual interface and pipeline data management method make the data calculation results easy to display and reproduce, thereby improving the data processing efficiency of the entire power flow calculation process and improving the data display effect. Attached Figure Description

[0021] Figure 1 This is an application environment diagram from one embodiment;

[0022] Figure 2 This is a flowchart illustrating a power grid operation data flow calculation method based on a pipeline mechanism in one embodiment.

[0023] Figure 3 A diagram illustrating the first mode selection interface in one embodiment;

[0024] Figure 4 A diagram illustrating the second mode selection interface in one embodiment;

[0025] Figure 5 This is a diagram showing the first running state interface in one embodiment;

[0026] Figure 6 This is a diagram showing the second running state interface in one embodiment;

[0027] Figure 7 This is a diagram showing the interface of the first calculation result in one embodiment;

[0028] Figure 8 This is a diagram showing the second calculation result interface in one embodiment;

[0029] Figure 9 This is a diagram showing the third calculation result interface in one embodiment;

[0030] Figure 10 This is a flowchart illustrating a power grid operation data flow calculation method based on a pipeline mechanism in another embodiment.

[0031] Figure 11This is a diagram illustrating a prior art document editing interface in one embodiment;

[0032] Figure 12 This is a diagram showing the calculation results interface of the prior art in one embodiment;

[0033] Figure 13 This is a schematic diagram of the overall process in one embodiment;

[0034] Figure 14 This is a structural block diagram of a power grid operation data flow calculation device based on a pipeline mechanism in one embodiment;

[0035] Figure 15 This is an internal structure diagram of a power grid operation data flow calculation device based on a pipeline mechanism in one embodiment;

[0036] Figure 16 This is an internal structural diagram of a power grid operation data flow calculation device based on a pipeline mechanism in another embodiment. Detailed Implementation

[0037] The terms "first," "second," etc., in the specification, claims, and accompanying drawings of this application are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that the embodiments described herein can be implemented in a sequence other than that illustrated or described herein. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover non-exclusive inclusion. For example, a process, method, system, product, or device that includes a series of steps or modules is not necessarily limited to those explicitly listed, but may include other steps or modules not explicitly listed or inherent to these processes, methods, products, or devices. The division of modules in the embodiments of this application is merely a logical division; in actual applications, there may be other division methods. For example, multiple modules may be combined into or integrated into another system, or some features may be ignored or not performed. Additionally, the shown or discussed mutual coupling or direct coupling or communication connection may be through some interface, and the indirect coupling or communication connection between modules may be electrical or other similar forms, none of which are limited in the embodiments of this application. Furthermore, the modules or sub-modules described as separate components may or may not be physically separated, may or may not be physical modules, or may be distributed among multiple circuit modules. Some or all of the modules may be selected according to actual needs to achieve the purpose of the embodiments of this application.

[0038] Figure 1 As shown in the application environment diagram of one embodiment, this application provides a power grid operation data flow calculation method based on a pipeline mechanism, which can be applied to, for example... Figure 1 In the application scenario shown, terminal 102 communicates with server 104 via a network.

[0039] The terminal 102 can be, but is not limited to, various personal computers, laptops, smartphones, tablets, IoT devices, and portable wearable devices. IoT devices can include smart speakers, smart TVs, smart air conditioners, and smart in-vehicle systems. Portable wearable devices can include smartwatches, smart bracelets, and head-mounted devices. The server 104 can be implemented using a standalone server or a server cluster consisting of multiple servers.

[0040] It should be specifically noted that the terminal 102 involved in this application embodiment can be a wired terminal or a wireless terminal. It can be a device that provides voice and / or data connectivity to a user, a handheld device with wireless connectivity, or other processing devices connected to a wireless modem. The wireless terminal can communicate with one or more core networks via a Radio Access Network (RAN). The wireless terminal can be a mobile terminal, such as a mobile phone (or "cellular" phone) and a computer with a mobile terminal. For example, it can be a portable, pocket-sized, handheld, computer-embedded, or vehicle-mounted mobile device that exchanges voice and / or data with the radio access network. Examples include Personal Communication Service (PCS) phones, cordless phones, Session Initiation Protocol (SIP) phones, Wireless Local Loop (WLL) stations, and Personal Digital Assistants (PDAs). Wireless terminals can also be referred to as systems, subscriber units, subscriber stations, mobile stations, mobile stations, remote stations, access points, remote terminals, access terminals, user terminals, terminal equipment, user agents, user devices, or user equipment.

[0041] Figure 2 This is a flowchart illustrating a power grid operation data flow calculation method based on a pipeline mechanism in one embodiment. The following refers to... Figure 2This application introduces a method for calculating power grid operation data flow based on a pipeline mechanism, which includes:

[0042] S201, in response to a user-initiated pipeline addition command, displays various candidate data selection modes and various candidate pre-configured pipeline templates.

[0043] Users can be those who use power flow computing-related software management systems, such as power system staff responsible for monitoring or management.

[0044] Among them, the pipeline addition instruction is initiated by the user and is used to add pipelines in the system. A pipeline refers to a complete flow calculation task, and the pipeline mechanism is a management mechanism based on multiple flow calculation tasks.

[0045] The data selection modes include online mode and offline mode, with different modes corresponding to different file acquisition methods; in addition, online mode can also be called online mode, and offline mode can also be called offline mode.

[0046] Among them, pipeline templates refer to the pre-configured template information in the tasks of each pipeline. For example, a pipeline template can be "basic calculation / power flow calculation", which pre-configures the steps for basic calculation in power flow calculation, avoiding the need to edit and control through text files or programming languages, and improving the efficiency of power flow calculation.

[0047] S202, in response to the user's mode selection operation input for the selected data selection mode, obtains the power grid operation data corresponding to the preset power grid operation mode in the power system according to the data acquisition path represented in the mode selection operation.

[0048] Among them, mode selection operation refers to the operation of choosing which mode to use for data acquisition. The data acquisition path represented in mode selection operation is the data selection mode, which includes online mode and offline mode.

[0049] The power system refers to the power system to be studied. Specifically, it can be a power station (power plant) in a power system, or a research area, such as a region, city, or province to which the power station belongs.

[0050] Among them, the preset power grid operation mode refers to a certain power grid operation mode to be studied. The power grid operation mode is also called mode. The operation mode of the power system refers to the working state and operation strategy of the power system under different conditions. These modes ensure that the power system can operate safely, reliably and economically.

[0051] Among them, power grid operation data refers to the data obtained for power flow calculation, which is also known as power flow calculation. Power grid operation data can be power grid data under a certain mode, also known as mode data, which naturally includes online mode data and offline mode data.

[0052] S203, in response to the user's template selection operation input for the pipeline template to be selected, obtain the pre-configured power flow calculation rules in the pipeline template corresponding to the template selection operation.

[0053] The template selection operation refers to choosing which template to use for pipeline generation. As you can understand, different templates correspond to different processes, and naturally, different calculation rules, i.e., power flow calculation rules.

[0054] The power flow calculation rules are pre-configured in the templates, which makes it easy to quickly create pipeline tasks by selecting or editing the templates, so as to efficiently complete the power flow calculation.

[0055] S204. According to the power flow calculation rules, a pipeline task is created to perform power flow calculation on the power grid operation data and obtain the power flow calculation results associated with the power grid operation data.

[0056] The power flow calculation results can include data such as the distribution of voltage, current, and power, as well as losses, which can be used to reflect the characteristics of power grid operation data.

[0057] The created pipeline task is the new task corresponding to the pipeline new instruction initiated by the user, which is used to perform power flow calculation.

[0058] Compared to traditional text-file-based power flow calculation methods in existing technologies, this embodiment first displays various candidate data selection modes and pipeline templates based on pipeline addition instructions. Then, based on the mode selection operation input by the user, power grid operation data corresponding to the preset power grid operation mode is obtained according to the corresponding data acquisition path. Subsequently, pre-configured power flow calculation rules are obtained based on the user's template selection operation. Finally, a pipeline task is created to perform power flow calculation on the power grid operation data to obtain the power flow calculation result. The technical solution of this embodiment is based on a pipeline mechanism for data adjustment, process control, and result calculation. It completes the interaction with the user through various input operations or instructions, providing a convenient and efficient visual process, improving the convenience of human-computer interaction. The provided visual interface and pipeline data management method make the data calculation results easy to display and reproduce, thereby improving the data processing efficiency of the entire power flow calculation process and improving the data display effect.

[0059] Optionally, in some embodiments of this application, in response to a user's input of a mode selection operation for a selected data selection mode, the power grid operation data corresponding to a preset power grid operation mode in the power system is obtained according to the data acquisition path represented in the mode selection operation, including: when the data acquisition path represented in the mode selection operation is an online mode, online mode data is obtained according to the mode data identifier represented in the mode selection operation.

[0060] Among them, power grid operation data includes online mode data. The mode data identifier can be the name of a certain mode. Online mode data refers to the data obtained in online mode for power flow calculation.

[0061] Optionally, in some embodiments of this application, creating a pipeline task to perform power flow calculation on power grid operation data and obtain power flow calculation results associated with power grid operation data includes: generating intermediate files conforming to a preset format for power flow calculation based on the classification of equipment, mode, and model data in online mode data; and determining the power flow calculation results based on the intermediate files according to a pre-configured power flow calculation algorithm.

[0062] The preset formats can be dat (Data File) and swi (Switching File), while intermediate files refer to files after format conversion. The power flow calculation algorithm can be computing power algorithms such as Gauss-Seidel method and Newton-Raphson method.

[0063] For example, the process of power flow calculation in online mode can be as follows: generate the dat and swi files required for power flow calculation according to the selected method, device, and model data set, or select offline dat and swi files, and obtain the distribution of voltage, current, power and loss according to computing power algorithms such as Gauss-Seidel method and Newton-Raphson method.

[0064] Figure 3 A diagram showing the first mode selection interface in one embodiment, such as... Figure 3 As shown, if you need to perform online calculations, you can click "Add Pipeline Management" and select "Online" as the data selection mode. For example, select the data type for calculations. Figure 3 In the "Method" section, select the name of the method to be calculated and upload it for calculation.

[0065] Among them, "test" is the data identifier of the mode selection operation "select online mode", that is, the name identifier of this predefined running mode. The selection of specific mode content in online mode is completed through this identifier.

[0066] Additionally, you need to select "Basic Calculation / Power Flow Calculation" as the template for this newly added calculation pipeline in the pipeline template section. The template also displays a "Template Definition" window, which shows the steps in the pre-configuration process of the template, such as... Figure 3 The steps include step 1, "Power Flow Calculation".

[0067] Optionally, in some embodiments of this application, in response to a user's input of a mode selection operation for a selected data selection mode, the power grid operation data corresponding to a preset power grid operation mode in the power system is obtained according to the data acquisition path represented in the mode selection operation, including: when the data acquisition path represented in the mode selection operation is offline mode, obtaining offline mode data according to the upload address of the offline data represented in the mode selection operation.

[0068] Among them, power grid operation data includes offline data, which refers to data obtained in offline mode for power flow calculation.

[0069] Optionally, in some embodiments of this application, creating a pipeline task to perform power flow calculation on power grid operation data and obtain power flow calculation results associated with power grid operation data includes: identifying the file format of the offline data; and, if the file format of the offline data conforms to a preset format, determining the power flow calculation result based on the offline data according to a pre-configured power flow calculation algorithm.

[0070] The preset formats also include .dat and .swi file formats. Format identification and verification are performed before uploading to help ensure the accuracy of the file format, thereby ensuring the smooth progress of subsequent power flow calculations.

[0071] Figure 4 Here is a diagram showing the second mode selection interface in one embodiment, such as... Figure 4 As shown, in a specific embodiment, clicking "Pipeline Management" in the "Computation" menu or clicking "Add Computation Pipeline" will directly take you to the uploaded offline data page; then you can enter the required fields "Pipeline Name" and "Pipeline Template"; in addition, you can select "Power Flow Computation" to modify the configuration parameters and click "OK" to save the changes, which improves the flexibility of parameter configuration in the template, thereby improving the adaptability of the entire power flow computation process.

[0072] like Figure 4 As shown, "offline data" is the offline mode. After selecting the offline mode, you can select the upload address of the offline data by using the "select folder" button. Among them, "2025 February small method V5dat and swi data file (7)" is one of the offline data uploaded in the offline mode.

[0073] Furthermore, existing technologies employ relatively limited power flow calculation methods, relying solely on online calculations based on system text files. In contrast, this application's embodiments allow for flexible selection of online and offline modes as needed. Specifically, the power flow calculation in this application can choose between a "mode corresponding to the method" (i.e., online mode) and a "mode that imports offline method data" (i.e., offline mode), enhancing the flexibility and comprehensiveness of power flow calculation.

[0074] Based on this, this embodiment can combine online and offline data for power flow verification. For example, for data of the same operating mode in the same research area, online and offline methods can be used for comparative analysis to determine whether convergence has occurred and to verify the integrity of the data. By combining online and offline methods, power flow calculation becomes more convenient and intuitive, and the accuracy of power flow calculation is improved.

[0075] Optionally, in some embodiments of this application, the method further includes: the running status of file data corresponding to each pipeline during the process of obtaining power grid operation data for power flow calculation; and displaying progress information corresponding to the running status of file data corresponding to each pipeline in the progress display area corresponding to each pipeline.

[0076] Figure 5 This is a diagram showing the first running state interface in one embodiment. Figure 6 This is a diagram showing the second running state interface in one embodiment. Figure 5 In the process, after completing pipeline creation, such as after clicking "OK", a new pipeline will be added to the "Pipeline Management" list. Users can observe the running status of file data (also known as the running status of file data) through the display area corresponding to the "Recently Running Status" item. Figure 5 As shown, the "Trend Calculation" in the display area corresponding to the "Recent Running Status" entry represents the running status of a file data.

[0077] More specifically, such as Figure 6 As shown, you can access the "2025 Pipeline History" interface to view the running status of file data in more detail, such as... Figure 6 The information represented in the text, such as "Step 1 power flow calculation was successful, and Step 2 stability calculation was successful," is a kind of progress information, and its display area is the progress display area.

[0078] In another embodiment, Figure 7 This is a diagram showing the interface of the first calculation result in one embodiment; Figure 8 This is a diagram showing the second calculation result interface in one embodiment; Figure 9 This is a diagram showing the third calculation result interface in one embodiment; see below for reference. Figures 7 to 9 This explains the process of displaying the power flow calculation results.

[0079] Once the pipeline runs successfully, clicking "View Results" will allow you to see detailed calculation results such as "Calculation Results," "Calculation Results File," and "Load Cutoff Statistics Table." Figure 7 For the interface display of "Calculation Results", Figure 8 The interface for displaying the "Calculation Results File" is as follows. Figure 9 This is the interface display for the "Load Cut-off Statistics Table".

[0080] In addition, in the existing technology, the power flow calculation results are not displayed separately, and users cannot know the calculation status, resulting in a poor user experience. However, in the embodiments of this application, the power flow calculation results and running status are displayed in a pipeline form and layout, which clearly shows the calculation results and running status of the power flow calculation. This allows users to clearly see the current data content and calculation progress, making it convenient for users to monitor the status.

[0081] Optionally, in some embodiments of this application, the method further includes: storing the power grid operation data and power flow calculation results into mutually isolated target storage areas corresponding to each pipeline according to association rules; and in response to a file read command input by the user for a pipeline, obtaining the power grid operation data and power flow calculation results corresponding to the task identifier according to the task identifier of the pipeline corresponding to the file read command.

[0082] In this context, the mutually isolated target storage areas corresponding to each pipeline are the data storage areas corresponding to each pipeline. The file read command refers to the command entered by the user when they need to read or download data. The task identifier of the pipeline can be the pipeline number. Specifically, the task identifier can be selected by clicking on the relevant area of ​​the pipeline, and then the data can be viewed or downloaded in the target storage area according to the task identifier.

[0083] In existing technologies, power flow calculation results are not stored separately, and data between different power flow calculations is easily interfered with. In this embodiment, each pipeline has a corresponding calculation result file for storage, which makes it convenient for users to view the power flow calculation results at any time. By creating pipelines, their respective power flow calculations can be isolated, ensuring that they do not interfere with each other, thus achieving data isolation and improving the data reliability of the pipelines.

[0084] Furthermore, in existing technologies, source data cannot be accessed offline at any time. However, in this embodiment, by establishing a target storage area to save data in a regular manner, the calculation result files generated by the power flow calculation after the user submits the pipeline are retained, making it convenient for users to download the source data files for offline viewing. Compared with the offline storage of offline files, this improves the convenience of file storage and retrieval.

[0085] Figure 10 This is a flowchart illustrating a power grid operation data flow calculation method based on a pipeline mechanism in another embodiment. In another embodiment, Figure 10 A method for calculating power grid operation data flow based on a pipeline mechanism is provided, including the following steps:

[0086] S1001, in response to the user-initiated pipeline addition command, displays each candidate data selection mode and each candidate pre-configured pipeline template;

[0087] S1002, when the data acquisition method represented in the mode selection operation is online mode, obtain the online mode data according to the mode data identifier represented in the mode selection operation;

[0088] S1003, when the data acquisition method represented in the mode selection operation is offline mode, obtain the offline data according to the upload address of the offline data represented in the mode selection operation;

[0089] S1004, Based on the classification of equipment, mode, and model data in the online mode data, generate intermediate files in a preset format required for power flow calculation;

[0090] S1005, based on a pre-configured power flow calculation algorithm, determines the power flow calculation result according to the intermediate file;

[0091] S1006, Identify the file format of the offline data, and if the file format of the offline data conforms to the preset format, determine the power flow calculation result based on the pre-configured power flow calculation algorithm and the offline data;

[0092] S1007, in response to the user's template selection operation for the pipeline template to be selected, obtain the pre-configured power flow calculation rules in the pipeline template corresponding to the template selection operation;

[0093] S1008: According to the power flow calculation rules, a pipeline task is created to perform power flow calculation on the power grid operation data and obtain the power flow calculation results associated with the power grid operation data.

[0094] It should be noted that the specific limitations of the above steps can be found in the above description of the specific limitations of a power grid operation data flow calculation method based on a pipeline mechanism, and will not be repeated here.

[0095] The following describes the research process and other technical details of the power grid operation data flow calculation method based on the pipeline mechanism provided in this application, using a specific embodiment.

[0096] Figure 11 This is a diagram illustrating a prior art document editing interface in one embodiment. Figure 12 This is a diagram showing the calculation results interface of the prior art in one embodiment, for reference. Figure 11 and Figure 12 In existing technologies, power grid companies classify their operations by time scale, which can be divided into annual, quarterly, monthly, and daily operating modes. Each time the mode is adjusted, the data (power, node type, etc.) is processed. The entire process is based on text files from other systems, which is not only inefficient but also prone to errors and does not effectively distinguish which data has problems.

[0097] In addition, existing technologies rely on programming languages ​​for data adjustment and calculation, which is inefficient. All the data is crammed into a text file, making it difficult to browse intuitively. There are no prompts for modifications, and the learning cost is high for beginners, thus requiring a significant investment of manpower and time.

[0098] To address the aforementioned issues, this application provides a pipeline-based method for calculating power grid operation data flow, also known as a pipeline management method for power grid operation mode flow calculation. Figure 13 As shown, Figure 13 As shown in the overall process diagram of one embodiment, when adding a new computing pipeline, this application needs to select data, that is, select different data acquisition modes, including two modes: "mode data" and "offline data", and then select a pipeline template to complete the addition of the pipeline.

[0099] This application allows for data adjustment based on template modifications, and enables manipulation and display of data calculation results through a visual interface. Furthermore, it allows for setting prompts when errors are made, reporting errors and displaying the problem type when the result is incorrect. This enables real-time online power flow calculation after data editing, providing convenient interface functions for data display, editing, and verification, improving the efficiency of power flow calculation, and enhancing the visualization effect of the entire power flow calculation process.

[0100] Figures 1 to 13 Any technical feature in the embodiments corresponding to any of the above items is also applicable to the embodiments of this application. Figures 14 to 16 The corresponding implementation examples will not be repeated hereafter.

[0101] The above describes a power grid operation data flow calculation method based on a pipeline mechanism in the embodiments of this application. The following describes the apparatus for performing the above method.

[0102] Figure 14 Here is a structural block diagram of a power grid operation data flow calculation device based on a pipeline mechanism in one embodiment. The following refers to... Figure 14 A pipeline-based power grid operation data flow calculation device is described, which includes:

[0103] The candidate information display module 1401 is used to respond to the pipeline addition command initiated by the user, display each candidate data selection mode, and display each candidate pre-configured pipeline template;

[0104] The data acquisition module 1402 is used to respond to the user's mode selection operation input for the data selection mode to be selected, and to acquire the power grid operation data under the scenario corresponding to the preset power grid operation mode in the power system according to the data acquisition path represented in the mode selection operation.

[0105] The calculation rule acquisition module 1403 is used to respond to the user's template selection operation for the pipeline template to be selected, and to acquire the pre-configured power flow calculation rules in the pipeline template corresponding to the template selection operation.

[0106] The power flow calculation module 1404 is used to create pipeline tasks according to the power flow calculation rules to perform power flow calculation on the power grid operation data and obtain the power flow calculation results associated with the power grid operation data.

[0107] In this embodiment of the application, the cooperation between the above modules can improve the data processing efficiency of the entire power flow calculation process and improve the data display effect.

[0108] In another embodiment, a power grid operation data flow calculation device based on a pipeline mechanism is provided. This device can be a computer device, such as a server, and its internal structure diagram can be as follows: Figure 15 As shown, the device includes a processor, memory, input / output (I / O) interfaces, and a communication interface. The processor, memory, and I / O interfaces are connected via a system bus, and the communication interface is also connected to the system bus via the I / O interfaces. The processor provides computing and control capabilities. The memory includes non-volatile storage media and internal memory. The non-volatile storage media stores the operating system, computer programs, and a database. The internal memory provides an environment for the operation of the operating system and computer programs stored in the non-volatile storage media. The device's database stores relevant data. The I / O interfaces are used for exchanging information between the processor and external devices. The device's communication interface is used for communicating with external terminals via a network connection. When the computer program is executed by the processor, it implements the various methods described in the above embodiments.

[0109] In yet another embodiment, a power grid operation data flow calculation device based on a pipeline mechanism is provided. This device can be a computer device, such as a terminal, and its internal structure diagram can be as follows: Figure 16As shown, the device includes a processor, memory, input / output interface, communication interface, display unit, and input device. The processor, memory, and input / output interface are connected via a system bus, and the communication interface, display unit, and input device are also connected to the system bus via the input / output interface. The processor provides computing and control capabilities. The memory includes a non-volatile storage medium and internal memory. The non-volatile storage medium stores the operating system and computer programs. The internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage medium. The input / output interface is used for exchanging information between the processor and external devices. The communication interface is used for wired or wireless communication with external terminals; wireless communication can be achieved through Wi-Fi, mobile cellular networks, NFC (Near Field Communication), or other technologies. When the computer program is executed by the processor, it implements the various methods described in the above embodiments. The display unit is used to form a visually visible image and can be a display screen, a projection device, or a virtual reality imaging device. The display screen can be an LCD screen or an e-ink screen. The input device can be a touch layer covering the display screen, or buttons, trackballs, or touchpads set on the computer equipment casing, or external keyboards, touchpads, or mice, etc.

[0110] Those skilled in the art will understand that Figure 15 and Figure 16 The structure shown is merely a block diagram of a portion of the structure related to the present application and does not constitute a limitation on the pipeline-based power grid operation data flow calculation device applied thereto. Specifically, the device may include more or fewer components than shown in the figure, or combine certain components, or have different component arrangements, in order to achieve the functions of computer equipment such as terminals or servers.

[0111] In the above embodiments, the descriptions of each embodiment have different focuses. For parts not described in detail in a certain embodiment, please refer to the relevant descriptions in other embodiments.

[0112] Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the specific working processes of the systems, devices, and modules described above can be referred to the corresponding processes in the foregoing method embodiments, and will not be repeated here.

[0113] In the embodiments provided in this application, it should be understood that the disclosed systems, apparatuses, and methods can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative; for instance, the division of modules is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple modules or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be indirect coupling or communication connection through some interfaces, apparatuses, or modules, and may be electrical, mechanical, or other forms.

[0114] The modules described as separate components may or may not be physically separate. The components shown as modules may or may not be physical modules; that is, they may be located in one place or distributed across multiple network modules. Some or all of the modules can be selected to achieve the purpose of this embodiment according to actual needs.

[0115] Furthermore, the functional modules in the various embodiments of this application can be integrated into one processing module, or each module can exist physically separately, or two or more modules can be integrated into one module. The integrated module can be implemented in hardware or as a software functional module. If the integrated module is implemented as a software functional module and sold or used as an independent product, it can be stored in a computer-readable storage medium.

[0116] In the above embodiments, the implementation can be achieved, in whole or in part, through software, hardware, firmware, or any combination thereof. When implemented in software, it can be implemented, in whole or in part, in the form of a computer program product.

[0117] The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, all or part of the processes or functions described in the embodiments of this application are generated. The computer may be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions may be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another. For example, the computer instructions may be transmitted from one website, computer, server, or data center to another website, computer, server, or data center via wired (e.g., coaxial cable, fiber optic, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) means. The computer-readable storage medium may be any available medium that a computer can store or a data storage device such as a server or data center that integrates one or more available media. The available medium may be a magnetic medium (e.g., floppy disk, hard disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., a solid-state disk (SSD)).

[0118] The technical solutions provided in the embodiments of this application have been described in detail above. Specific examples have been used in the embodiments of this application to illustrate the principles and implementation methods of the embodiments of this application. The description of the above embodiments is only for the purpose of helping to understand the methods and core ideas of the embodiments of this application. At the same time, for those skilled in the art, there will be changes in the specific implementation methods and application scope based on the ideas of the embodiments of this application. Therefore, the content of this specification should not be construed as a limitation on the embodiments of this application.

Claims

1. A power grid operation data power flow calculation method based on a pipeline mechanism, characterized in that, The method comprises: in response to a user-initiated pipeline addition instruction, displaying each candidate data selection mode and each candidate pre-configured pipeline template; in response to a mode selection operation input by the user for the candidate data selection mode, obtaining power grid operation data under a scenario corresponding to a preset power grid operation mode in a power system according to a data acquisition approach represented in the mode selection operation; in response to a template selection operation input by the user for the candidate pipeline template, obtaining a pre-configured power flow calculation rule in the pipeline template corresponding to the template selection operation; creating a pipeline task to perform power flow calculation on the power grid operation data according to the power flow calculation rule to obtain a power flow calculation result associated with the power grid operation data.

2. The method of claim 1, wherein, The power grid operation data comprises online mode data, and the obtaining of the power grid operation data under the scenario corresponding to the preset power grid operation mode in the power system according to the data acquisition approach represented in the mode selection operation comprises: in a case where the data acquisition approach represented in the mode selection operation is an online mode, obtaining the online mode data according to a mode data identifier represented in the mode selection operation.

3. The method of claim 2, wherein, The creating of the pipeline task to perform power flow calculation on the power grid operation data to obtain the power flow calculation result associated with the power grid operation data comprises: according to a category division of equipment, mode and model data in the online mode data, generating an intermediate file in a preset format required for power flow calculation according to the online mode data; determining the power flow calculation result according to the intermediate file based on a pre-configured power flow calculation algorithm.

4. The method of claim 1, wherein, The power grid operation data comprises offline mode data, and the obtaining of the power grid operation data under the scenario corresponding to the preset power grid operation mode in the power system according to the data acquisition approach represented in the mode selection operation comprises: in a case where the data acquisition approach represented in the mode selection operation is an offline mode, obtaining the offline mode data according to an upload address of offline data represented in the mode selection operation.

5. The method of claim 4, wherein, The creating of the pipeline task to perform power flow calculation on the power grid operation data to obtain the power flow calculation result associated with the power grid operation data comprises: identifying a file format of the offline mode data; in a case where the file format of the offline mode data conforms to a preset format, determining the power flow calculation result according to the offline mode data based on a pre-configured power flow calculation algorithm.

6. The method according to any one of claims 1 to 5, characterized in that, The method further comprises: obtaining a running state of file data corresponding to each pipeline in a process of performing power flow calculation on the power grid operation data; displaying progress information corresponding to the running state of the file data corresponding to each pipeline in a progress display area corresponding to each pipeline.

7. The method according to any one of claims 1 to 5, characterized in that, The method further comprises: storing the power grid operation data and the power flow calculation result to target storage areas corresponding to each pipeline according to an association rule, the target storage areas corresponding to each pipeline being isolated from each other. In response to a file reading instruction input by the user for the pipeline, the power grid operation data and the power flow calculation result corresponding to the task identifier of the pipeline corresponding to the file reading instruction are obtained.

8. A power grid operation data power flow calculation device based on a pipeline mechanism, characterized in that, The device comprises: A candidate information display module is configured to display each candidate data selection mode and each candidate preconfigured pipeline template in response to a pipeline addition instruction initiated by a user; A data acquisition module is configured to acquire power grid operation data under a preset power grid operation mode in a power system according to a data acquisition approach represented in a mode selection operation input by the user for the candidate data selection mode; A calculation rule acquisition module is configured to acquire a preconfigured power flow calculation rule in a pipeline template corresponding to a template selection operation input by the user for the candidate pipeline template; A power flow calculation module is configured to create a pipeline task to perform power flow calculation on the power grid operation data according to the power flow calculation rule, so as to obtain a power flow calculation result associated with the power grid operation data.

9. A power grid operation data power flow calculation device based on a pipeline mechanism, characterized in that, The device comprises: At least one processor, a memory; The memory is configured to store program code, and the processor is configured to call the program code stored in the memory to execute the method in any one of claims 1 to 7.

10. A computer storage medium, characterized in that It comprises instructions which, when executed on a computer, cause the computer to perform the method in any one of claims 1 to 7.