Power distribution network off-line CIM model interaction verification method
By setting up a verification model in a sandbox environment, the distribution network model is comprehensively verified, which solves the problem that the verification rules in the existing technology cannot fully cover more data, and significantly improves the accuracy and operating efficiency of the distribution network model.
Patent Information
- Application Number
- CN202510158642.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-02-13
- Publication Date
- 2025-06-06
AI Technical Summary
In the integration of the interactive use of distribution network model data and system information in the prior art, the verification rules cannot fully cover more data, which affects the accuracy of the distribution network model.
It provides an interactive verification method for offline CIM model of the distribution network. By setting a verification model in a sandbox environment, it conducts comprehensive verification of relevant data, including data quality inspection in multiple aspects such as island verification, direct equipment connection verification, and equipment attribute missing verification.
Through a comprehensive verification process, we can effectively identify and correct errors and non-compliant data in the model, significantly improve the accuracy of the distribution network model, reduce operating risks, optimize operating efficiency, and save costs.
Smart Images

Figure CN120104460A_ABST
Abstract
Description
Technical Field
[0001] The invention relates to the technical field of power system automation, in particular to an offline CIM model interactive verification method for a distribution network. Background Art
[0002] With the development of smart grid, information exchange based on CIM standard becomes more and more important. However, in practical applications, data inconsistency or errors caused by various reasons may seriously affect the normal operation of the system. Therefore, it is particularly necessary to develop an efficient and comprehensive offline CIM model verification scheme.
[0003] The invention patent with publication number CN117112386A discloses a distribution network information model verification method and system based on a custom rule file. It is based on the model construction of the IEC CIM standard and can dynamically expand the model in the rule file according to specific business needs. Through this combined setting, different verification rules can be constructed to solve the interactive use of distribution network model data and the integration of system information. However, the verification rules set by it cannot be used for more data, so the accuracy of the corresponding distribution network model needs to be improved. Summary of the invention
[0004] Purpose of the invention: The present invention provides a method for verifying the integrity and accuracy of an offline CIM (Common Information Model) model of a distribution network. Through a series of innovative verification mechanisms, the data quality in multiple aspects, from topology to device attributes, is ensured.
[0005] Technical solution: The present invention provides a distribution network offline CIM model interactive verification method, the method comprising:
[0006] First, read the circuit topology information;
[0007] Then, a verification model is set up in the sandbox environment to verify relevant data, including island verification, device direct connection verification, device attribute missing verification, device name verification, empty container verification, verification of belonging to other feeder devices, verification of repeated naming of the same type of equipment, terminal parallel verification, electrical parameter verification, load verification, protection device verification, switch status verification, transformer tap verification, line length and type verification, network connectivity verification, grounding system verification, power access point verification, ring network structure verification, device capacity and load matching verification, control logic verification, redundant device verification, data consistency verification, version compatibility verification and user authority verification;
[0008] Finally, the verification methods for relevant data verification are set in the verification model, which are:
[0009] (a) Island check: Check whether there are isolated parts in the distribution network, that is, equipment that is not connected to any power source or load;
[0010] Verification method: Use the depth-first search DFS or breadth-first search BFS algorithm in graph theory to traverse the entire network;
[0011] Formula: Let G = (V, E) be the graph representation of the distribution network, where V is the node set and E is the edge set. If there is a subset If any node in V′ is not connected to any node in VV′, then V′ is an island;
[0012] step:
[0013] 1) Start DFS or BFS from any node;
[0014] 2) Record all visited nodes;
[0015] 3) If there are still unvisited nodes, these nodes form an island;
[0016] (b) Equipment direct connection verification: Ensure that the connection between devices complies with the design specifications of the distribution network and there are no erroneous direct connections;
[0017] Method: Check the connection relationship of each device to ensure that there is no direct connection between two devices that should not be directly connected;
[0018] Formula: Let D be the device set and C be the connection relationship set. For each pair of devices (d i ,d j )∈D×D, check
[0019] step:
[0020] 1) Traverse all device pairs;
[0021] 2) Check whether each pair of devices is directly connected;
[0022] 3) If any illegal connection is found, record and report it;
[0023] (c) Device attribute missing check: Check whether the devices in the model have all the necessary attributes;
[0024] Method: Check if each device has complete property definition;
[0025] Attribute completeness: Construct an attribute completeness function f(d,A) to evaluate the matching degree between the attribute set A of device d and the complete attribute set A.
[0026] Attribute missing detection: Set the attribute missing threshold ε. If f(dA)<ε, it is considered that device d has attribute missing.
[0027] Missing attribute identification: Construct a missing attribute identification function g(d,A) to identify the missing attribute set A in device d miss .
[0028] Formula: Attribute completeness function:
[0029]
[0030] Among them, |A d ∩A| represents the attribute set A of device d d The number of elements in the intersection with the complete attribute set A, |A| represents the number of elements in the complete attribute set A.
[0031] Missing attribute identification function: A miss =AA d
[0032] step:
[0033] 1) Traverse the device set D: Perform the following steps for each device d∈D.
[0034] 2) Calculate attribute completeness: Calculate f(d,A) and compare it with the threshold value ε.
[0035] 3) Determine attribute missing: If f(d,A)<ε, it is considered that device d has attribute missing.
[0036] 4) Identify missing attributes: Use g(d,A) to identify the missing attribute set A miss .
[0037] 5) Record and report: Record the missing attribute information of device d and generate a verification report.
[0038] (d) Device name verification: verify the uniqueness and correctness of the device name;
[0039] Method: Ensure that all device names comply with the preset rules;
[0040] Formula: Let N be the set of device names and R be the set of naming rules; for each device name n∈N, check whether n satisfies R;
[0041] step:
[0042] 1) Traverse all device names;
[0043] 2) Check whether each name complies with the rules;
[0044] 3) If there is any non-compliance, record and report;
[0045] (d) Device name verification: verify the uniqueness and correctness of the device name;
[0046] Method: Ensure that all device names comply with the preset rules;
[0047] Formula: Let N be the set of device names and R be the set of naming rules; for each device name n∈N, check whether n satisfies R;
[0048] step:
[0049] 1) Traverse all device names;
[0050] 2) Check whether each name complies with the rules;
[0051] 3) If there is any non-compliance, record and report;
[0052] (e) Empty container check: Checks whether there are container elements that are not correctly filled;
[0053] Method: Find and report any container objects that do not contain child elements;
[0054] Formula: Let C be a container set and S be a sub-element set; for each container c∈C, check
[0055] step:
[0056] 1) Traverse all containers;
[0057] 2) Check whether each container has child elements;
[0058] 3) If there are no child elements, record and report;
[0059] (f) Verification of equipment belonging to other feeders: Ensure that the equipment belongs to the correct feeder;
[0060] Method: Verify that each piece of equipment is correctly attributed to the feeder to which it belongs;
[0061] Formula: Let F be the feeder set, D be the device set, and B be the ownership relationship set; for each device d∈D, check (d,f)∈B and f∈F;
[0062] step:
[0063] 1) Traverse all devices;
[0064] 2) Check whether each device belongs to the correct feeder;
[0065] 3) If the attribution is wrong, record and report it;
[0066] (g) Same-type equipment duplicate naming check: Check whether there are duplicate names of the same-type equipment;
[0067] Method: Avoid different entities with the same name under the same type;
[0068] Formula: Let T be the set of device types and N be the set of device names; for each type t∈T, check |N(t)|=|{n∈N|t(n)=t}|;
[0069] step:
[0070] 1) Traverse all device types;
[0071] 2) Check whether the device name of each type is unique;
[0072] 3) If there are duplications, record and report them;
[0073] (h) Terminal parallel connection verification: verify the correctness of the terminal parallel connection;
[0074] Methods: Identify possible unexpected parallel phenomena;
[0075] Formula: Let T be the terminal set and P be the parallel relationship set; for each terminal t∈T, check (t,t′)∈P and t≠t′;
[0076] step:
[0077] 1) Traverse all terminals;
[0078] 2) Check whether there is any unexpected parallel connection at each terminal;
[0079] 3) If yes, record and report;
[0080] (i) Electrical parameter verification: Check whether the electrical parameters of the equipment are accurate;
[0081] Method: Compare the difference between theoretical value and actual set value;
[0082] Formula: Let E be the set of electrical characteristics, V be the set of theoretical values, and A be the set of actual values; for each electrical characteristic e∈E, check |V(e)-A(e)|<∈;
[0083] step:
[0084] 1) Go through all electrical characteristics.
[0085] 2) Compare the theoretical and actual values of each characteristic;
[0086] 3) If the difference exceeds the threshold, record and report;
[0087] (j) Load verification: verify the rationality of load distribution;
[0088] Method: Evaluate whether the load distribution at each node is reasonable;
[0089] Formula: Let L be the load set and N be the node set; for each node n∈N, check ∑ l∈L(n) l≤C(n), where C(n) is the node capacity;
[0090] step:
[0091] 1) Traverse all nodes;
[0092] 2) Check whether the sum of the loads of each node does not exceed its capacity;
[0093] 3) If exceeded, record and report;
[0094] (k) Protection device verification: check the configuration and parameters of the protection device;
[0095] Method: Ensure that all protective devices are properly configured;
[0096] Formula: Let P be the set of protection devices and S be the set of settings; for each protection device p∈P, check s(p)∈S;
[0097] step:
[0098] 1) Traverse all protection devices;
[0099] 2) Check whether the setting of each protection device is correct;
[0100] 3) If it is incorrect, record and report;
[0101] (l) Switch status verification: confirm that the switch status is consistent with the actual operating status;
[0102] Method: Verify the status settings of all circuit breakers and disconnect switches;
[0103] Formula: Let S be the set of switches and T be the set of states; for each switch s∈S, check t(s)∈T;
[0104] step:
[0105] 1) Traverse all switches;
[0106] 2) Check whether the status of each switch is correct;
[0107] 3) If it is incorrect, record and report;
[0108] (m) Transformer tap verification: verify the position of transformer taps;
[0109] Method: Check whether the transformer tap is properly positioned;
[0110] Formula: Let T be the set of transformers and P be the set of tap positions; for each transformer t∈T, check p(t)∈P;
[0111] step:
[0112] 1) Traverse all transformers;
[0113] 2) Check whether the tap position of each transformer is correct;
[0114] 3) If it is incorrect, record and report;
[0115] (n) Line length and type check: Check whether the length and type of the line are correct;
[0116] Methods: Includes verification of physical properties such as length and material;
[0117] Formula: Let L be the set of lines and A be the set of attributes; for each line l∈L, check a(l)∈A;
[0118] step:
[0119] 1) Traverse all lines;
[0120] 2) Check whether the physical properties of each line are correct;
[0121] 3) If it is incorrect, record and report;
[0122] (o) Network connectivity verification: ensuring the connectivity of the distribution network;
[0123] Methods: Use graph theory algorithms to check the connectivity of the entire network;
[0124] Formula: Let G = (V, E) be the graph representation of the distribution network, and use the connectivity algorithm to check whether G is connected;
[0125] step:
[0126] 1) Check the entire network using a connectivity algorithm;
[0127] 2) If the network is not connected, record and report;
[0128] (p) Grounding system verification: Verify the configuration of the grounding system;
[0129] Method: Ensure that the grounding design meets safety requirements;
[0130] Formula: Let G be the set of grounding systems and S be the set of safety standards; for each grounding system g∈G, check s(g)∈S;
[0131] step:
[0132] 1) Traverse all grounding systems;
[0133] 2) Check whether the design of each grounding system meets safety standards;
[0134] 3) If there is any non-compliance, record and report;
[0135] (q) Power access point verification: Check the location and parameters of the power access point;
[0136] Method: Confirm that all external power access points are legal and valid;
[0137] Formula: Let P be the set of power access points, L be the legality set; for each power access point p∈P, check l(p)∈L;
[0138] step:
[0139] 1) Traverse all power access points;
[0140] 2) Check the legitimacy of each power access point;
[0141] 3) If it is illegal, record and report it;
[0142] (r) Ring network structure verification: verify the accuracy of the ring network connection;
[0143] Methods: Special review of networks using closed-loop operation mode;
[0144] Formula: Let G = (V, E) be the graph representation of the distribution network, and use the ring detection algorithm to check whether G has a ring;
[0145] step:
[0146] 1) Use the ring detection algorithm to check the entire network;
[0147] 2) If a loop exists, record and report it;
[0148] (s) Equipment capacity and load matching verification: Ensure that the equipment capacity matches the load;
[0149] Method: Ensure that the equipment capacity is sufficient to support the load being carried;
[0150] Formula: Let C be the equipment capacity set, L be the load set; for each equipment d∈D, check ∑ l∈L(d) l≤C(d).
[0151] step:
[0152] 1) Traverse all devices;
[0153] 2) Check whether the total load of each device does not exceed its capacity;
[0154] 3) If exceeded, record and report;
[0155] (t) Control logic verification: check the correctness of the control logic;
[0156] Method: Analyze whether the behavior of the automatic control system meets expectations;
[0157] Formula: Let C be the set of control strategies and L be the logical set; for each control strategy c∈C, check l(c)∈L;
[0158] step:
[0159] 1) Traverse all control strategies;
[0160] 2) Check whether the logic of each control strategy is correct;
[0161] 3) If it is incorrect, record and report;
[0162] (u) Redundant equipment verification: Identify and remove unnecessary redundant equipment;
[0163] Methods: Evaluate whether the backup facility arrangement is reasonable;
[0164] Formula: Let R be the redundant resource set and P be the planning set; for each redundant resource r∈R, check p(r)∈P;
[0165] step:
[0166] 1) Traverse all redundant resources;
[0167] 2) Check whether the planning of each redundant resource is reasonable;
[0168] 3) If it is unreasonable, record and report it;
[0169] (v) Data consistency check: ensuring the consistency of model data;
[0170] Method: Ensure that there are no inconsistencies between data from different sources;
[0171] Formula: Let D be the data set, C be the consistency set; for each pair of data (d i ,d j )∈D×D, check c(d i ,d j )∈C;
[0172] step:
[0173] 1) Traverse all data pairs;
[0174] 2) Check the consistency of each pair of data;
[0175] 3) If there is any inconsistency, record and report it;
[0176] (w) Version compatibility check: check the version compatibility of the model;
[0177] Method: Ensure smooth transition between old and new versions;
[0178] Formula: Let V be the version set, C be the compatibility set; for each pair of versions (v i ,v j )∈V×V, check c(v i ,v j )∈C;
[0179] step:
[0180] 1) Traverse all version pairs;
[0181] 2) Check the compatibility of each pair of versions;
[0182] 3) If there is incompatibility, record and report it;
[0183] (x) User authority verification: verify the correctness of user authority settings;
[0184] Method: Restrict unauthorized personnel from accessing sensitive information;
[0185] Formula: Let U be the user set and P be the permission set; for each user u∈U, check p(u)∈P;
[0186] step:
[0187] 1) Traverse all users;
[0188] 2) Check the permission settings of each user;
[0189] 3) If permissions are not set correctly, record and report.
[0190] Further, including:
[0191] The verification model also includes real-time monitoring and automatic feedback correction of relevant data verification methods.
[0192] Further, including:
[0193] The verification method is applicable to distribution networks of different sizes and structures.
[0194] Further, including:
[0195] The verification step also includes: performing comparative analysis on historical data of the model to identify changing trends and potential problems of the model.
[0196] Further, including:
[0197] The sandbox environment is a simulated distribution network operating environment that can simulate the operating status of an actual distribution network.
[0198] Further, including:
[0199] The verification step also includes: generating a verification report, in which the verification results and any problems found are recorded in detail.
[0200] Beneficial effects: Compared with the prior art, the present invention has the following advantages:
[0201] The present invention improves the accuracy of the model: through a comprehensive verification process, errors and data that do not meet the specifications in the model are effectively identified and corrected, thereby significantly improving the accuracy of the distribution network model.
[0202] Reduce operational risks: Ensure the authenticity and reliability of the distribution network model, reduce operational decision errors caused by model errors, and reduce distribution network operation risks.
[0203] Optimize operational efficiency: Through verification methods, potential problems can be discovered in advance, failures can be avoided in actual operation, and the operational efficiency and stability of the distribution network can be improved.
[0204] Enhanced maintenance convenience: The generated verification report provides maintenance personnel with detailed correction suggestions, making it easier to quickly locate and solve problems and simplifying the maintenance process.
[0205] Cost saving: By reducing failures and downtime during operation, maintenance costs and energy consumption are saved, and economic benefits are improved.
[0206] Improve planning quality: Accurate models provide reliable basic data for distribution network planning and design, and help formulate more reasonable and efficient distribution network expansion and upgrade plans.
[0207] Enhance user confidence: The verified model can better meet user needs and improve user trust and satisfaction with distribution network services.
[0208] Promoting intelligent development: The method of the present invention provides technical support for the intelligent management of the distribution network, which helps to promote the development of intelligent distribution network.
[0209] Compatibility and scalability: This method has good compatibility and scalability, and can adapt to distribution networks of different sizes and structures, as well as the development of future distribution network technologies.
[0210] Higher verification efficiency: Through the sandbox environment and intelligent rule base, model verification can be performed automatically, which greatly improves verification efficiency and reduces labor costs.
[0211] Verification results are easier to understand: The latter generates a detailed verification report that records the verification results and any problems found in detail, making it easier for users to understand the verification results and make corrections.
[0212] Smarter verification method: Using the sandbox environment to verify the model can simulate the actual operation status of the distribution network and verify the accuracy of the model data more realistically. The integrated graphical interface allows users to intuitively view and modify the model and perform verification operations more conveniently. The intelligent rule base is used to automatically detect data anomalies and more quickly discover errors and non-compliant data in the model.
[0213] The verification content is more comprehensive: more verification rules have been added, such as device attribute missing verification, device name verification, electrical parameter verification, load verification, protection device verification, switch status verification, transformer tap verification, line length and type verification, network connectivity verification, grounding system verification, power access point verification, ring network structure verification, device capacity and load matching verification, control logic verification, redundant equipment verification, data consistency verification, version compatibility verification and user authority verification, etc., which more comprehensively ensure the accuracy and reliability of model data.
[0214] Finally, the device attribute missing check of the present application combines two check methods, namely, completeness check and missing check. The two check methods are more comprehensive, making the device attribute missing check more accurate. BRIEF DESCRIPTION OF THE DRAWINGS
[0215] Figure 1 It is a flow chart of the distribution network model verification method based on automatic testing provided by the present invention;
[0216] Figure 2 It is a flow chart of the interactive verification method of the offline CIM model of the distribution network provided by the present invention;
[0217] Figure 3 This is a flow chart of deserialization and parsing of a gRPC receiving a graphic template file that needs to be verified provided by the present invention;
[0218] Figure 4 It is a schematic diagram of various data verification methods provided by the present invention. DETAILED DESCRIPTION
[0219] 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.
[0220] like Figure 1As shown, the present invention provides a distribution network model verification method based on automatic testing. After receiving the model file, the method immediately starts the model analysis process and then enters the detailed model verification stage. On the premise that the model verification is correct, the model comparison analysis is further performed.
[0221] The entire process includes: model file acceptance → model analysis → model verification → model comparison → result feedback. If any error is found in the verification process, the process will be interrupted immediately, and the subsequent steps will not be continued. The verification results will be directly fed back to the user.
[0222] like Figure 2 Based on the above system, a distribution network offline CIM model interactive verification method is provided, including:
[0223] Step 1: Select the area for distribution network model verification;
[0224] Step 2: setting a test case according to the wiring diagram and operation mode of the verification area, wherein the test case includes setting a fault and setting a fault handling solution;
[0225] Step 3: Set fault information according to the test case;
[0226] Step 4: Call the feeder automation function module to generate an actual fault handling solution;
[0227] Step 5: Verify whether the set fault handling solution is consistent with the actual fault handling solution;
[0228] Step 6: Output the automatic test results.
[0229] Build a model verification rule base and formulate detailed configuration operation procedures, and then create power grid model verification objects based on CIM standards. On this basis, implement online model maintenance and conduct verification statistical analysis to ensure the accuracy and reliability of the distribution network CIM model.
[0230] like Figure 3 and 4 As shown, the image template file that needs to be verified is received through gRPC for deserialization and parsing;
[0231] Remove irregularly defined models, load configuration files according to the verification type, and build data structures;
[0232] Classify the model files according to the device type and extract the corresponding attribute containers, and store them in the data structure;
[0233] It can realize island verification, equipment direct connection verification, verification of missing equipment attributes, verification of equipment name, verification of empty containers, verification of other feeder equipment, verification of repeated naming of the same equipment, terminal parallel verification, electrical parameter verification, load verification, protection device verification, switch status verification, transformer tap verification, line length and type verification, network connectivity verification, grounding system verification, power access point verification, ring network structure verification, equipment capacity and load matching verification, control logic verification, redundant equipment verification, data consistency verification, version compatibility verification, user authority verification, etc.
[0234] Define error types and output them based on verification results and configuration files;
[0235] gRPC serializes the csv report and returns it to the front end;
[0236] Match and locate the device location based on the calibration report.
[0237] The above verification method solves the problems of inconsistency between distribution network diagram and model and inaccurate information in the new generation of intelligent distribution network dispatching support system, and significantly improves the practical level of distribution network automation.
[0238] Specific:
[0239] The verification methods for setting relevant data verification in the verification model are:
[0240] (a) Island check: Check whether there are isolated parts in the distribution network, that is, equipment that is not connected to any power source or load;
[0241] Verification method: Use the depth-first search DFS or breadth-first search BFS algorithm in graph theory to traverse the entire network;
[0242] Formula: Let G = (V, E) be the graph representation of the distribution network, where V is the node set and E is the edge set. If there is a subset If any node in V′ is not connected to any node in VV′, then V′ is an island;
[0243] step:
[0244] 1) Start DFS or BFS from any node;
[0245] 2) Record all visited nodes;
[0246] 3) If there are still unvisited nodes, these nodes form an island;
[0247] (b) Equipment direct connection verification: Ensure that the connection between devices complies with the design specifications of the distribution network and there are no erroneous direct connections;
[0248] Method: Check the connection relationship of each device to ensure that there is no direct connection between two devices that should not be directly connected;
[0249] Formula: Let D be the device set and C be the connection relationship set. For each pair of devices (d i ,d j )∈D×D, check
[0250]
[0251] step:
[0252] 1) Traverse all device pairs;
[0253] 2) Check whether each pair of devices is directly connected;
[0254] 3) If any illegal connection is found, record and report it;
[0255] (c) Device attribute missing check: Check whether the devices in the model have all the necessary attributes;
[0256] method:
[0257] Attribute completeness: Construct an attribute completeness function f(d,A) to evaluate the matching degree between the attribute set A of device d and the complete attribute set A.
[0258] Attribute missing detection: Set the attribute missing threshold ε. If f(dA)<ε, it is considered that device d has attribute missing.
[0259] Missing attribute identification: Construct a missing attribute identification function g(d,A) to identify the missing attribute set A in device d miss .
[0260] Formula: Attribute completeness function:
[0261]
[0262] Among them, |A d ∩A| represents the attribute set A of device d d The number of elements in the intersection with the complete attribute set A, |A| represents the number of elements in the complete attribute set A.
[0263] Missing attribute identification function: A miss =AA d ;
[0264] step:
[0265] 1) Traverse the device set D: perform the following steps for each device d∈D;
[0266] 2) Calculate attribute completeness: calculate f(d,A) and compare it with the threshold value ε;
[0267] 3) Determine attribute missing: If f(d,A)<ε, it is considered that device d has attribute missing;
[0268] 4) Identify missing attributes: Use g(d,A) to identify the missing attribute set A miss ;
[0269] 5) Record and report: record the missing attribute information of device d and generate a verification report;
[0270] (d) Device name verification: verify the uniqueness and correctness of the device name;
[0271] Method: Ensure that all device names comply with the preset rules;
[0272] Formula: Let N be the set of device names and R be the set of naming rules; for each device name n∈N, check whether n satisfies R;
[0273] step:
[0274] 1) Traverse all device names;
[0275] 2) Check whether each name complies with the rules;
[0276] 3) If there is any non-compliance, record and report;
[0277] (d) Device name verification: verify the uniqueness and correctness of the device name;
[0278] Method: Ensure that all device names comply with the preset rules;
[0279] Formula: Let N be the set of device names and R be the set of naming rules; for each device name n∈N, check whether n satisfies R;
[0280] step:
[0281] 1) Traverse all device names;
[0282] 2) Check whether each name complies with the rules;
[0283] 3) If there is any non-compliance, record and report;
[0284] (e) Empty container check: Checks whether there are container elements that are not correctly filled;
[0285] Method: Find and report any container objects that do not contain child elements;
[0286] Formula: Let C be a container set and S be a sub-element set; for each container c∈C, check
[0287] step:
[0288] 1) Traverse all containers;
[0289] 2) Check whether each container has child elements;
[0290] 3) If there are no child elements, record and report;
[0291] (f) Verification of equipment belonging to other feeders: Ensure that the equipment belongs to the correct feeder;
[0292] Method: Verify that each piece of equipment is correctly attributed to the feeder to which it belongs;
[0293] Formula: Let F be the feeder set, D be the device set, and B be the ownership relationship set; for each device d∈D, check (d,f)∈B and f∈F;
[0294] step:
[0295] 1) Traverse all devices;
[0296] 2) Check whether each device belongs to the correct feeder;
[0297] 3) If the attribution is wrong, record and report it;
[0298] (g) Same-type equipment duplicate naming check: Check whether there are duplicate names of the same-type equipment;
[0299] Method: Avoid different entities with the same name under the same type;
[0300] Formula: Let T be the set of device types and N be the set of device names; for each type t∈T, check |N(t)|=|{n∈N|t(n)=t}|;
[0301] step:
[0302] 1) Traverse all device types;
[0303] 2) Check whether the device name of each type is unique;
[0304] 3) If there are duplications, record and report them;
[0305] (h) Terminal parallel connection verification: verify the correctness of the terminal parallel connection;
[0306] Methods: Identify possible unexpected parallel phenomena;
[0307] Formula: Let T be the terminal set and P be the parallel relationship set; for each terminal t∈T, check (t,t′)∈P and t≠t′;
[0308] step:
[0309] 1) Traverse all terminals;
[0310] 2) Check whether there is any unexpected parallel connection at each terminal;
[0311] 3) If yes, record and report;
[0312] (i) Electrical parameter verification: Check whether the electrical parameters of the equipment are accurate;
[0313] Method: Compare the difference between theoretical value and actual set value;
[0314] Formula: Let E be the set of electrical characteristics, V be the set of theoretical values, and A be the set of actual values; for each electrical characteristic e∈E, check |V(e)-A(e)|<∈;
[0315] step:
[0316] 1) Go through all electrical characteristics.
[0317] 2) Compare the theoretical and actual values of each characteristic;
[0318] 3) If the difference exceeds the threshold, record and report;
[0319] (j) Load verification: verify the rationality of load distribution;
[0320] Method: Evaluate whether the load distribution at each node is reasonable;
[0321] Formula: Let L be the load set and N be the node set; for each node n∈N, check ∑ l∈L(n) l≤C(n), where C(n) is the node capacity;
[0322] step:
[0323] 1) Traverse all nodes;
[0324] 2) Check whether the sum of the loads of each node does not exceed its capacity;
[0325] 3) If exceeded, record and report;
[0326] (k) Protection device verification: check the configuration and parameters of the protection device;
[0327] Method: Ensure that all protective devices are properly configured;
[0328] Formula: Let P be the set of protection devices and S be the set of settings; for each protection device p∈P, check s(p)∈S;
[0329] step:
[0330] 1) Traverse all protection devices;
[0331] 2) Check whether the setting of each protection device is correct;
[0332] 3) If it is incorrect, record and report;
[0333] (l) Switch status verification: confirm that the switch status is consistent with the actual operating status;
[0334] Method: Verify the status settings of all circuit breakers and disconnect switches;
[0335] Formula: Let S be the set of switches and T be the set of states; for each switch s∈S, check t(s)∈T;
[0336] step:
[0337] 1) Traverse all switches;
[0338] 2) Check whether the status of each switch is correct;
[0339] 3) If it is incorrect, record and report;
[0340] (m) Transformer tap verification: verify the position of transformer taps;
[0341] Method: Check whether the transformer tap is properly positioned;
[0342] Formula: Let T be the set of transformers and P be the set of tap positions; for each transformer t∈T, check p(t)∈P;
[0343] step:
[0344] 1) Traverse all transformers;
[0345] 2) Check whether the tap position of each transformer is correct;
[0346] 3) If it is incorrect, record and report;
[0347] (n) Line length and type check: Check whether the length and type of the line are correct;
[0348] Methods: Includes verification of physical properties such as length and material;
[0349] Formula: Let L be the set of lines and A be the set of attributes; for each line l∈L, check a(l)∈A;
[0350] step:
[0351] 1) Traverse all lines;
[0352] 2) Check whether the physical properties of each line are correct;
[0353] 3) If it is incorrect, record and report;
[0354] (o) Network connectivity verification: ensuring the connectivity of the distribution network;
[0355] Methods: Use graph theory algorithms to check the connectivity of the entire network;
[0356] Formula: Let G = (V, E) be the graph representation of the distribution network, and use the connectivity algorithm to check whether G is connected;
[0357] step:
[0358] 1) Check the entire network using a connectivity algorithm;
[0359] 2) If the network is not connected, record and report;
[0360] (p) Grounding system verification: Verify the configuration of the grounding system;
[0361] Method: Ensure that the grounding design meets safety requirements;
[0362] Formula: Let G be the set of grounding systems and S be the set of safety standards; for each grounding system g∈G, check s(g)∈S;
[0363] step:
[0364] 1) Traverse all grounding systems;
[0365] 2) Check whether the design of each grounding system meets safety standards;
[0366] 3) If there is any non-compliance, record and report;
[0367] (q) Power access point verification: Check the location and parameters of the power access point;
[0368] Method: Confirm that all external power access points are legal and valid;
[0369] Formula: Let P be the set of power access points, L be the legality set; for each power access point p∈P, check l(p)∈L;
[0370] step:
[0371] 1) Traverse all power access points;
[0372] 2) Check the legitimacy of each power access point;
[0373] 3) If it is illegal, record and report it;
[0374] (r) Ring network structure verification: verify the accuracy of the ring network connection;
[0375] Methods: Special review of networks using closed-loop operation mode;
[0376] Formula: Let G = (V, E) be the graph representation of the distribution network, and use the ring detection algorithm to check whether G has a ring;
[0377] step:
[0378] 1) Use the ring detection algorithm to check the entire network;
[0379] 2) If a loop exists, record and report it;
[0380] (s) Equipment capacity and load matching verification: Ensure that the equipment capacity matches the load;
[0381] Method: Ensure that the equipment capacity is sufficient to support the load being carried;
[0382] Formula: Let C be the equipment capacity set, L be the load set; for each equipment d∈D, check ∑ l∈L(d) l≤C(d).
[0383] step:
[0384] 1) Traverse all devices;
[0385] 2) Check whether the total load of each device does not exceed its capacity;
[0386] 3) If exceeded, record and report;
[0387] (t) Control logic verification: check the correctness of the control logic;
[0388] Method: Analyze whether the behavior of the automatic control system meets expectations;
[0389] Formula: Let C be the set of control strategies and L be the logical set; for each control strategy c∈C, check l(c)∈L;
[0390] step:
[0391] 1) Traverse all control strategies;
[0392] 2) Check whether the logic of each control strategy is correct;
[0393] 3) If it is incorrect, record and report;
[0394] (u) Redundant equipment verification: Identify and remove unnecessary redundant equipment;
[0395] Methods: Evaluate whether the backup facility arrangement is reasonable;
[0396] Formula: Let R be the redundant resource set and P be the planning set; for each redundant resource r∈R, check p(r)∈P;
[0397] step:
[0398] 1) Traverse all redundant resources;
[0399] 2) Check whether the planning of each redundant resource is reasonable;
[0400] 3) If it is unreasonable, record and report it;
[0401] (v) Data consistency check: ensuring the consistency of model data;
[0402] Method: Ensure that there are no inconsistencies between data from different sources;
[0403] Formula: Let D be the data set, C be the consistency set; for each pair of data (d i ,d j )∈D×D, check c(d i ,d j )∈C;
[0404] step:
[0405] 1) Traverse all data pairs;
[0406] 2) Check the consistency of each pair of data;
[0407] 3) If there is any inconsistency, record and report it;
[0408] (w) Version compatibility check: check the version compatibility of the model;
[0409] Method: Ensure smooth transition between old and new versions;
[0410] Formula: Let V be the version set, C be the compatibility set; for each pair of versions (v i ,v j )∈V×V, check c(v i ,v j )∈C;
[0411] step:
[0412] 1) Traverse all version pairs;
[0413] 2) Check the compatibility of each pair of versions;
[0414] 3) If there is incompatibility, record and report it;
[0415] (x) User authority verification: verify the correctness of user authority settings;
[0416] Method: Restrict unauthorized personnel from accessing sensitive information;
[0417] Formula: Let U be the user set and P be the permission set; for each user u∈U, check p(u)∈P;
[0418] step:
[0419] 1) Traverse all users;
[0420] 2) Check the permission settings of each user;
[0421] 3) If permissions are not set correctly, record and report.
[0422] Furthermore, this embodiment also includes:
[0423] The verification model also includes real-time monitoring and automatic feedback correction of relevant data verification methods.
[0424] Furthermore, this embodiment also includes:
[0425] The verification method is applicable to distribution networks of different sizes and structures.
[0426] Furthermore, this embodiment also includes:
[0427] The verification step also includes: performing comparative analysis on historical data of the model to identify changing trends and potential problems of the model.
[0428] Furthermore, this embodiment also includes:
[0429] The sandbox environment is a simulated distribution network operating environment that can simulate the operating status of an actual distribution network.
[0430] Furthermore, this embodiment also includes:
[0431] The verification step also includes: generating a verification report, in which the verification results and any problems found are recorded in detail.
[0432] Those skilled in the art will appreciate that embodiments of the present invention may be provided as methods, systems, or computer program products. Therefore, the present invention may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0433] Although the preferred embodiments of the present invention have been described, those skilled in the art may make other changes and modifications to these embodiments once they have learned the basic creative concept. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and all changes and modifications that fall within the scope of the present invention.
[0434] Obviously, those skilled in the art can make various changes and modifications to the embodiments of the present invention without departing from the spirit and scope of the embodiments of the present invention. Thus, if these modifications and variations of the embodiments of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include these modifications and variations.
Claims
1. A distribution network offline CIM model interactive verification method, characterized in that: The method includes: First, read the circuit topology information in the distribution network; Then, a verification model is set up in the sandbox environment to verify relevant data, including island verification, device direct connection verification, device attribute missing verification, device name verification, empty container verification, verification of belonging to other feeder devices, verification of repeated naming of the same type of equipment, terminal parallel verification, electrical parameter verification, load verification, protection device verification, switch status verification, transformer tap verification, line length and type verification, network connectivity verification, grounding system verification, power access point verification, ring network structure verification, device capacity and load matching verification, control logic verification, redundant device verification, data consistency verification, version compatibility verification and user authority verification; The device attribute missing check includes attribute completeness check and attribute missing detection. The attribute completeness check includes: constructing an attribute completeness function, which is used to evaluate the matching degree between the attribute set of the device and the complete attribute set; the attribute missing detection includes: constructing a missing attribute identification function, which is used to identify the missing attribute set in the device; Finally, a verification method for relevant data verification is set in the verification model.
2. The offline CIM model interactive verification method for distribution network according to claim 1 is characterized in that: The attribute completeness function is expressed as: Among them, among them, |A d ∩A| represents the attribute set A of device d d The number of elements in the intersection with the complete attribute set A, |A| represents the number of elements in the complete attribute set A; The device attribute missing verification method comprises the following steps: Traverse the device set D: perform the following steps for each device d∈D; Calculate attribute completeness: calculate f(d,A) and compare it with the threshold value ε; Determine attribute missing: if f(d,A)<ε, it is considered that device d has attribute missing; Identify missing attributes: use function g(d,A) to identify the missing attribute set A miss ; Record and report: record the missing attribute information of device d and generate a verification report.
3. The offline CIM model interactive verification method for distribution network according to claim 1 is characterized in that: The island verification method comprises: Island verification: Checks whether there are isolated parts in the distribution network, that is, equipment that is not connected to any power source or load; Verification method: Use the depth-first search DFS or breadth-first search BFS algorithm in graph theory to traverse the entire network; Formula: Let G = (V, E) be the graph representation of the distribution network, where V is the node set and E is the edge set. If there is a subset If any node in V′ is not connected to any node in VV′, then V′ is an island; step: 1) Start DFS or BFS from any node; 2) Record all visited nodes; 3) If there are still unvisited nodes, these nodes form an island; The device direct connection verification method comprises: The device direct connection verification is to ensure that the connection between devices complies with the design specifications of the distribution network and there is no erroneous direct connection; Method: Check the connection relationship of each device to ensure that there is no direct connection between two devices that should not be directly connected; Formula: Let D be the device set, C be the connection relationship set, for each pair of devices (d i ,d j )∈D×D, check step: 1) Traverse all device pairs; 2) Check whether each pair of devices is directly connected; 3) If any illegal connection is found, record and report it.
4. The offline CIM model interactive verification method for distribution network according to claim 1 is characterized in that: The device attribute missing verification method comprises: The device attribute missing check is to check whether the device in the model has all necessary attributes; Method: Check if each device has complete property definition; Formula: Let A be the device attribute set, D be the device set; for each device d∈D, check a∈d; step: 1) Traverse all devices; 2) Check that each device contains all required attributes; 3) If attributes are missing, record and report; The device name verification method includes: Device name verification is to verify the uniqueness and correctness of the device name; Method: Ensure that all device names comply with the preset rules; Formula: Let N be the set of device names and R be the set of naming rules; for each device name n∈N, check whether n satisfies R; step: 1) Traverse all device names; 2) Check whether each name complies with the rules; 3) If non-compliance occurs, record and report.
5. The offline CIM model interactive verification method for distribution network according to claim 1 is characterized in that: The empty container verification method comprises: Empty container validation is to check whether there are container elements that are not properly filled; Method: Find and report any container objects that do not contain child elements; Formula: Let C be a container set and S be a sub-element set; for each container c∈C, check step: 1) Traverse all containers; 2) Check whether each container has child elements; 3) If there are no child elements, record and report; The verification method for other feeder equipment includes: Equipment belonging to other feeders is checked to ensure that the equipment belongs to the correct feeder; Method: Verify that each piece of equipment is correctly attributed to the feeder to which it belongs; Formula: Let F be the feeder set, D be the device set, and B be the ownership relationship set; for each device d∈D, check (d,f)∈B and f∈F; step: 1) Traverse all devices; 2) Check whether each device belongs to the correct feeder; 3) If the attribution is wrong, record and report it; The same type of equipment duplicate naming check: check whether there is a duplicate naming of the same type of equipment; Method: Avoid different entities with the same name under the same type; Formula: Let T be the set of device types and N be the set of device names; for each type t∈T, check |N(t)|=|{n∈N|t(n)=t}|; step: 1) Traverse all device types; 2) Check whether the device name of each type is unique; 3) If there are duplications, record and report them; The terminal parallel connection verification: verifying the correctness of the terminal parallel connection; Methods: Identify possible unexpected parallel phenomena; Formula: Let T be the terminal set and P be the parallel relationship set; for each terminal t∈T, check (t,t′)∈P and t≠t′; step: 1) Traverse all terminals; 2) Check whether there is any unexpected parallel connection at each terminal; 3) If yes, record and report; The electrical parameter verification: check whether the electrical parameters of the equipment are accurate; Method: Compare the difference between theoretical value and actual set value; Formula: Let E be the set of electrical characteristics, V be the set of theoretical values, and A be the set of actual values; for each electrical characteristic e∈E, check |V(e)-A(e)|<∈; step: 1) Traverse all electrical characteristics; 2) Compare the theoretical and actual values of each characteristic; 3) If the difference exceeds the threshold, record and report it.
6. The offline CIM model interactive verification method for distribution network according to claim 1 is characterized in that: The load verification method comprises: Load verification: verify the rationality of load distribution; Method: Evaluate whether the load distribution at each node is reasonable; Formula: Let L be the load set and N be the node set; for each node n∈N, check ∑ l∈L(n) l≤C(n), where C(n) is the node capacity; step: 1) Traverse all nodes; 2) Check whether the sum of the loads of each node does not exceed its capacity; 3) If exceeded, record and report; The protection device verification: checking the configuration and parameters of the protection device; Method: Ensure that all protective devices are properly configured; Formula: Let P be the set of protection devices and S be the set of settings; for each protection device p∈P, check s(p)∈S; step: 1) Traverse all protection devices; 2) Check whether the setting of each protection device is correct; 3) If it is incorrect, record and report; The switch status check: confirming that the switch status is consistent with the actual operating status; Method: Verify the status settings of all circuit breakers and disconnect switches; Formula: Let S be the set of switches and T be the set of states; for each switch s∈S, check t(s)∈T; step: 1) Traverse all switches; 2) Check whether the status of each switch is correct; 3) If it is incorrect, record and report; The transformer tap verification: verifying the position of the transformer tap; Method: Check whether the transformer tap is properly positioned; Formula: Let T be the set of transformers and P be the set of tap positions; for each transformer t∈T, check p(t)∈P; step: 1) Traverse all transformers; 2) Check whether the tap position of each transformer is correct; 3) If it is incorrect, record and report; The line length and type verification: check whether the length and type of the line are correct; Methods: Includes verification of physical properties such as length and material; Formula: Let L be the set of lines and A be the set of attributes; for each line l∈L, check a(l)∈A; step: 1) Traverse all lines; 2) Check whether the physical properties of each line are correct; 3) If incorrect, record and report.
7. The offline CIM model interactive verification method for distribution network according to claim 1 is characterized in that: The network connectivity verification method comprises: Network connectivity verification: ensure the connectivity of the distribution network; Methods: Use graph theory algorithms to check the connectivity of the entire network; Formula: Let G = (V, E) be the graph representation of the distribution network, and use the connectivity algorithm to check whether G is connected; step: 1) Check the entire network using a connectivity algorithm; 2) If the network is not connected, record and report; The grounding system verification: verifying the configuration of the grounding system; Method: Ensure that the grounding design meets safety requirements; Formula: Let G be the set of grounding systems and S be the set of safety standards; for each grounding system g∈G, check s(g)∈S; step: 1) Traverse all grounding systems; 2) Check whether the design of each grounding system complies with safety standards; 3) If there is any non-compliance, record and report; The power access point verification: checking the location and parameters of the power access point; Method: Confirm that all external power access points are legal and valid; Formula: Let P be the set of power access points, L be the legality set; for each power access point p∈P, check l(p)∈L; step: 1) Traverse all power access points; 2) Check the legitimacy of each power access point; 3) If it is illegal, record and report it; The ring network structure verification: verifying the accuracy of the ring network connection; Methods: Special review of networks using closed-loop operation mode; Formula: Let G = (V, E) be the graph representation of the distribution network, and use the ring detection algorithm to check whether G has a ring; step: 1) Use the ring detection algorithm to check the entire network; 2) If a loop exists, record and report it; The equipment capacity and load matching check: ensuring that the equipment capacity matches the load; Method: Ensure that the equipment capacity is sufficient to support the load being carried; Formula: Let C be the equipment capacity set, L be the load set; for each equipment d∈D, check ∑ l∈L(d) l≤C(d); step: 1) Traverse all devices; 2) Check whether the total load of each device does not exceed its capacity; 3) If exceeded, record and report.
8. The offline CIM model interactive verification method for distribution network according to claim 1 is characterized in that: The control logic verification method comprises: Control logic verification: check the correctness of control logic; Method: Analyze whether the behavior of the automatic control system meets expectations; Formula: Let C be the set of control strategies and L be the logical set; for each control strategy c∈C, check l(c)∈L; step: 1) Traverse all control strategies; 2) Check whether the logic of each control strategy is correct; 3) If it is incorrect, record and report; The redundant equipment verification: identifying and removing unnecessary redundant equipment; Methods: Evaluate whether the backup facility arrangement is reasonable; Formula: Let R be the redundant resource set and P be the planning set; for each redundant resource r∈R, check p(r)∈P; step: 1) Traverse all redundant resources; 2) Check whether the planning of each redundant resource is reasonable; 3) If it is unreasonable, record and report it.
9. The offline CIM model interactive verification method for distribution network according to claim 1, characterized in that: The data consistency verification method comprises: Data consistency check: ensure the consistency of model data; Method: Ensure that there are no inconsistencies between data from different sources; Formula: Let D be the data set, C be the consistency set; for each pair of data (d i ,d j )∈D×D, check c(d i ,d j )∈C; step: 1) Traverse all data pairs; 2) Check the consistency of each pair of data; 3) If there is any inconsistency, record and report it; The version compatibility check: checking the version compatibility of the model; Method: Ensure smooth transition between old and new versions; Formula: Let V be the version set, C be the compatibility set; for each pair of versions (v i ,v j )∈V×V, check c(v i ,v j )∈C; step: 1) Traverse all version pairs; 2) Check the compatibility of each pair of versions; 3) If there is incompatibility, record and report it; The user authority verification: verifying the correctness of the user authority setting; Method: Restrict unauthorized personnel from accessing sensitive information; Formula: Let U be the user set and P be the permission set; for each user u∈U, check p(u)∈P; step: 1) Traverse all users; 2) Check the permission settings of each user; 3) If permissions are not set correctly, record and report.
10. The offline CIM model interactive verification method for distribution network according to claim 1, characterized in that: in, The verification method also includes: real-time monitoring and automatic feedback correction of the relevant data verification method.
11. The offline CIM model interactive verification method for distribution network according to claim 1, characterized in that: The verification step also includes: performing comparative analysis on historical data of the model to identify changing trends and potential problems of the model.
Citation Information
Patent Citations
Distribution network information model verification method and system based on custom rule file
CN117112386A