Power distribution network device control method and system based on power distribution network CIM model mapping
By calculating the name and structural similarity of the distribution network CIM model, and using the principal component analysis method to optimize the mapping results, the compatibility issues caused by differences in distribution network CIM model versions are solved, and efficient access and integration of distribution network equipment are achieved. control.
Patent Information
- Application Number
- PCT/CN2023/109206
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-04-25
- Filing Date
- 2023-07-25
- Publication Date
- 2024-10-31
AI Technical Summary
Due to version differences in the existing distribution network CIM model, mapping between different versions is incompatible, hindering the access and control of new equipment.
By obtaining the CIM model of the distribution Internet of Things terminals and distribution network access equipment, the node names and structural similarities are calculated, and the principal component analysis method is used to adjust the weights to achieve the optimal mapping results, and optimize according to the preset step size and adjustment conditions. threshold to ensure high compatibility.
It solves the mapping compatibility problem between different versions of CIM models, improves the access and control efficiency of new equipment on the distribution network side, and improves the compatibility of distribution Internet of Things terminals and access equipment.
Smart Images

Figure CN2023109206_31102024_PF_FP_ABST
Abstract
Description
Control method and system for distribution network equipment based on distribution network CIM model mapping Technical Field
[0001] The present invention relates to the field of distribution network control, and in particular to a control method and system for distribution network equipment based on distribution network CIM model mapping. Background Art
[0002] The distribution Internet of Things (IoT) is a key node in the expansion of the new power system from medium voltage to low voltage. As the construction of this new power system continues to advance, the massive access and rapid iteration of smart terminals and monitoring equipment have created serious compatibility issues. The Common Information Model (CIM), a universal standard in the power sector, directly impacts the access and status control of distribution network equipment. Correctly mapping different versions of the distribution network CIM model is crucial for achieving observability, measurability, and controllability in this new power system, providing the necessary data support.
[0003] However, due to version differences, the existing distribution network CIM model leads to incompatible mappings between different versions of CIM models when massive distributed terminal devices are connected. The mapping errors between different versions of the distribution network CIM model seriously hinder the access and control of new devices on the distribution network side.
[0004] Summary of the Invention
[0005] The present invention provides a control method and system for distribution network equipment based on distribution network CIM model mapping, which realizes optimal mapping of different versions of distribution network CIM models and improves the compatibility of distribution network Internet of Things terminals and distribution network access equipment.
[0006] In order to solve the above technical problems, an embodiment of the present invention provides a control method for distribution network equipment based on distribution network CIM model mapping, including:
[0007] Obtain the distribution network CIM model of the distribution IoT terminal and the distribution network access equipment, and obtain different versions of the distribution network CIM model;
[0008] The node names of different versions of the distribution network CIM model are similarly measured and calculated to obtain name similarity. Based on the name similarity, the different versions of the distribution network CIM model are compared and analyzed according to the tree structure to calculate the structural similarity.
[0009] Perform principal component weight analysis on name similarity and structure similarity to obtain comprehensive matching degree;
[0010] Perform mapping statistical analysis on the node trees whose comprehensive matching degree is higher than the current preset matching threshold to obtain the current threshold compliance;
[0011] According to the preset step size and preset adjustment conditions, the current preset matching threshold is continuously adjusted until the maximum threshold compliance is obtained, and the mapping result corresponding to the maximum threshold compliance is found to obtain the optimal mapping results of different versions of the distribution network CIM model; wherein, each time the current preset matching threshold is adjusted, the node tree with a comprehensive matching degree higher than the current preset matching threshold is mapped and statistically analyzed to obtain the current threshold compliance;
[0012] According to the optimal mapping result, the access of the distribution network access equipment is controlled.
[0013] By implementing the embodiment of the present invention, the distribution network CIM model of the distribution Internet of Things terminal and the distribution network access device is obtained, the name similarity and structure similarity of the nodes of the two different versions of the distribution network CIM model are calculated respectively, and the principal component analysis method is used to adjust the weights to calculate the comprehensive matching degree, the node tree with a comprehensive matching degree higher than the matching threshold is mapped, and the current mapping result is analyzed to calculate the current threshold compliance. According to the preset step size and preset adjustment conditions, the current preset matching threshold is continuously improved and adjusted to continuously obtain the current threshold compliance, and the mapping result corresponding to the maximum value of the threshold compliance is determined to achieve optimal mapping of different versions of the distribution network CIM model. According to the optimal mapping result, the distribution network access device is access controlled, so as to solve the compatibility problem of the mapping between different versions of the CIM model under the access of massive distributed terminal devices, efficiently manage the access and control of new equipment on the distribution network side, and improve the compatibility of the distribution Internet of Things terminal and the distribution network access device.
[0014] As a preferred solution, the name similarity and structure similarity are subjected to principal component weight analysis to obtain a comprehensive matching degree, specifically:
[0015] Matrix the name similarity and structure similarity to obtain a standard value matrix;
[0016] Perform principal component analysis on the standard value matrix and calculate the similarity weight;
[0017] According to the similarity weight, the name similarity and structure similarity are weighted and summed to obtain the comprehensive matching degree.
[0018] As a preferred solution, the name similarity and structure similarity are matrixed to obtain a standard value matrix, specifically:
[0019] Based on the name similarity and structure similarity, a similarity matrix is established;
[0020] According to the similarity matrix, the average similarity is calculated using the formula:
[0021] in, is the average similarity, n is the number of sub-nodes to be compared in the nodes of the two different versions of the distribution network CIM model, j is 1 or 2, x i1 is the name similarity of the i-th node, x i2 is the structural similarity of the i-th node;
[0022] According to the similarity matrix and the average value, the similarity variance is calculated as follows:
[0023] Among them, s j is the similarity variance, j takes the value of 1 or 2, s1 is the variance of node name similarity, and s2 is the variance of node structure similarity;
[0024] The similarity mean and similarity variance are normalized to obtain the standard value matrix. The formula is:
[0025] Among them, Z is the standard value matrix, z ij ∈Z, z ij is the standard value.
[0026] As a preferred solution, the standard value matrix is subjected to principal component analysis to calculate the similarity weight, specifically:
[0027] According to the standard value matrix, the correlation coefficient matrix is calculated as follows:
[0028] Among them, R is the correlation coefficient matrix, r ij is the element of the correlation coefficient matrix, r ij ∈R;
[0029] According to the correlation coefficient matrix, calculate the eigenvalue of the correlation coefficient matrix;
[0030] And according to the eigenvalue of the correlation coefficient matrix, the similarity weight is calculated. The formula is:
[0031] Among them, δ is the similarity weight, and λ is the eigenvalue of the correlation coefficient matrix.
[0032] As a preferred solution, the name similarity and structure similarity are weighted and summed according to the similarity weight to obtain the comprehensive matching degree, the formula is: S(L1,L2)=δS stru (L1,L2)+(1-δ)S lable (L1,L2)
[0033] Among them, S(L1, L2) is the comprehensive matching degree, δ is the similarity weight, S lable (L1, L2) is the name similarity, S stru(L1, L2) is the structural similarity.
[0034] As a preferred solution, the node names of different versions of the distribution network CIM model are similarly measured and calculated to obtain the name similarity, specifically:
[0035] Count the minimum number of operations required to convert a node name of a distribution network CIM model of one version into a node name of a distribution network CIM model of another version; the minimum number of operations includes the insertion, deletion, and replacement of a single character;
[0036] Based on the minimum number of operations, the name similarity is calculated using the following formula:
[0037] Among them, S lable (L1, L2) is the name similarity, E dis (L1, L2) is the minimum number of operations.
[0038] As a preferred solution, based on the name similarity, different versions of the distribution network CIM model are compared and analyzed in a tree structure to calculate the structural similarity, specifically:
[0039] Based on the name similarity, a tree structure comparison analysis is performed on the two nodes. The CIM model version information is used as the root node, the classes included in the CIM model are used as child nodes, and the attributes included in each class are used as leaf nodes. The similarity of the CIM model nodes of different versions is calculated to obtain the structural similarity. The formula is:
[0040] Among them, S lable (L1, L2) is the structural similarity, L1 and L2 are the child nodes to be compared in the nodes of the two different versions of the CIM model, stru(L) is the number of leaf nodes in each child node, and |stru(L1)∪stru(L2)| is the total number of child nodes to be compared in the nodes of the two different versions of the CIM model.
[0041] As a preferred solution, the node trees whose comprehensive matching degree is higher than the current preset matching threshold are mapped and statistically analyzed to obtain the current threshold compliance, specifically:
[0042] Map the node trees whose comprehensive matching degree is higher than the current preset matching threshold to obtain the current mapping result;
[0043] Perform statistical node calculation on the current mapping results to obtain the mapping accuracy and mapping omission rate;
[0044] According to the mapping accuracy and mapping omission rate, the current threshold compliance is calculated using the formula:
[0045] Among them, P r is the current threshold compliance, P1 is the mapping accuracy, and P2 is the mapping omission rate.
[0046] As a preferred solution, the current mapping results are statistically calculated to obtain the mapping accuracy and mapping omission rate, specifically:
[0047] According to the preset extraction ratio, the current mapping results of the extraction are counted to obtain node data; wherein the node data includes the total number of nodes, the number of missed mapping nodes, the number of correctly mapped nodes, and the number of incorrectly mapped nodes;
[0048] The mapping accuracy is calculated based on the number of correctly mapped nodes and the number of incorrectly mapped nodes. The formula is:
[0049] Among them, P1 is the mapping accuracy, N2 is the number of correctly mapped nodes, and N3 is the number of incorrectly mapped nodes;
[0050] The mapping omission rate is calculated based on the number of correctly mapped nodes and the number of missed mapped nodes. The formula is:
[0051] Among them, P2 is the mapping omission rate, and N1 is the number of omission mapping nodes.
[0052] In order to solve the same technical problem, an embodiment of the present invention also provides a control system for distribution network equipment based on distribution network CIM model mapping, including: a version acquisition module, a similarity calculation module, a matching analysis module, an initial mapping module, an optimal mapping module and an access control module;
[0053] Among them, the version acquisition module is used to obtain the distribution network CIM model of the distribution Internet of Things terminal and the distribution network access equipment, and obtain different versions of the distribution network CIM model;
[0054] The similarity calculation module is used to measure and calculate the similarity of the node names of different versions of the distribution network CIM model to obtain the name similarity. Based on the name similarity, the different versions of the distribution network CIM model are compared and analyzed according to the tree structure to calculate the structural similarity.
[0055] The matching degree analysis module is used to perform principal component weight analysis on name similarity and structure similarity to obtain a comprehensive matching degree;
[0056] The initial mapping module is used to perform mapping statistical analysis on the node trees whose comprehensive matching degree is higher than the current preset matching threshold to obtain the current threshold compliance;
[0057] The optimal mapping module is used to continuously adjust the current preset matching threshold according to the preset step size and preset adjustment conditions until the maximum threshold compliance is obtained, find the mapping result corresponding to the maximum threshold compliance, and obtain the optimal mapping results of different versions of the distribution network CIM model; wherein, each time the current preset matching threshold is adjusted, the node tree with a comprehensive matching degree higher than the current preset matching threshold is mapped and statistically analyzed to obtain the current threshold compliance;
[0058] The access control module is used to control the access of distribution network access devices according to the optimal mapping result. BRIEF DESCRIPTION OF THE DRAWINGS
[0059] FIG1 is a flow chart of an embodiment of a method for controlling distribution network equipment based on distribution network CIM model mapping provided by the present invention;
[0060] FIG2 is a flow chart of a distribution network CIM model mapping according to an embodiment of a method for controlling distribution network equipment based on distribution network CIM model mapping provided by the present invention;
[0061] FIG3 is a schematic structural diagram of an embodiment of a control system for distribution network equipment based on distribution network CIM model mapping provided by the present invention. DETAILED DESCRIPTION
[0062] 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.
[0063] Example 1
[0064] Please refer to Figure 1, which is a flow chart of a method for controlling distribution network equipment based on distribution network CIM model mapping according to an embodiment of the present invention. The distribution network CIM model mapping process is shown in Figure 2. This embodiment improves the compatibility between distribution network IoT terminals and distribution network access equipment by mapping distribution network CIM models between different versions. The control method for distribution network equipment includes steps 101 to 106, each of which is as follows:
[0065] Step 101: Obtain the distribution network CIM model of the distribution Internet of Things terminal and the distribution network access device, and obtain different versions of the distribution network CIM model.
[0066] Step 102: Calculate similarity of node names of different versions of the distribution network CIM model to obtain name similarity, and compare and analyze different versions of the distribution network CIM model according to the tree structure based on the name similarity to calculate structural similarity.
[0067] In this embodiment, the name similarity is obtained by taking the weighted average of the syntactic similarity and semantic similarity of the node names in two different XML documents corresponding to two different versions of the distribution network CIM model. The two XML documents are further compared and analyzed in tree structure to calculate the structural similarity and comprehensive matching degree of the two distribution network CIM models to solve the naming conflict problem. Then, the heterogeneous XML document data are merged and modeled to obtain the optimal mapping.
[0068] Optionally, similarity measurement is performed on the node names of different versions of the distribution network CIM model to obtain name similarity, specifically:
[0069] Count the minimum number of operations required to convert a node name of a distribution network CIM model of one version into a node name of a distribution network CIM model of another version; the minimum number of operations includes the insertion, deletion, and replacement of a single character;
[0070] Based on the minimum number of operations, the name similarity is calculated using the following formula:
[0071] Among them, S lable (L1, L2) is the name similarity, E dis (L1, L2) is the minimum number of operations.
[0072] In this embodiment, the Wagner-Fischer similarity measurement method is used to calculate the similarity of node names in two different XML documents, and the minimum number of operations E required to convert the node name of one version of the distribution network CIM model into the node name of another version of the distribution network CIM model is counted. dis (L1, L2), specifically including the insertion, deletion, and replacement of a single character. In this case, L1 and L2 are the names of two different versions of the CIM model nodes.
[0073] Optionally, based on the name similarity, different versions of the distribution network CIM model are compared and analyzed in a tree structure to calculate the structural similarity, specifically:
[0074] Based on the name similarity, a tree structure comparison analysis is performed on the two nodes. The CIM model version information is used as the root node, the classes included in the CIM model are used as child nodes, and the attributes included in each class are used as leaf nodes. The similarity of the CIM model nodes of different versions is calculated to obtain the structural similarity. The formula is:
[0075] Among them, S lable (L1, L2) is the structural similarity, L1 and L2 are the child nodes to be compared in the nodes of the two different versions of the CIM model, stru(L) is the number of leaf nodes in each child node, and |stru(L1)∪stru(L2)| is the total number of child nodes to be compared in the nodes of the two different versions of the CIM model.
[0076] In this embodiment, two different versions of the distribution network CIM model are expanded according to the tree structure of root node-child node-leaf node, and the structural similarity of the two distribution network CIM model nodes is calculated. That is, based on the calculated name similarity, the two nodes are compared and analyzed in tree structure, and the CIM model version information is used as the root node, the classes included in the CIM model are used as child nodes, and the attributes included in each class are used as leaf nodes to calculate the structural similarity of the nodes of the different versions of the CIM model.
[0077] Step 103: Perform principal component weight analysis on the name similarity and structure similarity to obtain a comprehensive matching degree.
[0078] In this embodiment, the weights of the name similarity and the structure similarity are calculated by principal component analysis, and the weighted sum of the name similarity and the structure similarity is calculated to obtain the comprehensive matching degree.
[0079] Optionally, step 103 specifically includes steps 1031 to 1033, each of which is as follows:
[0080] Step 1031: Matrix the name similarity and the structure similarity to obtain a standard value matrix.
[0081] Optionally, step 1031 is specifically as follows:
[0082] According to the name similarity S lable (L1, L2) and structural similarity S stru (L1, L2), establish a similarity matrix; similarity matrix X = (S lable (L1,L2),S stru (L1,L2)), x ij ∈X.
[0083] According to the similarity matrix, the average similarity is calculated using the formula:
[0084] in, is the average similarity, n is the number of sub-nodes to be compared in the nodes of the two different versions of the distribution network CIM model, j is 1 or 2, x i1 is the name similarity of the i-th node, x i2is the structural similarity of the i-th node;
[0085] According to the similarity matrix and the average value, the similarity variance is calculated as follows:
[0086] Among them, s j is the similarity variance, j takes the value of 1 or 2, s1 is the variance of node name similarity, and s2 is the variance of node structure similarity;
[0087] The similarity mean and similarity variance are normalized to obtain the standard value matrix. The formula is:
[0088] Among them, Z is the standard value matrix, z ij ∈Z, z ij is the standard value.
[0089] Step 1032: Perform principal component analysis on the standard value matrix and calculate the similarity weight.
[0090] Optionally, step 1032 is specifically as follows:
[0091] According to the standard value matrix, the correlation coefficient matrix is calculated as follows:
[0092] Among them, R is the correlation coefficient matrix, r ij is the element of the correlation coefficient matrix, r ij ∈R;
[0093] According to the correlation coefficient matrix, calculate the eigenvalue of the correlation coefficient matrix;
[0094] And according to the eigenvalue of the correlation coefficient matrix, the similarity weight is calculated. The formula is:
[0095] Among them, δ is the similarity weight, and λ is the eigenvalue of the correlation coefficient matrix.
[0096] Step 1033: Based on the similarity weights, perform weighted sum calculation on the name similarity and the structure similarity to obtain a comprehensive matching degree.
[0097] Optionally, the name similarity and structure similarity are weighted and summed according to the similarity weight to obtain the comprehensive matching degree. The formula is:
[0098] S(L1,L2)=δS stru (L1,L2)+(1-δ)S lable (L1,L2)
[0099] Among them, S(L1,L2) is the comprehensive matching degree, δ is the similarity weight, and δ∈(0,1), Slable (L1, L2) is the name similarity, S stru (L1, L2) is the structural similarity.
[0100] Step 104: Perform mapping statistical analysis on the node trees whose comprehensive matching degree is higher than the current preset matching threshold to obtain the current threshold compliance.
[0101] Optionally, step 104 specifically includes steps 1041 to 1043, each of which is as follows:
[0102] Step 1041: Map the node trees whose comprehensive matching degree is higher than the current preset matching threshold to obtain the current mapping result.
[0103] In this embodiment, for the naming conflict problem, the standard name L0 in the given dictionary can be used for replacement. When initially set, V0=0.8, and the node tree with the comprehensive matching degree S(L1, L2) higher than the threshold V is mapped, where V is the current preset matching threshold.
[0104] Step 1042: Perform statistical node calculation on the current mapping result to obtain the mapping accuracy and mapping omission rate.
[0105] Optionally, step 1042 specifically includes: according to a preset extraction ratio, counting the current mapping results extracted to obtain node data; wherein the node data includes the total number of nodes, the number of missing mapped nodes, the number of correctly mapped nodes, and the number of incorrectly mapped nodes;
[0106] In this embodiment, the mapping results of the distribution network CIM model with a preset extraction ratio (e.g., 10%) are analyzed to obtain the total number of nodes N, the number of missed mapping nodes N1, the number of correctly mapped nodes N2, and the number of incorrectly mapped nodes N3, and the mapping accuracy P1 and mapping omission rate P2 are calculated respectively.
[0107] The mapping accuracy is calculated based on the number of correctly mapped nodes and the number of incorrectly mapped nodes. The formula is:
[0108] Among them, P1 is the mapping accuracy, N2 is the number of correctly mapped nodes, and N3 is the number of incorrectly mapped nodes;
[0109] The mapping omission rate is calculated based on the number of correctly mapped nodes and the number of missed mapped nodes. The formula is:
[0110] Among them, P2 is the mapping omission rate, and N1 is the number of omission mapping nodes.
[0111] Step 1043: Calculate the current threshold compliance based on the mapping accuracy and mapping omission rate. The formula is:
[0112] Among them, P r is the current threshold compliance, P1 is the mapping accuracy, and P2 is the mapping omission rate.
[0113] Step 105: Continuously adjust the current preset matching threshold according to the preset step size and preset adjustment conditions until the maximum value of the threshold compliance is obtained, find the mapping result corresponding to the maximum value of the threshold compliance, and obtain the optimal mapping results of different versions of the distribution network CIM model; wherein, each time the current preset matching threshold is adjusted, the node tree with a comprehensive matching degree higher than the current preset matching threshold is subjected to mapping statistical analysis to obtain the current threshold compliance.
[0114] In this embodiment, the preset adjustment conditions are: when the mapping accuracy rate P1 is low, the threshold is increased; when the mapping omission rate P2 is low, the threshold is decreased. A preset step size ΔV = 0.01 is used to adjust the current preset matching threshold. After adjusting the threshold, step 104 is repeated to obtain the current threshold compliance. Based on the preset step size and the preset adjustment conditions, the current preset matching threshold is continuously adjusted, and step 104 is repeated until the threshold compliance reaches the maximum value. Using this threshold as the reference, the complete mapping results of the distribution network CIM model are output, thereby obtaining the optimal mapping results for different versions of the distribution network CIM model.
[0115] Step 106: Based on the optimal mapping result, access control is performed on the distribution network access equipment.
[0116] By implementing the embodiment of the present invention, the distribution network CIM model of the distribution Internet of Things terminal and the distribution network access device is obtained, the name similarity and structure similarity of the nodes of the two different versions of the distribution network CIM model are calculated respectively, and the principal component analysis method is used to adjust the weights to calculate the comprehensive matching degree, the node tree with a comprehensive matching degree higher than the matching threshold is mapped, and the current mapping result is analyzed to calculate the current threshold compliance. According to the preset step size and preset adjustment conditions, the current preset matching threshold is continuously improved and adjusted to continuously obtain the current threshold compliance, and the mapping result corresponding to the maximum value of the threshold compliance is determined to achieve optimal mapping of different versions of the distribution network CIM model. According to the optimal mapping result, the distribution network access device is access controlled, so as to solve the compatibility problem of the mapping between different versions of the CIM model under the access of massive distributed terminal devices, efficiently manage the access and control of new equipment on the distribution network side, and improve the compatibility of the distribution Internet of Things terminal and the distribution network access device.
[0117] Example 2
[0118] Accordingly, referring to Figure 3, Figure 3 is a schematic diagram of the structure of a second embodiment of a control system for distribution network equipment based on distribution network CIM model mapping provided by the present invention. As shown in Figure 3, the control system for distribution network equipment based on distribution network CIM model mapping includes a version acquisition module 301, a similarity calculation module 302, a matching analysis module 303, an initial mapping module 304, an optimal mapping module 305, and an access control module 306.
[0119] The version acquisition module 301 is used to obtain the distribution network CIM model of the distribution Internet of Things terminal and the distribution network access device, and obtain different versions of the distribution network CIM model;
[0120] The similarity calculation module 302 is used to perform similarity measurement calculation on the node names of different versions of the distribution network CIM model to obtain name similarity, and based on the name similarity, compare and analyze the different versions of the distribution network CIM model according to the tree structure to calculate the structural similarity;
[0121] The matching degree analysis module 303 is used to perform principal component weight analysis on the name similarity and structure similarity to obtain a comprehensive matching degree;
[0122] The initial mapping module 304 is used to perform mapping statistical analysis on the node trees whose comprehensive matching degree is higher than the current preset matching threshold to obtain the current threshold compliance;
[0123] The optimal mapping module 305 is used to continuously adjust the current preset matching threshold according to the preset step size and preset adjustment conditions until the maximum threshold compliance is obtained, find the mapping result corresponding to the maximum threshold compliance, and obtain the optimal mapping results of different versions of the distribution network CIM model; wherein, each time the current preset matching threshold is adjusted, the node tree with a comprehensive matching degree higher than the current preset matching threshold is mapped and statistically analyzed to obtain the current threshold compliance;
[0124] The access control module 306 is used to control the access of the distribution network access device according to the optimal mapping result.
[0125] In the implementation of the embodiment of the present invention, by calculating the name similarity and structure similarity of nodes of two different versions of the distribution network CIM model, and using the principal component analysis method to adjust the weights to calculate the comprehensive matching degree, the node trees with a comprehensive matching degree higher than the matching threshold are mapped, and the mapping results are analyzed. The threshold compliance is calculated based on the mapping accuracy and mapping omission rate, and the threshold is continuously improved to achieve optimal mapping of different versions of the distribution network CIM model, effectively solving the mapping compatibility problem between different versions of CIM models under the access of massive distributed terminal devices.
[0126] The control system for distribution network equipment based on distribution network CIM model mapping described above can implement the control method for distribution network equipment based on distribution network CIM model mapping described above in the method embodiment. The optional options in the above method embodiment also apply to this embodiment and will not be described in detail here. The remaining contents of the embodiments of this application can refer to the contents of the above method embodiment and will not be repeated in this embodiment.
[0127] The specific embodiments described above further illustrate the objectives, technical solutions, and beneficial effects of the present invention. It should be understood that the above descriptions are merely specific embodiments of the present invention and are not intended to limit the scope of protection of the present invention. In particular, it should be noted that any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present invention should be included within the scope of protection of the present invention for those skilled in the art.
Claims
1. A control method for distribution network equipment based on distribution network CIM model mapping, characterized in that: include: Obtain the distribution network CIM model of the distribution Internet of Things terminal and the distribution network access device, and obtain different versions of the distribution network CIM model; Performing similarity measurement calculation on the node names of the different versions of the distribution network CIM model to obtain name similarity, and performing comparative analysis on the different versions of the distribution network CIM model according to the tree structure based on the name similarity to calculate the structural similarity; Performing principal component weight analysis on the name similarity and the structure similarity to obtain a comprehensive matching degree; Performing mapping statistical analysis on the node tree whose comprehensive matching degree is higher than the current preset matching threshold to obtain the current threshold compliance degree; According to the preset step size and the preset adjustment condition, the current preset matching threshold is continuously adjusted until the maximum value of the threshold compliance is obtained, and the mapping result corresponding to the maximum value of the threshold compliance is found to obtain the optimal mapping results of the different versions of the distribution network CIM model; wherein, each time the current preset matching threshold is adjusted, the node tree with a comprehensive matching degree higher than the current preset matching threshold is subjected to mapping statistical analysis to obtain the current threshold compliance; According to the optimal mapping result, access control is performed on the distribution network access device.
2. The control method of distribution network equipment based on distribution network CIM model mapping according to claim 1, characterized in that: The name similarity and the structure similarity are subjected to principal component weight analysis to obtain a comprehensive matching degree, specifically: Matrixing the name similarity and the structure similarity to obtain a standard value matrix; Performing principal component analysis on the standard value matrix to calculate similarity weights; According to the similarity weight, the name similarity and the structure similarity are weighted and summed to obtain a comprehensive matching degree.
3. The control method of distribution network equipment based on distribution network CIM model mapping according to claim 2, characterized in that: The name similarity and the structure similarity are matrixed to obtain a standard value matrix, which is specifically: Establishing a similarity matrix according to the name similarity and the structure similarity; According to the similarity matrix, the average similarity is calculated, and the formula is: in, is the average similarity value, n is the number of sub-nodes to be compared in the nodes of the two different versions of the distribution network CIM model, j is 1 or 2, x i1 is the name similarity of the i-th node, x i2 is the structural similarity of the i-th node; The similarity variance is calculated based on the similarity matrix and the average value, and the formula is: Among them, s j is the similarity variance, j is 1 or 2, s1 is the variance of node name similarity, and s2 is the variance of node structure similarity; The similarity average value and the similarity variance are standardized to obtain a standard value matrix, and the formula is: Where Z is the standard value matrix, z ij ∈Z, z ij is the standard value.
4. The control method of distribution network equipment based on distribution network CIM model mapping according to claim 2, characterized in that: The principal component analysis of the standard value matrix is performed to calculate the similarity weight, specifically: According to the standard value matrix, the correlation coefficient matrix is calculated, and the formula is: Wherein, R is the correlation coefficient matrix, r ij is the element of the correlation coefficient matrix, r ij ∈R; According to the correlation coefficient matrix, calculating the eigenvalues of the correlation coefficient matrix; And according to the eigenvalue of the correlation coefficient matrix, the similarity weight is calculated, and the formula is: Among them, δ is the similarity weight, and λ is the eigenvalue of the correlation coefficient matrix.
5. The control method of distribution network equipment based on distribution network CIM model mapping according to claim 2, characterized in that: According to the similarity weight, the name similarity and the structure similarity are weighted and summed to obtain a comprehensive matching degree, the formula is: S(L1, L2) = δS stru (L1,L2)+(1-δ)S lable (L1,L2) Among them, S(L1, L2) is the comprehensive matching degree, δ is the similarity weight, S lable (L1, L2) is the name similarity, S stru (L1, L2) is the structural similarity.
6. The control method of distribution network equipment based on distribution network CIM model mapping according to claim 1, characterized in that: The node names of the different versions of the distribution network CIM model are subjected to similarity measurement calculation to obtain the name similarity, specifically: Counting the minimum number of operations required to convert a node name of a distribution network CIM model of one version into a node name of a distribution network CIM model of another version; wherein the minimum number of operations includes insertion, deletion and replacement of a single character; According to the minimum number of operations, the name similarity is calculated using the formula: Among them, S lable (L1, L2) is the name similarity, E dis (L1, L2) is the minimum number of operations.
7. The control method of distribution network equipment based on distribution network CIM model mapping according to claim 1, characterized in that: According to the name similarity, the different versions of the distribution network CIM model are compared and analyzed according to the tree structure to calculate the structural similarity, specifically: According to the name similarity, a tree structure comparison analysis is performed on the two nodes, the CIM model version information is used as the root node, the classes included in the CIM model are used as child nodes, and the attributes included in each class are used as leaf nodes. The similarity of the CIM model nodes of different versions is calculated to obtain the structural similarity. The formula is: Among them, S lable (L1, L2) is the structural similarity, L1 and L2 are the sub-nodes to be compared in the nodes of the two different versions of the CIM model, stru(L) is the number of leaf nodes in each sub-node, and |stru(L1)∪stru(L2)| is the total number of sub-nodes to be compared in the nodes of the two different versions of the CIM model.
8. The control method of distribution network equipment based on distribution network CIM model mapping according to claim 1, characterized in that: The node tree whose comprehensive matching degree is higher than the current preset matching threshold is mapped and statistically analyzed to obtain the current threshold compliance degree, specifically: Mapping the node tree whose comprehensive matching degree is higher than the current preset matching threshold to obtain the current mapping result; Perform statistical node calculation on the current mapping result to obtain mapping accuracy and mapping omission rate; According to the mapping accuracy and mapping omission rate, the current threshold compliance is calculated, and the formula is: Among them, P r is the current threshold compliance, P1 is the mapping accuracy, and P2 is the mapping omission rate.
9. The control method of distribution network equipment based on distribution network CIM model mapping according to claim 8, characterized in that: The current mapping result is subjected to statistical node calculation to obtain a mapping accuracy rate and a mapping omission rate, specifically: According to a preset extraction ratio, the current mapping results are statistically extracted to obtain node data; wherein the node data includes the total number of nodes, the number of omitted mapping nodes, the number of correctly mapped nodes, and the number of incorrectly mapped nodes; The mapping accuracy is calculated according to the number of correctly mapped nodes and the number of incorrectly mapped nodes, and the formula is: Wherein, P1 is the mapping accuracy, N2 is the number of correctly mapped nodes, and N3 is the number of incorrectly mapped nodes; The mapping omission rate is calculated according to the number of correctly mapped nodes and the number of missed mapped nodes, and the formula is: Wherein, P2 is the mapping omission rate, and N1 is the number of the omission mapping nodes.
10. A control system for distribution network equipment based on distribution network CIM model mapping, characterized in that: include: Version acquisition module, similarity calculation module, matching analysis module, initial mapping module, optimal mapping module and access control module; The version acquisition module is used to acquire the distribution network CIM model of the distribution Internet of Things terminal and the distribution network access device, and obtain different versions of the distribution network CIM model; The similarity calculation module is used to perform similarity measurement calculation on the node names of the different versions of the distribution network CIM model to obtain name similarity, and based on the name similarity, compare and analyze the different versions of the distribution network CIM model according to the tree structure to calculate the structural similarity; The matching degree analysis module is used to perform principal component weight analysis on the name similarity and the structure similarity to obtain a comprehensive matching degree; The initial mapping module is used to perform mapping statistical analysis on the node tree whose comprehensive matching degree is higher than the current preset matching threshold to obtain the current threshold compliance degree; The optimal mapping module is used to continuously adjust the current preset matching threshold according to the preset step size and the preset adjustment condition until the maximum value of the threshold compliance is obtained, find the mapping result corresponding to the maximum value of the threshold compliance, and obtain the optimal mapping results of the different versions of the distribution network CIM model; wherein, each time the current preset matching threshold is adjusted, the node tree with a comprehensive matching degree higher than the current preset matching threshold is subjected to mapping statistical analysis to obtain the current threshold compliance; The access control module is used to perform access control on the distribution network access device according to the optimal mapping result.
Citation Information
Patent Citations
Heterogeneous information model mapping-based distribution network information interaction method and system
CN107315768A
Mapping method and device
CN111506640A
Method for establishing power grid big data warehouse based on CIM model
CN115203344A
Power distribution network equipment control method and system based on power distribution network CIM model mapping
CN116436000A
Image analysis device, image feature information database creation method, and device and method for determining resemblance in design
JP2016103215A
