A method for identifying power grid household-transformer relationships based on blockchain
Through the blockchain-based identification method of power grid household transformer relationships, real-time data is used for identification and correction, which solves the problem of difficulty in identifying changes in power grid household transformer relationships, and improves the identification effect and the accuracy of line loss analysis.
Patent Information
- Application Number
- CN202410796417.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-20
- Publication Date
- 2024-10-11
- Estimated Expiration
- 2044-06-20
AI Technical Summary
The existing power grid household-transformer relationship identification method cannot identify changes in power grid household-transformer relationships in a timely manner, resulting in poor identification results and affecting line loss analysis, load balancing and emergency repair efficiency.
A blockchain-based method for identifying the relationship between power grid household changes is used to identify and correct the relationship between power grid household changes in real time by obtaining real-time current, voltage and power data, performing data preprocessing and blockchain storage.
It realizes the timely identification and adjustment of the relationship between power grid households and transformers, improves the identification effect, and ensures the accuracy of line loss analysis and load balancing.
Smart Images

Figure CN118364258B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of power grid household-transformer relationship, and specifically to a power grid household-transformer relationship identification method based on blockchain. Background Art
[0002] The household-transformer relationship is the power supply relationship between each electricity customer in the substation and the substation's power supply transformer. It is the basis for substation line loss analysis, topology identification, and fault diagnosis. If the household-transformer relationship is not clear, it will cause large errors in substation line loss analysis data, unreasonable arrangement of new loads for business expansion, impact on load balancing, and reduce emergency repair efficiency. It will affect the implementation of basic business and further restrict the online monitoring of electricity meters and the development of in-depth application business.
[0003] The Chinese patent with publication number CN113362076A discloses a method for analyzing the relationship between 10kV dual power supply users and transformers in a distribution network, including the following steps: S1: Screening out the data of 10kV dual power supply users in the distribution network; S2: Judging, storing and preprocessing the data of 10kV dual power supply users in the distribution network, and obtaining the valid data information of 10kV dual power supply users in the distribution network; S3: Based on the valid data information obtained, according to the inductance and capacitance of the distribution transformer and the transmission line itself, extracting the characteristics of each substation, and constructing the substation data feature structure; S4: Calculating the degree of association of 10kV dual power supply users in the distribution network; S5: For suspicious users below the set threshold, using the KNN algorithm to determine the ownership relationship of the electric energy meter to the transformer; S6: Truly determining the relationship between 10kV dual power supply users and transformers in the distribution network can solve the problem of low cost and high recognition rate. However, the above patent has the following defects:
[0004] The existing power grid household transformer relationship cannot be identified in time, and the situation where the power grid household transformer relationship has changed cannot be corrected and adjusted in time, resulting in poor power grid household transformer relationship identification effect. Summary of the invention
[0005] The purpose of the present invention is to provide a method for identifying power grid household transformer relationships based on blockchain, which can enable power grid household transformer relationships to be identified in a timely manner, and to make timely corrections and adjustments to situations in which power grid household transformer relationships have changed, thereby improving the power grid household transformer relationship identification effect and solving the problems raised in the above-mentioned background technology.
[0006] To achieve the above object, the present invention provides the following technical solutions:
[0007] The method for identifying the relationship between power grid households and transformers based on blockchain includes the following steps:
[0008] S1: Obtain the real-time current, real-time voltage and real-time power data of each node user in the substation power grid, and determine the relevant data of the substation power grid nodes;
[0009] S2: pre-process the relevant data of the power grid nodes in the substation area based on retrieval, sorting and calculation to determine the representation data of the power grid nodes in the substation area;
[0010] S3: Based on the preset data of the block grid nodes stored in the blockchain, the grid node characterization data of the substation area is used to identify the grid household transformer relationship, and the grid household transformer relationship identification result is determined;
[0011] S4: Based on the results of the identification of the power grid user-transformer relationship, the preset data of the block power grid node is corrected and the blockchain data is readjusted.
[0012] Preferably, in S1, the real-time current, real-time voltage and real-time power data of each node user in the substation power grid are obtained, and the following operations are performed:
[0013] Current sensors, voltage sensors and power sensors are installed on the user's electric meters at each node in the power grid of the substation area;
[0014] Use current sensors to obtain real-time current data of users at each node in the power grid;
[0015] Use voltage sensors to obtain real-time voltage data of users at each node in the power grid;
[0016] Use power sensors to obtain real-time power data of users at each node in the power grid;
[0017] Based on the real-time current, real-time voltage and real-time power data of users at each node in the substation power grid, the relevant data of the substation power grid nodes are determined.
[0018] Preferably, in S1, obtaining the real-time current, real-time voltage and real-time power data of each node user in the substation power grid also includes:
[0019] Before setting the current sensor, voltage sensor and power sensor, the user electric meters at each node in the power grid of the substation are tested, including:
[0020] Controlling the power consumption of each node in the power grid of the substation area according to the preset power consumption;
[0021] Detecting the power consumption values displayed by the user electric meters of each node in the power grid of the substation area after the power consumption of each node in the power grid of the substation area is completed;
[0022] The judgment factor is obtained by using the difference between the power consumption value of the user meter of each node in the substation area power grid after the power consumption of each node in the substation area power grid is completed and the preset power consumption; wherein the judgment factor is obtained by the following formula; ,
[0023] Among them, X represents the judgment factor; E0 Indicates the preset power value; E d Indicates the power consumption value of the user's electric meter at each node in the power grid of the substation area; n indicates the unit time length experienced by each node in the power grid of the substation area to complete the preset power consumption, and the value of the unit time is 1min-10min; E e Indicates the maximum error range allowed for the reading of the user's electricity meter; E di E represents the power consumption value of each node user meter in the power grid corresponding to the i-th unit time; i represents the actual power consumption value of each node in the power grid of the substation corresponding to the i-th unit time; T s Indicates the maximum actual reading stabilization delay of the user's electric meter at each node in the substation power grid; T e Indicates the theoretical reading stabilization delay of the user's electric meter at each node in the power grid of the substation area;
[0024] Determining whether it is necessary to perform an operation quality evaluation on the user's electric meter according to the judgment factor;
[0025] For the user's electric meter that does not need to be evaluated for operation quality, the current sensor, voltage sensor and power sensor are directly set;
[0026] For the user electricity meters that need to be evaluated for operation quality and do not have operation quality problems, current sensors, voltage sensors and power sensors are set;
[0027] For user meters that need to undergo operation quality evaluation and have operation quality problems, an abnormal meter operation alarm will be issued.
[0028] Preferably, judging whether it is necessary to perform an operation quality evaluation on the user electric meter according to the judgment factor includes:
[0029] When the judgment factor is lower than a preset factor reference value, it is determined that there is no need to perform quality evaluation on the user's electric meter;
[0030] When the judgment factor is not lower than the preset factor reference value, the historical record data of the user's electric meter at each node in the substation power grid is retrieved;
[0031] After completing the retrieval of historical records of electric meters of users at each node in the power grid of the substation area, retrieve the historical electricity consumption records of each node in the power grid of the substation area;
[0032] The operation quality evaluation parameters of the user's electric meter are obtained by using the historical record data of the user's electric meter at each node in the substation power grid and the historical electricity consumption records of each node in the substation power grid; wherein the operation quality evaluation parameters are obtained by the following formula: ,
[0033] Where P represents the operation quality evaluation parameter; X 0 represents the preset factor reference value; m represents the number of unit time contained in the historical record data; T i Indicates the actual reading stabilization delay of the user's electric meter at each node in the substation power grid corresponding to the i-th unit time in the historical record data; E i Indicates the actual power consumption value of each node in the power grid of the substation corresponding to the i-th unit time in the historical record data; E xi The power consumption value represented by the reading of the user's electric meter at each node in the substation power grid corresponding to the i-th unit time in the historical record data;
[0034] When the operation quality evaluation parameter exceeds a preset quality evaluation parameter threshold, it is determined that there is no operation quality problem in the user's electric meter;
[0035] When the operation quality evaluation parameter does not exceed the preset quality evaluation parameter threshold, it is determined that there is an operation quality problem in the user's electricity meter.
[0036] Preferably, in S2, the data related to the power grid nodes in the substation area are pre-processed based on retrieval, sorting and calculation, and the following operations are performed:
[0037] Obtain relevant data of power grid nodes in the substation area;
[0038] Based on the sequential retrieval method, the relevant data of the power grid nodes in the substation area are retrieved;
[0039] Clean out the duplicate and missing parts of the grid node related data in the substation area that are of no value for identifying the grid household-transformer relationship, and determine the parts of the grid node related data in the substation area that are of value for identifying the grid household-transformer relationship;
[0040] Obtaining the relevant data of the power grid nodes in the substation area that are valuable for identifying the relationship between the power grid users and transformers;
[0041] Based on the internal sorting method, the grid node-related data of the substation area that are valuable for identifying the grid user-transformer relationship are sorted;
[0042] Determine the relevant data of the power grid nodes in the substation area with the arrangement order;
[0043] Acquire the relevant data of the power grid nodes of the substation area with the arrangement order;
[0044] Based on edge computing technology, relevant calculations are performed on the relevant data of the grid nodes in the substation area with an arranged order;
[0045] Determine and present the grid node characterization data for the area.
[0046] Preferably, in S3, based on the preset data of the block grid nodes stored in the blockchain, the grid-user-transformer relationship is identified for the grid node characterization data of the substation, and the following operations are performed:
[0047] Obtain the grid node characterization data of the substation area;
[0048] Based on the grid node characterization data of the substation area, the preset grid node data of the block stored in the blockchain for identifying the grid household transformer relationship of the grid node characterization data of the substation area is indexed;
[0049] Obtaining the indexed block grid node preset data for identifying the grid user-transformer relationship of the grid node characterization data of the substation area, and retrieving the block grid node preset data;
[0050] Obtain the preset data of the block power grid nodes, and based on the preset data of the block power grid nodes, perform power grid household transformer relationship identification on the substation power grid node characterization data to determine the power grid household transformer relationship identification result.
[0051] Preferably, in S3, the block grid node preset data stored in the blockchain for identifying the grid user-transformer relationship of the grid node characterization data of the substation is indexed, and the following operations are performed:
[0052] Get blockchain information;
[0053] The blockchain includes a plurality of blocks, and a plurality of block grid node preset data is stored in the plurality of blocks, and each block corresponds to each block grid node preset data;
[0054] Based on the blockchain information, multiple block grid node preset data stored in multiple blocks are indexed one by one, and the multiple block grid node preset data indexed one by one are compared with the grid node representation data of the substation area;
[0055] In the case where the indexed block grid node preset data is used to identify the grid household transformer relationship of the substation grid node representation data, the indexed block grid node preset data is retrieved;
[0056] In the case where the indexed block grid node preset data is not used to identify the grid household transformer relationship for the substation grid node characterization data, the block grid node preset data stored in the next block will continue to be indexed in sequence until the indexed block grid node preset data is used to identify the grid household transformer relationship for the substation grid node characterization data, and then the indexed block grid node preset data will be retrieved.
[0057] Preferably, in S3, based on the preset data of the block grid nodes, the grid-user-transformer relationship identification is performed on the grid-user-transformer relationship characterization data of the substation grid nodes, and the grid-user-transformer relationship identification result is determined, and the following operations are performed:
[0058] For the case where the representation data of the area power grid node is within the preset data range of the block power grid node, the power grid household transformer relationship identification result is that the power grid household transformer relationship has not changed;
[0059] In case that the characterization data of the substation grid node is not within the preset data range of the block grid node, the grid household-transformer relationship identification result is that the grid household-transformer relationship has changed.
[0060] Preferably, in said S4, based on the result of identifying the relationship between power grid users and transformers, the preset data of the block power grid nodes is corrected, and the following operations are performed:
[0061] Obtain the results of identifying the relationship between power grid households and transformers;
[0062] If the power grid user-transformer relationship has not changed, there is no need to modify the preset data of the block power grid node;
[0063] In case the relationship between power grid users and transformers has changed, it is necessary to correct the preset data of the block grid node and readjust the blockchain data.
[0064] Preferably, in S4, the preset data of the block grid node is corrected, the blockchain data is readjusted, and the following operations are performed:
[0065] Based on the blockchain information, obtain the preset data of the block grid node stored in the block;
[0066] The preset data of the block power grid node is corrected, and the preset data of the block power grid node stored in the blockchain block is adjusted to the representation data of the substation power grid node, and the corresponding block of the blockchain is identified and marked.
[0067] Compared with the prior art, the present invention has the following beneficial effects:
[0068] The present invention obtains the real-time current, real-time voltage and real-time power data of each node user in the substation power grid, determines the substation power grid node related data, pre-processes the substation power grid node related data based on retrieval, sorting and calculation, determines the substation power grid node characterization data, identifies the power grid household transformer relationship for the substation power grid node characterization data based on the block power grid node preset data stored in the blockchain, determines the power grid household transformer relationship identification result, corrects the block power grid node preset data based on the power grid household transformer relationship identification result, and readjusts the blockchain data, so that the power grid household transformer relationship can be identified in time, and the situation that the power grid household transformer relationship has changed can be corrected and adjusted in time, which can improve the power grid household transformer relationship identification effect. BRIEF DESCRIPTION OF THE DRAWINGS
[0069] Figure 1 This is a flowchart of the method for identifying power grid household-transformer relationships based on blockchain of the present invention;
[0070] Figure 2 This is an algorithm flow chart of the blockchain-based power grid household transformer relationship identification method of the present invention. DETAILED DESCRIPTION
[0071] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0072] In order to solve the problem that the existing power grid household transformer relationship cannot be identified in time, and the situation that the power grid household transformer relationship has changed cannot be corrected and adjusted in time, resulting in poor power grid household transformer relationship identification effect, please refer to Figure 1-Figure 2 , this embodiment provides the following technical solutions:
[0073] The method for identifying the relationship between power grid households and transformers based on blockchain includes the following steps:
[0074] S1: Obtain the real-time current, real-time voltage and real-time power data of each node user in the substation power grid, and determine the relevant data of the substation power grid nodes;
[0075] In this embodiment, as a preferred technical solution of the present invention, in S1, the real-time current, real-time voltage and real-time power data of each node user in the substation power grid are obtained, and the following operations are performed:
[0076] Current sensors, voltage sensors and power sensors are installed on the user's electric meters at each node in the power grid of the substation area;
[0077] Use current sensors to obtain real-time current data of users at each node in the power grid;
[0078] Use voltage sensors to obtain real-time voltage data of users at each node in the power grid;
[0079] Use power sensors to obtain real-time power data of users at each node in the power grid;
[0080] Based on the real-time current, real-time voltage and real-time power data of users at each node in the substation power grid, the relevant data of the substation power grid nodes are determined.
[0081] By adopting the above technical solution, the real-time current, real-time voltage and real-time power data of users at each node in the substation power grid can be obtained through current sensors, voltage sensors and power sensors. Based on the real-time current, real-time voltage and real-time power data of users at each node in the substation power grid, the relevant data of the substation power grid nodes can be determined. The determined relevant data of the substation power grid nodes can facilitate the subsequent identification of the relationship between power grid users and transformers.
[0082] Specifically, in S1, the real-time current, real-time voltage and real-time power data of each node user in the power grid of the substation area are obtained, and the following is also included:
[0083] Before setting the current sensor, voltage sensor and power sensor, the user electric meters at each node in the power grid of the substation are tested, including:
[0084] Controlling the power consumption of each node in the power grid of the substation area according to the preset power consumption;
[0085] Detecting the power consumption values displayed by the user electric meters of each node in the power grid of the substation area after the power consumption of each node in the power grid of the substation area is completed;
[0086] The judgment factor is obtained by using the difference between the power consumption value of the user meter of each node in the substation area power grid after the power consumption of each node in the substation area power grid is completed and the preset power consumption; wherein the judgment factor is obtained by the following formula; ,
[0087] Among them, X represents the judgment factor; E 0 Indicates the preset power value; E d Indicates the power consumption value of the user's electric meter at each node in the power grid of the substation area; n indicates the unit time length experienced by each node in the power grid of the substation area to complete the preset power consumption, and the value of the unit time is 1min-10min; E e Indicates the maximum error range allowed for the reading of the user's electricity meter; E di E represents the power consumption value of each node user meter in the power grid corresponding to the i-th unit time; i represents the actual power consumption value of each node in the power grid of the substation corresponding to the i-th unit time; T s Indicates the maximum actual reading stabilization delay of the user's electric meter at each node in the substation power grid; T e Indicates the theoretical reading stabilization delay of the user's electric meter at each node in the power grid of the substation area;
[0088] Determining whether it is necessary to perform an operation quality evaluation on the user's electric meter according to the judgment factor;
[0089] For the user's electric meter that does not need to be evaluated for operation quality, the current sensor, voltage sensor and power sensor are directly set;
[0090] For the user electricity meters that need to be evaluated for operation quality and do not have operation quality problems, current sensors, voltage sensors and power sensors are set;
[0091] For user meters that need to undergo operation quality evaluation and have operation quality problems, an abnormal meter operation alarm will be issued.
[0092] The technical effect of the above technical scheme is: by testing the user meters at each node in the power grid of the substation area and using the judgment factor to evaluate the operation quality of the meter, the performance status of the meter can be understood more accurately, providing an accurate basis for the subsequent sensor setting. Performing meter testing before setting the current sensor, voltage sensor and power sensor can help to discover potential operation problems in advance, thereby avoiding inaccurate data or failure after the sensor is installed, and ensuring the stable operation of the substation area power grid. According to the results of the meter detection, the sensor is directly set for the meter with good operation quality, avoiding unnecessary evaluation process and improving work efficiency. At the same time, an alarm is issued for the meter with operation quality problems, reminding timely maintenance or replacement, ensuring the accuracy and reliability of the user meter in the substation area power grid. By alarming the meter with operation quality problems, the abnormal operation of the meter can be discovered and handled in time, preventing the problem from further expanding, and ensuring the safe operation of the substation area power grid. This technical scheme reduces the need for manual intervention and judgment through automated and intelligent detection processes, and improves the management efficiency of the substation area power grid. At the same time, through precise data analysis and judgment, management decisions are made more scientific and reasonable.
[0093] In summary, this technical solution ensures the accurate setting of sensors and the reliability of meter operation through the detection and evaluation of user meters at each node in the substation power grid, thereby improving the stability and management efficiency of the substation power grid.
[0094] Specifically, judging whether it is necessary to perform an operation quality evaluation on the user electric meter according to the judgment factor includes:
[0095] When the judgment factor is lower than a preset factor reference value, it is determined that there is no need to perform quality evaluation on the user's electric meter;
[0096] When the judgment factor is not lower than the preset factor reference value, the historical record data of the user's electric meter at each node in the substation power grid is retrieved;
[0097] After completing the retrieval of historical records of electric meters of users at each node in the power grid of the substation area, retrieve the historical electricity consumption records of each node in the power grid of the substation area;
[0098] The operation quality evaluation parameters of the user's electric meter are obtained by using the historical record data of the user's electric meter at each node in the substation power grid and the historical electricity consumption records of each node in the substation power grid; wherein the operation quality evaluation parameters are obtained by the following formula: ,
[0099] Where P represents the operation quality evaluation parameter; X 0 represents the preset factor reference value; m represents the number of unit time contained in the historical record data; T i Indicates the actual reading stabilization delay of the user's electric meter at each node in the substation power grid corresponding to the i-th unit time in the historical record data; E i Indicates the actual power consumption value of each node in the power grid of the substation corresponding to the i-th unit time in the historical record data; E xi The power consumption value represented by the reading of the user's electric meter at each node in the substation power grid corresponding to the i-th unit time in the historical record data;
[0100] When the operation quality evaluation parameter exceeds a preset quality evaluation parameter threshold, it is determined that there is no operation quality problem in the user's electric meter;
[0101] When the operation quality evaluation parameter does not exceed the preset quality evaluation parameter threshold, it is determined that there is an operation quality problem in the user's electricity meter.
[0102] The technical effect of the above technical scheme is: by introducing the judgment factor as a preliminary screening tool, only when the judgment factor is lower than the preset factor reference value, the meter is considered not to need to be evaluated for operation quality. This reduces unnecessary evaluation of meters with good operation quality and improves the pertinence of the evaluation. When the judgment factor is not lower than the preset factor reference value, the scheme further retrieves the historical record data of the user meters at each node in the substation power grid and the historical electricity consumption records of each node in the substation power grid. By integrating the historical data, the operation quality of the meter can be evaluated more comprehensively to avoid the accidental influence of a single data point. The operation quality evaluation parameters are calculated by comprehensively considering the actual reading stabilization delay, actual power consumption value and power consumption value represented by the meter reading of the user meters at each node in the substation power grid in the historical record data. This comprehensive evaluation method can more accurately reflect the operation quality of the meter. When the operation quality evaluation parameter does not exceed the preset quality evaluation parameter threshold, it is determined that the user meter has an operation quality problem and an alarm is issued. This helps to timely discover and deal with meter operation problems, avoid further deterioration of the problem, and ensure the stable operation of the substation power grid. Through the automated meter operation quality evaluation process, the need for manual intervention and judgment can be reduced, and the management efficiency of the substation power grid can be improved. At the same time, based on the analysis of historical data, management decisions can be made more scientific and reasonable.
[0103] In summary, this technical solution improves the accuracy and efficiency of meter operation quality evaluation by introducing judgment factors and comprehensively utilizing historical data, which helps to promptly discover and deal with meter operation problems and ensure the stable operation and management efficiency of the substation power grid.
[0104] S2: pre-process the relevant data of the power grid nodes in the substation area based on retrieval, sorting and calculation to determine the representation data of the power grid nodes in the substation area;
[0105] In this embodiment, as a preferred technical solution of the present invention, in S2, the relevant data of the power grid nodes in the substation area are pre-processed based on retrieval, sorting and calculation, and the following operations are performed:
[0106] Obtain relevant data of power grid nodes in the substation area;
[0107] Based on the sequential retrieval method, the relevant data of the power grid nodes in the substation area are retrieved;
[0108] Clean out the duplicate and missing parts of the grid node related data in the substation area that are of no value for identifying the grid household-transformer relationship, and determine the parts of the grid node related data in the substation area that are of value for identifying the grid household-transformer relationship;
[0109] It should be noted that the acquired data related to the substation power grid nodes contain duplications and omissions. Therefore, by searching the data related to the substation power grid nodes, the duplicate and missing parts of the data related to the substation power grid nodes that are of no value in identifying the power grid user-transformer relationship can be cleaned up, thereby improving the subsequent processing accuracy of the data related to the substation power grid nodes.
[0110] For example, the acquired data on the power grid nodes in the substation include data A, B, C, D, E and F, among which data E and F are missing and the data content cannot be fully displayed. By searching the data A, B, C, D, E and F, the data E and F in the data A, B, C, D, E and F can be cleaned out, thereby improving the subsequent processing accuracy of the data on the power grid nodes in the substation.
[0111] Obtaining the relevant data of the power grid nodes in the substation area that are valuable for identifying the relationship between the power grid users and transformers;
[0112] Based on the internal sorting method, the grid node-related data of the substation area that are valuable for identifying the grid user-transformer relationship are sorted;
[0113] Determine the relevant data of the power grid nodes in the substation area with the arrangement order;
[0114] It should be noted that after the substation grid node related data is retrieved, the substation grid node related data of the part that is valuable for identifying the grid user-transformer relationship in the substation grid node related data is sorted, so that the substation grid node related data of the part with an arrangement order can be determined.
[0115] For example, the relevant data of the power grid nodes in the substation area are retrieved, and after the retrieval, the A, B, C and D data remain. Based on the internal sorting method, the A, B, C and D data are sorted, so that the relevant data of the power grid nodes in the substation area can be arranged in a standardized manner.
[0116] Acquire the relevant data of the power grid nodes of the substation area with the arrangement order;
[0117] Based on edge computing technology, relevant calculations are performed on the relevant data of the grid nodes in the substation area with an arranged order;
[0118] Determine and present the grid node characterization data for the area.
[0119] S3: Based on the preset data of the block grid nodes stored in the blockchain, the grid node characterization data of the substation area is used to identify the grid household transformer relationship, and the grid household transformer relationship identification result is determined;
[0120] In this embodiment, as a preferred technical solution of the present invention, in S3, based on the preset data of the block grid node stored in the blockchain, the grid node characterization data of the substation is used to identify the grid user-to-grid relationship, and the following operations are performed:
[0121] Obtain the grid node characterization data of the substation area;
[0122] Based on the grid node characterization data of the substation area, the preset grid node data of the block stored in the blockchain for identifying the grid household transformer relationship of the grid node characterization data of the substation area is indexed;
[0123] Obtaining the indexed block grid node preset data for identifying the grid user-transformer relationship of the grid node characterization data of the substation area, and retrieving the block grid node preset data;
[0124] Obtain the preset data of the block power grid nodes, and based on the preset data of the block power grid nodes, perform power grid household transformer relationship identification on the substation power grid node characterization data to determine the power grid household transformer relationship identification result.
[0125] In this embodiment, as a preferred technical solution of the present invention, in S3, the block grid node preset data stored in the blockchain for identifying the grid user-transformer relationship of the grid node characterization data of the substation is indexed, and the following operations are performed:
[0126] Get blockchain information;
[0127] The blockchain includes a plurality of blocks, and a plurality of block grid node preset data is stored in the plurality of blocks, and each block corresponds to each block grid node preset data;
[0128] Based on the blockchain information, multiple block grid node preset data stored in multiple blocks are indexed one by one, and the multiple block grid node preset data indexed one by one are compared with the grid node representation data of the substation area;
[0129] In the case where the indexed block grid node preset data is used to identify the grid household transformer relationship of the substation grid node representation data, the indexed block grid node preset data is retrieved;
[0130] In the case where the indexed block grid node preset data is not used to identify the grid household transformer relationship for the substation grid node characterization data, the block grid node preset data stored in the next block will continue to be indexed in sequence until the indexed block grid node preset data is used to identify the grid household transformer relationship for the substation grid node characterization data, and then the indexed block grid node preset data will be retrieved.
[0131] In this embodiment, as a preferred technical solution of the present invention, in S3, based on the preset data of the block grid node, the grid node characterization data is subjected to grid household transformer relationship identification, the grid household transformer relationship identification result is determined, and the following operations are performed:
[0132] For the case where the representation data of the area power grid node is within the preset data range of the block power grid node, the power grid household transformer relationship identification result is that the power grid household transformer relationship has not changed;
[0133] In case that the characterization data of the substation grid node is not within the preset data range of the block grid node, the grid household-transformer relationship identification result is that the grid household-transformer relationship has changed.
[0134] S4: Based on the results of the identification of the power grid user-transformer relationship, the preset data of the block power grid node is corrected and the blockchain data is readjusted.
[0135] In this embodiment, as a preferred technical solution of the present invention, in S4, based on the grid household transformer relationship identification result, the preset data of the block grid node is corrected, and the following operations are performed:
[0136] Obtain the results of identifying the relationship between power grid households and transformers;
[0137] If the power grid user-transformer relationship has not changed, there is no need to modify the preset data of the block power grid node;
[0138] In case the relationship between power grid users and transformers has changed, it is necessary to correct the preset data of the block grid node and readjust the blockchain data.
[0139] In this embodiment, as a preferred technical solution of the present invention, in S4, the preset data of the block grid node is corrected, the blockchain data is readjusted, and the following operations are performed:
[0140] Based on the blockchain information, obtain the preset data of the block grid node stored in the block;
[0141] The preset data of the block power grid node is corrected, and the preset data of the block power grid node stored in the blockchain block is adjusted to the representation data of the substation power grid node, and the corresponding block of the blockchain is identified and marked.
[0142] It should be noted that the power grid household transformer relationship is identified through the power grid household transformer relationship identification method based on blockchain, and the power grid household transformer relationship identification based on blockchain is shown in Table 1:
[0143] Based on the preset data of the block grid nodes, the grid-user-transformer relationship is identified for the grid node characterization data of the substation area. Grid household transformer relationship identification results Modify the preset data of the block grid node The grid node characterization data of the substation area is within the preset data range of the block grid node The relationship between power grid users and transformers has not changed No need to modify the preset data of the block grid node The data of the grid node in the substation area is not within the preset data range of the grid node in the block area. The relationship between power grid users and transformers has changed It is necessary to correct the preset data of the block grid node and readjust the blockchain data
[0144] Therefore, by obtaining the real-time current, real-time voltage and real-time power data of each node user in the substation power grid, the substation power grid node related data is determined, and the substation power grid node related data is pre-processed based on retrieval, sorting and calculation to determine the substation power grid node characterization data. Based on the block power grid node preset data stored in the blockchain, the power grid household transformer relationship is identified for the substation power grid node characterization data, and the power grid household transformer relationship identification result is determined. Based on the power grid household transformer relationship identification result, the block power grid node preset data is corrected, and the blockchain data is readjusted, so that the power grid household transformer relationship can be identified in time, and the situation where the power grid household transformer relationship has changed can be corrected and adjusted in time, which can improve the power grid household transformer relationship identification effect.
[0145] It should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device.
[0146] Although embodiments of the present invention have been shown and described, it will be appreciated by those skilled in the art that various changes, modifications, substitutions and variations may be made to the embodiments without departing from the principles and spirit of the present invention, and that the scope of the present invention is defined by the appended claims and their equivalents.
Claims
1. A method for identifying power grid household-transformer relationships based on blockchain, characterized in that: The steps include: S1: Obtain the real-time current, real-time voltage and real-time power data of each node user in the substation power grid, and determine the relevant data of the substation power grid nodes; S2: pre-process the relevant data of the power grid nodes in the substation area based on retrieval, sorting and calculation to determine the representation data of the power grid nodes in the substation area; S3: Based on the preset data of the block grid nodes stored in the blockchain, the grid node characterization data of the substation area is used to identify the grid household transformer relationship, and the grid household transformer relationship identification result is determined; S4: Based on the results of the identification of the power grid user-to-user relationship, the preset data of the block power grid node is corrected and the blockchain data is readjusted; In S1, the real-time current, real-time voltage and real-time power data of each node user in the power grid of the substation area are obtained, including: Before setting the current sensor, voltage sensor and power sensor, the user electric meters at each node in the power grid of the substation are tested, including: Controlling the power consumption of each node in the power grid of the substation area according to the preset power consumption; Detecting the power consumption values displayed by the user electric meters of each node in the power grid of the substation area after the power consumption of each node in the power grid of the substation area is completed; The judgment factor is obtained by using the difference between the power consumption value of the user meter of each node in the substation area power grid after the power consumption of each node in the substation area power grid is completed and the preset power; wherein the judgment factor is obtained by the following formula; , where X represents the judgment factor; E0 represents the preset value corresponding to the power; E d Indicates the power consumption value of the user's electric meter at each node in the power grid of the substation area; n indicates the unit time length experienced by each node in the power grid of the substation area to complete the preset power consumption, and the value of the unit time is 1min-10min; E e Indicates the maximum error range allowed for the reading of the user's electricity meter; E di E represents the power consumption value of each node user meter in the power grid corresponding to the i-th unit time; i represents the actual power consumption value of each node in the power grid of the substation corresponding to the i-th unit time; T s Indicates the maximum actual reading stabilization delay of the user's electric meter at each node in the substation power grid; T e Indicates the theoretical reading stabilization delay of the user's electric meter at each node in the power grid of the substation area; Determining whether it is necessary to perform an operation quality evaluation on the user's electric meter according to the judgment factor; For the user's electric meter that does not need to be evaluated for operation quality, the current sensor, voltage sensor and power sensor are directly set; For the user electricity meters that need to be evaluated for operation quality and do not have operation quality problems, current sensors, voltage sensors and power sensors are set; For user meters that need to be evaluated for operation quality and have operation quality problems, an abnormal operation alarm is issued; Judging whether it is necessary to perform an operation quality evaluation on the user electric meter according to the judgment factor includes: When the judgment factor is lower than a preset factor reference value, it is determined that there is no need to perform quality evaluation on the user's electric meter; When the judgment factor is not lower than the preset factor reference value, the historical record data of the user's electric meter at each node in the substation power grid is retrieved; After completing the retrieval of historical records of electric meters of users at each node in the power grid of the substation area, retrieve the historical electricity consumption records of each node in the power grid of the substation area; The operation quality evaluation parameters of the user's electric meter are obtained by using the historical record data of the user's electric meter at each node in the substation power grid and the historical electricity consumption records of each node in the substation power grid; wherein the operation quality evaluation parameters are obtained by the following formula: , where P represents the operation quality evaluation parameter; X0 represents the preset factor reference value; m represents the number of unit time contained in the historical record data; T i Indicates the actual reading stabilization delay of the user's electric meter at each node in the substation power grid corresponding to the i-th unit time in the historical record data; E i Indicates the actual power consumption value of each node in the power grid of the substation corresponding to the i-th unit time in the historical record data; E xi The power consumption value represented by the reading of the user's electric meter at each node in the substation power grid corresponding to the i-th unit time in the historical record data; When the operation quality evaluation parameter exceeds a preset quality evaluation parameter threshold, it is determined that there is no operation quality problem in the user's electric meter; When the operation quality evaluation parameter does not exceed the preset quality evaluation parameter threshold, it is determined that there is an operation quality problem in the user's electricity meter; In S2, the data related to the power grid nodes in the substation area are pre-processed based on retrieval, sorting and calculation, and the following operations are performed: Obtain relevant data of power grid nodes in the substation area; Based on the sequential retrieval method, the relevant data of the power grid nodes in the substation area are retrieved; Clean out the duplicate and missing parts of the grid node related data in the substation area that are of no value for identifying the grid household-transformer relationship, and determine the parts of the grid node related data in the substation area that are of value for identifying the grid household-transformer relationship; Obtaining the relevant data of the power grid nodes in the substation area that are valuable for identifying the relationship between the power grid users and transformers; Based on the internal sorting method, the grid node-related data of the substation area that are valuable for identifying the grid user-transformer relationship are sorted; Determine the relevant data of the power grid nodes in the substation area with the arrangement order; Acquire the relevant data of the power grid nodes of the substation area with the arrangement order; Based on edge computing technology, relevant calculations are performed on the relevant data of the grid nodes in the substation area with an arranged order; Determine and present the grid node characterization data in the distribution area.
2. The method for identifying power grid household-transformer relationships based on blockchain according to claim 1 is characterized in that: In S1, the real-time current, real-time voltage and real-time power data of each node user in the power grid of the substation are obtained, and the following operations are performed: Current sensors, voltage sensors and power sensors are installed on the user's electric meters at each node in the power grid of the substation area; Use current sensors to obtain real-time current data of users at each node in the power grid; Use voltage sensors to obtain real-time voltage data of users at each node in the power grid; Use power sensors to obtain real-time power data of users at each node in the power grid; Based on the real-time current, real-time voltage and real-time power data of users at each node in the substation power grid, the relevant data of the substation power grid nodes are determined.
3. The method for identifying power grid household-transformer relationships based on blockchain according to claim 2 is characterized in that: In S3, based on the preset data of the block grid nodes stored in the blockchain, the grid node characterization data of the substation is used to identify the grid user-to-grid relationship, and the following operations are performed: Obtain the grid node characterization data of the substation area; Based on the grid node characterization data of the substation area, the preset grid node data of the block stored in the blockchain for identifying the grid household transformer relationship of the grid node characterization data of the substation area is indexed; Obtaining the indexed block grid node preset data for identifying the grid user-transformer relationship of the grid node characterization data of the substation area, and retrieving the block grid node preset data; Obtain the preset data of the block power grid nodes, and based on the preset data of the block power grid nodes, perform power grid household transformer relationship identification on the substation power grid node characterization data to determine the power grid household transformer relationship identification result.
4. The method for identifying power grid household-transformer relationships based on blockchain according to claim 3 is characterized in that: In S3, the preset block grid node data stored in the blockchain for identifying the grid user-to-grid relationship of the grid node characterization data of the substation is indexed, and the following operations are performed: Get blockchain information; The blockchain includes a plurality of blocks, and a plurality of block grid node preset data are stored in the plurality of blocks, and each block corresponds to each block grid node preset data; Based on the blockchain information, multiple block grid node preset data stored in multiple blocks are indexed one by one, and the multiple block grid node preset data indexed one by one are compared with the grid node representation data of the substation area; In the case where the indexed block grid node preset data is used to identify the grid household transformer relationship of the substation grid node representation data, the indexed block grid node preset data is retrieved; In the case where the indexed block grid node preset data is not used to identify the grid household transformer relationship for the substation grid node characterization data, the block grid node preset data stored in the next block will continue to be indexed in sequence until the indexed block grid node preset data is used to identify the grid household transformer relationship for the substation grid node characterization data, and then the indexed block grid node preset data will be retrieved.
5. The method for identifying power grid household-transformer relationships based on blockchain according to claim 4 is characterized in that: In S3, based on the preset data of the block grid nodes, the grid-user-transformer relationship is identified for the grid-user-transformer relationship characterization data of the substation grid nodes, and the grid-user-transformer relationship identification result is determined, and the following operations are performed: For the case where the representation data of the area power grid node is within the preset data range of the block power grid node, the power grid household transformer relationship identification result is that the power grid household transformer relationship has not changed; In case that the characterization data of the substation grid node is not within the preset data range of the block grid node, the grid household-transformer relationship identification result is that the grid household-transformer relationship has changed.
6. The method for identifying power grid household-transformer relationships based on blockchain according to claim 5 is characterized in that: In S4, based on the result of identifying the relationship between the power grid and the transformer, the preset data of the block power grid node is modified, and the following operations are performed: Obtain the results of identifying the relationship between power grid households and transformers; In case of changes in the relationship between power grid users and transformers, the preset data of the block grid node will be corrected and the blockchain data will be readjusted.
7. The method for identifying power grid household-transformer relationships based on blockchain according to claim 6 is characterized in that: In S4, the preset data of the block grid node is corrected, the blockchain data is readjusted, and the following operations are performed: Based on the blockchain information, obtain the preset data of the block grid node stored in the block; The preset data of the block power grid node is corrected, and the preset data of the block power grid node stored in the blockchain block is adjusted to the representation data of the substation power grid node, and the corresponding block of the blockchain is identified and marked.
