Power grid area edge computing test method, system, device and storage medium
By constructing a simulation model of the station area and a power model to calculate the power data, the problems of high cost and low accuracy of edge computing testing in the grid station area are solved, and efficient and accurate line loss calculation is achieved.
Patent Information
- Application Number
- CN202211475035.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-11-23
- Publication Date
- 2025-09-02
- Estimated Expiration
- 2042-11-23
AI Technical Summary
In the prior art, the edge computing test process of power grid station area is high cost and has low accuracy, making it difficult to accurately calculate line losses.
By constructing a simulation model of the station area, determining the line loss parameters of the station area, calculating the power data using the station area power model, and interacting with the upper device to verify the edge calculation results.
Reduces testing costs, improves testing accuracy, and enhances testing flexibility and efficiency.
Smart Images

Figure CN115859000B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of power grid area testing technology, and in particular to a power grid area edge computing testing method, system, device and storage medium. Background Art
[0002] With the development of society and the economy, the power grid has basically formed the goal of large-scale grid interconnection. In low-voltage substations, upper-level equipment such as terminals and master stations not only need to have basic power metering and data acquisition and communication functions, but also need to have edge computing capabilities to meet the power operation and management needs of power companies.
[0003] Line loss in low-voltage substations is a critical technical indicator in power systems. Accurately and efficiently calculating line loss through the edge computing capabilities of higher-level devices has become an essential function in power systems. However, in practical applications, edge computing flaws in higher-level devices are difficult to detect, affecting the accuracy of line loss calculations. To ensure the accuracy of line loss calculations, existing technologies use handheld mobile power terminals to collect power data. This data is then used to verify the line loss calculation results of higher-level devices, thereby testing for edge computing flaws.
[0004] Regarding the above-mentioned existing technologies, the testing process of edge computing requires manual on-site data collection, which is costly and has low accuracy. Summary of the Invention
[0005] In view of this, the present invention provides a power grid area edge computing testing method, system, device and storage medium, which are used to solve the problem of high cost and low accuracy of the edge computing testing process in the prior art. In order to achieve one or part or all of the above purposes or other purposes, the present invention proposes a power grid area edge computing testing method, system, device and storage medium, the first aspect of which is:
[0006] A power grid area edge computing testing method, comprising:
[0007] Determine the area line loss parameters of the area simulation model;
[0008] Calculating the line loss parameters of the substation area according to a preset substation area power model to obtain substation area power data;
[0009] Outputting the substation power data and the test data in the substation line loss parameters to the host device according to a preset data output type condition, and receiving the upper line loss data returned by the host device according to the test data;
[0010] The upper line loss data is verified using the substation line loss parameters to obtain edge computing test results.
[0011] Preferably, the step of calculating the substation line loss parameters according to a preset substation power model to obtain substation power data includes:
[0012] Determine the total number of electric meters in the substation according to the line loss parameters of the substation;
[0013] Constructing a data equation group containing the line loss parameters of the substation according to the substation power model; the number of equations in the data equation group is the same as the total number of electric meters in the substation;
[0014] The data equation group is calculated using an elimination and back-stripping algorithm to obtain the substation power data.
[0015] Preferably, the step of constructing a data equation group including the line loss parameters of the substation area according to the substation area power model includes:
[0016] The total meter electric energy of the substation, the branch line loss of each branch and the fixed line loss of the substation in the substation line loss parameters are brought into the substation power model to obtain the equation group for calculating the sub-meter electric energy.
[0017] Preferably, the step of outputting the substation power data and the test data in the substation line loss parameters to the host device according to a preset data output type condition, and receiving the upper line loss data returned by the host device according to the test data includes:
[0018] According to the data output type condition, the substation power data and the substation line loss parameters including the substation total meter electric energy, the substation fixed line loss and the sub-meter electric energy are retrieved to determine the test data;
[0019] Encapsulating the test data according to the power grid protocol between the host device and the host device and transmitting the encapsulated test data to the host device;
[0020] The upper-level line loss data fed back by the upper-level device is received based on the power grid protocol.
[0021] Preferably, the step of verifying the upper line loss data using the substation line loss parameters to obtain edge computing test results includes:
[0022] The branch line loss in the substation line loss parameter is compared with the branch calculated line loss of the corresponding branch in the upper line loss data. When the branch line loss of all branches matches the corresponding branch calculated line loss, the edge computing test result is generated to indicate that the edge computing is correct.
[0023] Preferably, the step of determining the area line loss parameters of the area simulation model includes:
[0024] Obtaining the total meter electric energy, total bus loss and fixed line loss of the substation area of the substation area simulation model;
[0025] The total line loss of the substation area is processed using a preset constraint formula to calculate the branch line loss of each branch;
[0026] The total meter electric energy of the substation, the total bus loss of the substation, the fixed line loss of the substation and the branch line loss are determined as the substation line loss parameters.
[0027] Preferably, the upper-level line loss data includes calculated line losses of each branch.
[0028] Second aspect:
[0029] A power grid area edge computing test system includes a determination module for determining area line loss parameters of an area simulation model;
[0030] A calculation module, configured to calculate the line loss parameters of the substation according to a preset substation power model to obtain substation power data;
[0031] A communication module, configured to output the substation power data and the test data in the substation line loss parameters to the host device according to a preset data output type condition, and receive the upper line loss data returned by the host device according to the test data;
[0032] The test module is used to verify the upper line loss data using the line loss parameters of the substation area to obtain edge computing test results.
[0033] Preferably, the calculation module includes an electric meter unit, which is used to determine the total number of electric meters in the substation according to the line loss parameters of the substation;
[0034] A construction unit, configured to construct a data equation group containing the line loss parameters of the substation according to the substation power model; the number of equations in the data equation group is the same as the total number of electric meters in the substation;
[0035] The calculation unit is used to calculate the data equation group using an elimination and back-stripping algorithm to obtain the substation power data.
[0036] Preferably, the construction unit includes a construction sub-unit, which is used to bring the total meter electric energy of the substation, the branch line loss of each branch and the fixed line loss of the substation in the substation line loss parameters into the substation power model to obtain the set of equations for calculating the sub-meter electric energy.
[0037] Preferably, the communication module includes a retrieving unit for retrieving the substation power data and the substation total meter electric energy, substation fixed line loss and sub-meter electric energy in the substation line loss parameters according to the data output type condition to determine the test data;
[0038] an uploading unit, configured to encapsulate the test data according to a power grid protocol between the device and the host device and transmit the encapsulated test data to the host device;
[0039] A receiving unit is configured to receive the upper-level line loss data fed back by the upper-level device based on the power grid protocol.
[0040] Preferably, the test module includes a test unit for comparing the branch line loss in the substation line loss parameter with the branch calculated line loss of the corresponding branch in the upper line loss data, and generating the edge computing test result indicating that the edge computing is correct when the branch line loss of all the branches matches the corresponding branch calculated line loss.
[0041] Preferably, the determination module includes an acquisition unit for acquiring the total meter electric energy of the substation, the total bus loss of the substation and the fixed line loss of the substation of the substation simulation model;
[0042] The branch unit is used to process the total line loss of the substation area using a preset constraint formula to calculate the branch line loss of each branch;
[0043] The determining unit is used to determine the total meter electric energy of the substation, the total bus loss of the substation, the fixed line loss of the substation and the branch line loss as the substation line loss parameters.
[0044] Preferably, the upper-level line loss data includes calculated line losses of each branch.
[0045] The third aspect:
[0046] A power grid substation edge computing test device includes a memory and a processor, wherein the memory stores a power grid substation edge computing test method, and the processor is used to adopt the above-mentioned power grid substation edge computing test method when executing the power grid substation edge computing test method.
[0047] Fourth aspect:
[0048] A storage medium stores a computer program that can be loaded by a processor and execute the above method.
[0049] Implementing the embodiments of the present invention will have the following beneficial effects:
[0050] By setting up a substation simulation model, when testing for edge computing defects in upper-level equipment in a power grid substation, the substation simulation model can be configured based on the substation to be tested. The substation line loss parameters for the substation simulation model are then determined and calculated using the substation power model to obtain substation power data. The upper-level line loss data, calculated by the upper-level equipment based on the substation power data and the substation line loss parameters, is then received. By comparing the upper-level line loss data with the substation power data, the edge computing test results are obtained. The entire testing process eliminates the need for on-site data collection, helping to reduce testing costs. Furthermore, the substation simulation model can simulate a variety of substations to be tested, increasing testing flexibility. Using the substation power model for calculations helps improve test accuracy. BRIEF DESCRIPTION OF THE DRAWINGS
[0051] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.
[0052] in:
[0053] Figure 1 This is an overall flow chart of a power grid area edge computing testing method in one embodiment.
[0054] Figure 2 This is a flowchart of obtaining substation power data in a power grid substation edge computing test method in one embodiment.
[0055] Figure 3 This is a flowchart of the data interaction with the host device in the power grid area edge computing testing method in one embodiment.
[0056] Figure 4 This is a structural block diagram of a power grid area edge computing test system in one embodiment.
[0057] Figure 5 Schematic diagram of the structure of a power grid area edge computing test device in one embodiment. DETAILED DESCRIPTION
[0058] The following will clearly and completely describe the technical solutions in the embodiments of the present invention in conjunction with the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. All other embodiments obtained by ordinary technicians in this field based on the embodiments of the present invention without making any creative efforts shall fall within the scope of protection of the present invention.
[0059] In the following description, reference is made to “some embodiments”, which describes a subset of all possible embodiments, but it will be understood that “some embodiments” may be the same subset or different subsets of all possible embodiments and may be combined with each other without conflict.
[0060] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by those skilled in the art to which the present invention pertains. The terms used herein are for the purpose of describing embodiments of the present invention only and are not intended to limit the present invention.
[0061] The embodiment of the present application provides a method for testing edge computing in a power grid substation. The line loss in a low-voltage substation is an important technical indicator in the power system. Accurately and efficiently calculating the line loss through the edge computing function of the upper device has become an indispensable function in the power system. However, in actual applications, the edge computing defects of the upper device are difficult to know, which affects the accuracy of the line loss calculation results. In order to ensure the accuracy of the line loss calculation results, in the prior art, a method of manually collecting power data using a handheld mobile power terminal is used, and the power data is used to verify the line loss calculation results of the upper device, so as to achieve the purpose of testing edge computing defects. However, manual on-site data collection not only increases labor costs, but also makes it difficult to ensure the quality of the collected data, resulting in increased testing costs and reduced test accuracy.
[0062] In order to overcome the above defects, this application provides a power grid area edge computing test method, such as Figure 1 As shown, including:
[0063] 101. Determine the substation line loss parameters of the substation simulation model.
[0064] In one embodiment, the substation simulation model is used to simulate the meter box branches and electric meters of the actual substation, and various parameters in the substation can be configured, such as branch line loss, fixed loss and total power consumption. Among them, the actual substation simulated is the substation that needs to be tested for edge computing. The substation includes an upper device, and the upper device is configured with an edge computing algorithm. For ease of understanding, in one application scenario, the upper device is the main station of the power grid, and the main station has identified the line topology of the substation to which it belongs; in another application scenario, the upper device is a terminal device with computing capabilities. This embodiment does not specifically limit this.
[0065] In one embodiment, the substation line loss parameters refer to parameters related to line loss in the substation simulation model, such as the branch line loss of each meter box branch in the substation simulation model, the substation fixed loss value and the total power consumption in the substation simulation model. This embodiment does not make any specific limitations on this. It should be noted that the substation line loss parameters can be determined by receiving them through a preset interface, and then determining the substation line loss parameters; or by retrieving them from a preset storage path, and then determining the substation line loss parameters; or they can be calculated by the current execution entity according to the configuration of the substation simulation model. This embodiment does not make any specific limitations on this.
[0066] 102. Calculate the substation line loss parameters according to a preset substation power model to obtain substation power data.
[0067] Among them, the substation power model is an algorithm formula. After the substation line loss parameters are brought into the substation power model, the unknown parameters in the substation power model can be calculated, that is, the substation power data can be obtained by calculation.
[0068] 103. Output the substation power data and the test data in the substation line loss parameters to the upper device according to a preset data output type condition, and receive the upper line loss data returned by the upper device according to the test data.
[0069] The substation line loss parameters are known parameters, and the substation power data is a calculated parameter. Both are known quantities. Test data matching the data output type conditions in the substation line loss parameters and substation power data is transmitted to the host device. The host device uses the edge computing required for the test to calculate the test data and obtain the host line loss data.
[0070] It should be noted that the upper-level line loss data has corresponding known quantities in the substation line loss parameters and / or substation power data, which facilitates comparison to verify whether there are defects in the edge computing in the upper-level equipment and achieve the test purpose.
[0071] 104. Use the substation line loss parameters to verify the upper line loss data to obtain edge computing test results.
[0072] The substation line loss parameters include parameters corresponding to the upper-level line loss data. Since the substation line loss parameters are known quantities, they can be used to verify the upper-level line loss data to determine whether the upper-level line loss data is accurate, thereby obtaining the edge computing test results. For ease of understanding, in one application scenario, the verification process involves comparing the substation line loss parameters with the upper-level line loss data to determine whether they are identical. If they are identical, the edge computing test result is generated as correct; if they are different, the edge computing test result is generated as incorrect.
[0073] In another application scenario, the verification process is to perform relational operations on the substation line loss parameters and the upper-level line loss data, and generate corresponding edge computing test results based on the operation results.
[0074] By setting up a substation simulation model, when testing for edge computing defects in upper-level equipment in a power grid substation, the substation simulation model can be configured based on the substation to be tested. The substation line loss parameters for the substation simulation model are then determined and calculated using the substation power model to obtain substation power data. The upper-level line loss data, calculated by the upper-level equipment based on the substation power data and the substation line loss parameters, is then received. By comparing the upper-level line loss data with the substation power data, the edge computing test results are obtained. The entire testing process eliminates the need for on-site data collection, helping to reduce testing costs. Furthermore, the substation simulation model can simulate a variety of substations to be tested, increasing testing flexibility. Using the substation power model for calculations helps improve test accuracy.
[0075] In another embodiment of the present application, Figure 2 As shown, the step of calculating the line loss parameters of the substation area according to the preset substation area power model to obtain the substation area power data includes:
[0076] 201. Determine the total number of electric meters in the substation according to the line loss parameters of the substation.
[0077] In one embodiment, the area line loss parameter includes the branch line loss for each branch. The total number of electricity meters in the area can be determined by summing the branch line losses. In another embodiment, the area line loss parameter includes the total number of electricity meters in the area. The area line loss parameter can be retrieved from the name or number of the total number of electricity meters in the area. This is not specifically limited in this embodiment.
[0078] 202. Construct a data equation group including the line loss parameters of the substation according to the substation power model.
[0079] Each substation contains at least two branches. The data equation group can be obtained by bringing the branch line losses of each branch and the total meter electric energy of the substation into the substation power model.
[0080] Specifically, in one embodiment, the number of equations in the data equation group is the same as the total number of electric meters in the substation.
[0081] 203. Calculate the data equation group using an elimination and back-stripping algorithm to obtain the substation power data.
[0082] By calculating the data equations using an elimination and back-carrying algorithm, the substation power data can be obtained. Specifically, in one embodiment, the substation power data includes the sub-metered energy corresponding to each branch. That is, in the data equations, the sub-metered energy of each branch is an unknown quantity, while all other quantities are known. The sub-metered energy is obtained through calculation.
[0083] The elimination and back-stripping algorithm is used to calculate the data equation group to obtain the substation power data, which helps to improve the test accuracy.
[0084] In another embodiment of the present application, the step of constructing a data equation group containing the substation line loss parameters according to the substation power model includes:
[0085] The total meter electric energy of the substation, the branch line loss of each branch and the fixed line loss of the substation in the substation line loss parameters are brought into the substation power model to obtain the data equation group for calculating the sub-meter electric energy.
[0086] Specifically, in one embodiment, the total meter electric energy of the substation = the sum of all sub-meter electric energy + the corresponding branch loss + the fixed line loss of the substation, and the substation power model is obtained:
[0087]
[0088] Among them, y () is the total metered electrical energy of the area in metering period i, in kWh; is the electric energy of sub-meter j in metering period i; p is the total number of electric meters in the substation; ε j is the branch line loss of sub-meter j branch; ε0 is the fixed line loss of the substation.
[0089] The power model of the substation area can be further obtained from formula (1):
[0090]
[0091] By incorporating the total metered energy, branch line losses, and fixed line losses into the power model, a set of equations is generated. This is a simple and fast method that helps reduce resource usage and improve computational efficiency.
[0092] In another embodiment of the present application, Figure 3 As shown, the step of outputting the substation power data and the test data in the substation line loss parameters to the upper device according to the preset data output type condition, and receiving the upper line loss data returned by the upper device according to the test data includes:
[0093] 401. According to the data output type condition, retrieve the substation power data and the substation line loss parameters including the substation total meter electric energy, the substation fixed line loss and the sub-meter electric energy to determine the test data.
[0094] In one embodiment, the sub-metered energy is retrieved from the substation power data, and the total metered energy and fixed line loss are retrieved from the substation line loss parameters. That is, in this embodiment, the test data includes the total metered energy, fixed line loss, and sub-metered energy.
[0095] 402 : Encapsulate the test data according to the power grid protocol between the host device and the host device, and transmit the encapsulated test data to the host device.
[0096] The power grid protocol is pre-configured between the current execution subject and the upper device. The power grid protocol is used to support data communication capabilities between the current execution subject and the upper device. In this embodiment, the power grid protocol is not specifically limited.
[0097] 403. Receive the upper-level line loss data fed back by the upper-level device based on the power grid protocol.
[0098] In one embodiment, after the test data is transmitted to the host device, the host device uses a preset edge computing algorithm to calculate the test data and obtain upper-level line loss data. In one application scenario, the upper-level line loss data includes the branch line loss of each branch. In another application scenario, the upper-level line loss data includes the branch line loss of each branch and the total line loss of the substation.
[0099] Data interaction through preset power grid protocols helps improve data transmission efficiency and data integrity.
[0100] In another embodiment of the present application, the step of verifying the upper line loss data using the substation line loss parameter to obtain the edge computing test result includes:
[0101] The branch line loss in the substation line loss parameter is compared with the branch calculated line loss of the corresponding branch in the upper line loss data. When the branch line loss of all branches matches the corresponding branch calculated line loss, the edge computing test result is generated to indicate that the edge computing is correct.
[0102] Specifically, in one embodiment, when the branch line loss in the substation line loss parameter is the same as the branch calculated line loss of the corresponding branch in the upper line loss data, it is determined to be a match; and when all branch line losses are a match, the edge computing test result is generated as the edge computing is correct. If the branch line loss corresponding to any branch is not connected, the edge computing result is generated as the edge computing error. Among them, when the edge computing test result is that the edge computing is correct, it means that the edge computing of the upper device is currently flawless and does not need to be modified or improved. When the edge computing test result is an edge computing error, it means that the edge computing of the upper device has defects and needs to be modified or improved.
[0103] It should be noted that when configuring a substation simulation model, faulty lines or abnormal data can be configured to test the edge computing of the upper-level device. For example, the substation simulation model may include events such as stop-and-go, fly-away, voltage failure, and metering inaccuracy. This embodiment does not specifically limit this.
[0104] By comparing the branch routes of each branch, the corresponding edge computing test results are generated. This method is simple, error-prone, and resource-saving.
[0105] In another embodiment of the present application, the step of determining the area line loss parameters of the area simulation model includes:
[0106] 601. Obtain the total meter electric energy, total bus loss and fixed line loss of the substation area of the substation area simulation model.
[0107] In one embodiment, the total meter energy, bus loss, and fixed line loss of the substation area are received and obtained via a preset interface; in another embodiment, the total meter energy, bus loss, and fixed line loss of the substation area are retrieved from a storage space according to a preset instruction or a received instruction. This embodiment does not specifically limit this.
[0108] 602. Process the total line loss of the substation area using a preset constraint formula to calculate the branch line loss of each branch.
[0109] In one embodiment, the constraint formula is:
[0110]
[0111] Among them, ε y It is the bus loss in the substation area.
[0112] 603. Determine the total meter electric energy of the substation, the total bus loss of the substation, the fixed line loss of the substation and the branch line loss as the substation line loss parameters.
[0113] The branch line loss of each branch is calculated through the constraint formula, which saves the branch line loss configuration time and reduces the time cost of testing.
[0114] In another embodiment of the present application, the upper-level line loss data includes branch calculated line losses of each branch.
[0115] By setting up a substation simulation model, when testing for edge computing defects in upper-level equipment in a power grid substation, the substation simulation model can be configured based on the substation to be tested. The substation line loss parameters for the substation simulation model are then determined and calculated using the substation power model to obtain substation power data. The upper-level line loss data, calculated by the upper-level equipment based on the substation power data and the substation line loss parameters, is then received. By comparing the upper-level line loss data with the substation power data, the edge computing test results are obtained. The entire testing process eliminates the need for on-site data collection, helping to reduce testing costs. Furthermore, the substation simulation model can simulate a variety of substations to be tested, increasing testing flexibility. Using the substation power model for calculations helps improve test accuracy.
[0116] The present application also provides a power grid area edge computing test system, such as Figure 4 As shown, it includes a determination module 1, which is used to determine the area line loss parameters of the area simulation model;
[0117] Calculation module 2, used to calculate the line loss parameters of the substation according to a preset substation power model to obtain substation power data;
[0118] Communication module 3, used for outputting the substation power data and the test data of the substation line loss parameters to the host device according to a preset data output type condition, and receiving the upper line loss data returned by the host device according to the test data;
[0119] The test module 4 is used to verify the upper line loss data using the substation line loss parameters to obtain edge computing test results.
[0120] Preferably, the calculation module 2 includes an electric meter unit, which is used to determine the total number of electric meters in the substation according to the line loss parameters of the substation;
[0121] A construction unit, configured to construct a data equation group containing the line loss parameters of the substation according to the substation power model; the number of equations in the data equation group is the same as the total number of electric meters in the substation;
[0122] The calculation unit is used to calculate the data equation group using an elimination and back-stripping algorithm to obtain the substation power data.
[0123] Preferably, the construction unit includes a construction sub-unit, which is used to bring the total meter electric energy of the substation, the branch line loss of each branch and the fixed line loss of the substation in the substation line loss parameters into the substation power model to obtain the set of equations for calculating the sub-meter electric energy.
[0124] Preferably, the communication module 3 includes a retrieving unit for retrieving the substation power data and the substation total meter electric energy, substation fixed line loss and sub-meter electric energy in the substation line loss parameters according to the data output type condition to determine the test data;
[0125] an uploading unit, configured to encapsulate the test data according to a power grid protocol between the device and the host device and transmit the encapsulated test data to the host device;
[0126] A receiving unit is configured to receive the upper-level line loss data fed back by the upper-level device based on the power grid protocol.
[0127] Preferably, the test module 4 includes a test unit for comparing the branch line loss in the substation line loss parameter with the branch calculated line loss of the corresponding branch in the upper line loss data, and generating the edge computing test result indicating that the edge computing is correct when the branch line loss of all the branches matches the corresponding branch calculated line loss.
[0128] Preferably, the determination module 1 includes an acquisition unit for acquiring the total meter electric energy of the substation, the total line loss of the substation and the fixed line loss of the substation of the substation simulation model;
[0129] The branch unit is used to process the total line loss of the substation area using a preset constraint formula to calculate the branch line loss of each branch;
[0130] The determining unit is used to determine the total meter electric energy of the substation, the total bus loss of the substation, the fixed line loss of the substation and the branch line loss as the substation line loss parameters.
[0131] Preferably, the upper-level line loss data includes calculated line losses of each branch.
[0132] It should be noted that the description of the above embodiment of the power grid area edge computing test system is similar to the description of the above method and has the same beneficial effects as the method embodiment. For technical details not disclosed in the embodiment of the power grid area edge computing test system of the present invention, those skilled in the art should refer to the description of the method embodiment of the present invention for understanding.
[0133] It should be noted that, in the embodiment of the present invention, if the above method is implemented in the form of a software function module and sold or used as an independent product, it can also be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the embodiment of the present invention, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium and includes a number of instructions for enabling a computer device (which can be a personal computer, server, or network device, etc.) to execute all or part of the methods described in each embodiment of the present invention. The aforementioned storage medium includes various media that can store program codes, such as a U disk, a mobile hard disk, a read-only memory (ROM, Read Only Memory), a magnetic disk or an optical disk. In this way, the embodiment of the present invention is not limited to any specific combination of hardware and software.
[0134] Correspondingly, an embodiment of the present application further discloses a storage medium storing a computer program that can be loaded by a processor and execute the above method.
[0135] The present application also discloses a power grid area edge computing test device, such as Figure 5 As shown, it includes a processor 100, at least one communication bus 200, a user interface 300, at least one external communication interface 400 and a memory 500. The communication bus 200 is configured to realize connection and communication between these components. The user interface 300 may include a display screen, and the external communication interface 400 may include a standard wired interface and a wireless interface. The memory 500 stores a power grid area edge computing test method. The processor 100 is used to adopt the above method when executing the power grid area edge computing test method stored in the memory 500.
[0136] The above description of the embodiments of the power grid area edge computing test device and storage medium is similar to the description of the above-mentioned method embodiment and has similar beneficial effects as the method embodiment. For technical details not disclosed in the embodiments of the power grid area edge computing test device and storage medium of the present invention, please refer to the description of the method embodiment of the present invention for understanding.
[0137] It should be understood that "one embodiment" or "an embodiment" mentioned throughout the specification means that the specific features, structures or characteristics related to the embodiment are included in at least one embodiment of the present invention. Therefore, "in one embodiment" or "in an embodiment" appearing throughout the specification does not necessarily refer to the same embodiment. In addition, these specific features, structures or characteristics can be combined in one or more embodiments in any suitable manner. It should be understood that in various embodiments of the present invention, the size of the serial numbers of the above-mentioned processes does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiment of the present invention. The serial numbers of the above-mentioned embodiments of the present invention are for description only and do not represent the advantages and disadvantages of the embodiments.
[0138] It should be noted that, in this document, the terms "comprises," "includes," or any other variations thereof are intended to encompass non-exclusive inclusion, such that a process, method, article, or apparatus comprising a series of elements includes not only those elements but also other elements not explicitly listed, or elements inherent to such process, method, article, or apparatus. In the absence of further limitations, an element defined by the phrase "comprising a ..." does not exclude the presence of other identical elements in the process, method, article, or apparatus comprising the element.
[0139] In the several embodiments provided by the present invention, it should be understood that the disclosed devices and methods can be implemented in other ways. The device embodiments described above are merely schematic. For example, the division of the units is merely a logical function division. In actual implementation, there may be other division methods, such as: multiple units or components can be combined, or can be integrated into another system, or some features can be ignored or not executed. In addition, the coupling, direct coupling, or communication connection between the components shown or discussed can be through some interfaces, and the indirect coupling or communication connection of the devices or units can be electrical, mechanical or other forms.
[0140] The units described above as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units; they may be located in one place or distributed across multiple network units; some or all of the units may be selected according to actual needs to achieve the purpose of the scheme of this embodiment.
[0141] In addition, all functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may be separately used as a unit, or two or more units may be integrated into one unit; the above-mentioned integrated units may be implemented in the form of hardware or in the form of hardware plus software functional units.
[0142] Those skilled in the art will understand that all or part of the steps of implementing the above-mentioned method embodiment can be completed by hardware related to program instructions, and the aforementioned program can be stored in a computer-readable storage medium. When the program is executed, it executes the steps of the above-mentioned method embodiment; and the aforementioned storage medium includes: various media that can store program codes, such as mobile storage devices, ROMs, magnetic disks or optical disks.
[0143] Alternatively, if the integrated units of the present invention are implemented as software functional modules and sold or used as independent products, they can also be stored in a computer-readable storage medium. Based on this understanding, the technical solutions of the embodiments of the present invention, or the portion that contributes to the prior art, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes a number of instructions for enabling a device to perform all or part of the methods described in various embodiments of the present invention. The aforementioned storage media include various media capable of storing program code, such as mobile storage devices, ROMs, magnetic disks, or optical disks.
[0144] The above disclosure is merely a preferred embodiment of the present invention and certainly cannot be used to limit the scope of the present invention. Therefore, equivalent changes made according to the claims of the present invention are still within the scope of the present invention.
Claims
1. A power grid area edge computing test method, characterized in that: include: Determine the area line loss parameters of the area simulation model; Calculating the line loss parameters of the substation area according to a preset substation area power model to obtain substation area power data; Outputting the substation power data and the test data in the substation line loss parameters to the upper device according to the preset data output type condition, and receiving the upper line loss data returned by the upper device according to the test data; Using the area line loss parameters to verify the upper line loss data, and obtain edge computing test results; The step of calculating the area line loss parameters according to the preset area power model to obtain the area power data includes: Determine the total number of electric meters in the substation according to the line loss parameters of the substation; Constructing a data equation group containing the line loss parameters of the substation according to the substation power model; the number of equations in the data equation group is the same as the total number of electric meters in the substation; Calculating the data equation group using an elimination and back-stripping algorithm to obtain the substation power data; The step of constructing a data equation group including the line loss parameters of the substation area according to the substation area power model includes: Substitute the total meter electric energy of the substation, the branch line loss of each branch, and the fixed line loss of the substation in the substation line loss parameters into the substation power model to obtain the data equation group for calculating the sub-meter electric energy; The step of verifying the upper line loss data using the area line loss parameters to obtain edge computing test results includes: The branch line loss in the substation line loss parameter is compared with the branch calculated line loss of the corresponding branch in the upper line loss data. When the branch line loss in the substation line loss matches the branch calculated line loss in the upper line loss, the edge computing test result is generated to indicate that the edge computing is correct.
2. The power grid area edge computing testing method according to claim 1, characterized in that: The step of outputting the substation power data and the test data in the substation line loss parameters to the upper device according to the preset data output type condition, and receiving the upper line loss data returned by the upper device according to the test data includes: According to the data output type condition, the substation power data and the substation line loss parameters including the substation total meter electric energy, the substation fixed line loss and the sub-meter electric energy are retrieved to determine the test data; Encapsulating the test data according to the power grid protocol between the host device and the host device and transmitting the encapsulated test data to the host device; The upper-level line loss data fed back by the upper-level device is received based on the power grid protocol.
3. The power grid area edge computing testing method according to claim 1, characterized in that: The step of determining the area line loss parameters of the area simulation model includes: Obtaining the total meter electric energy, total bus loss and fixed line loss of the substation area of the substation area simulation model; The total line loss of the substation area is processed using a preset constraint formula to calculate the branch line loss of each branch; The total meter electric energy of the substation, the total bus loss of the substation, the fixed line loss of the substation and the branch line loss are determined as the substation line loss parameters.
4. The power grid area edge computing testing method according to any one of claims 1 to 3, characterized in that: The upper-level line loss data includes the calculated line loss of each branch.
5. A power grid area edge computing test system, applied to the power grid area edge computing test method according to claim 1, characterized in that: It includes a determination module for determining the substation line loss parameters of the substation simulation model; A calculation module, configured to calculate the line loss parameters of the substation according to a preset substation power model to obtain substation power data; A communication module, configured to output the substation power data and the test data in the substation line loss parameters to the host device according to a preset data output type condition, and receive the upper line loss data returned by the host device according to the test data; The test module is used to verify the upper line loss data using the line loss parameters of the substation area to obtain edge computing test results.
6. A power grid area edge computing test device, comprising a memory and a processor, characterized in that: The memory stores a power grid area edge computing test method, and the processor is used to adopt the power grid area edge computing test method according to any one of claims 1-4 when executing the power grid area edge computing test method.
7. A storage medium, characterized in that: The device stores a computer program that can be loaded by a processor and execute the method according to any one of claims 1 to 4.
Citation Information
Patent Citations
Power grid district line loss abnormity cause diagnosis method and device, computer equipment and storage medium
CN110134708A
Zone area line loss calculation method based on edge calculation
CN113269462A