A power system compliance online checking method, device, equipment, medium and product
Patent Information
- Application Number
- CN202611063637.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-07-17
- Publication Date
- 2026-10-20
AI Technical Summary
然而,如何确保电力系统运行控制环节的各项决策符合相关标准要求,已成为调度运行部门面临的重大技术挑战
本申请提供了一种电力系统合规性在线校验方法、装置、设备、介质及产品,实时获取电力系统的拟执行命令,利用标准化规则库中的规则进行合规性校验,在命令执行之间前进行合规性校验,避免执行之后的风险,通过每条规则的初步校验结果计算拟执行命令的综合合规度,最后进行等级划分得到最终校验结果,整个校验过程自动完成,避免人工校验的错误,从而提高校验的准确性和效率。
Smart Images

Figure FT_1 
Figure FT_2 
Figure FT_3
Abstract
Description
Technical Field
[0001] This application relates to the field of power system standardization, and in particular to a method, apparatus, equipment, medium, and product for online verification of power system compliance. Background Technology
[0002] The new power system, dominated by new energy sources, exhibits complex characteristics such as a high proportion of renewable energy integration, a high proportion of power electronic equipment application, AC / DC hybrid operation, and multi-energy complementarity. The standards system, serving as the technical basis for power system planning, design, operation, maintenance, and technological innovation, is directly related to the safe and stable operation of the new power system. However, ensuring that all decisions in the power system's operation and control processes comply with relevant standards has become a major technical challenge for dispatching and operation departments. Currently, the standard compliance inspection of the power system mainly adopts a post-audit model. After an operational event occurs or during a periodic inspection, professionals review operational records, operation logs, equipment ledgers, and other materials to determine whether the operation process violates relevant standards. Some power companies have established standard implementation evaluation systems to assess standard implementation through manual input or semi-automated methods.
[0003] Therefore, a method is needed that can perform pre-verification and improve verification efficiency to meet the development needs of modern power systems. Summary of the Invention
[0004] The purpose of this application is to provide a method, device, equipment, medium, and product for online verification of power system compliance, which can complete the standardized verification of the power system in advance and improve the efficiency of verification.
[0005] To achieve the above objectives, this application provides the following solution: Firstly, this application provides an online verification method for power system compliance, including: Real-time acquisition of intended commands from the power system; the power system includes a power automation monitoring system or a power grid dispatch automation system; Based on the command to be executed, compliance verification is performed using a standard rule base to obtain preliminary verification results for each rule; the rules in the standard rule base include: formal boundary constraint rules, formal feature parameter rules, and formal logical association rules; The overall compliance of the command to be executed is calculated based on the preliminary verification results of each rule; The final verification result is obtained by classifying the overall compliance of the command to be executed.
[0006] In one embodiment, the command to be executed includes a setting change instruction.
[0007] In one embodiment, the construction process of the standard rule base specifically includes: The standard technical clauses in the standard system are divided into boundary constraint clauses, characteristic parameter clauses, and logically related clauses by using computer pre-classification and manual review. By combining natural language processing with a rule engine, the boundary constraint clauses are converted into formal boundary constraint rules. By combining natural language processing with a rule engine, the feature parameter type clauses are converted into formal feature parameter type rules; By combining natural language processing with a rule engine, the logically related clauses are converted into formal logically related rules; The formal boundary constraint rules, the formal feature parameter rules, and the formal logical association rules are stored in the standard rule base and indexed according to technical field, equipment type, and operating condition.
[0008] In one embodiment, compliance verification is performed using a standard rule base based on the command to be executed to obtain preliminary verification results for each rule, specifically including: The commands to be executed are cleaned, filtered, and normalized to obtain preprocessed data; Based on the preprocessed data, formal boundary constraint rules are used to determine the boundary constraints, and preliminary verification results of the formal boundary constraint rules are obtained. Based on the preprocessed data, feature parameter constraints are determined using formal feature parameter rules to obtain preliminary verification results of the formal feature parameter rules. Based on the preprocessed data, formal logical association rules are used to determine logical association constraints, and preliminary verification results of the formal logical association rules are obtained.
[0009] In one embodiment, the expression for the overall compliance degree is: ; in, For overall compliance, To determine the number of formal boundary constraint rules, To represent the number of formal feature parameter type rules, The number of formal logical association rules, These are the weight coefficients for formalized boundary constraint rules. These are the weight coefficients for formalized feature parameter-type rules. For the weight coefficients of formal logical association rules, , , All are index variables. This represents the validation result of the i-th boundary constraint rule. The validation result for the j-th feature parameter type rule is... This is the validation result of the kth logical association rule.
[0010] In one embodiment, the online verification method for power system compliance further includes: The final verification result is fed back to modify the standard system in the standard rule base.
[0011] Secondly, this application provides an online verification device for power system compliance, comprising: A real-time acquisition module is used to acquire the intended commands to be executed by the power system in real time; the power system includes a power automation monitoring system or a power grid dispatch automation system. The verification module is used to perform compliance verification based on the command to be executed using a standard rule base, and obtain a preliminary verification result for each rule; the rules in the standard rule base include: formal boundary constraint rules, formal feature parameter rules, and formal logical association rules; The calculation module is used to calculate the overall compliance of the command to be executed based on the preliminary verification results of each rule; The classification module is used to classify the overall compliance of the command to be executed and obtain the final verification result.
[0012] Thirdly, this application provides a computer device, including: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the online verification method for power system compliance.
[0013] Fourthly, this application provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the aforementioned online verification method for power system compliance.
[0014] Fifthly, this application provides a computer program product, including a computer program that, when executed by a processor, implements the aforementioned online verification method for power system compliance.
[0015] According to the specific embodiments provided in this application, the following technical effects are disclosed: This application provides a method, device, equipment, medium, and product for online compliance verification of power systems. It acquires the intended execution commands of the power system in real time, performs compliance verification using rules in a standardized rule base, and performs compliance verification before command execution to avoid risks after execution. It calculates the comprehensive compliance degree of the intended execution commands based on the preliminary verification results of each rule, and finally obtains the final verification result by classifying the levels. The entire verification process is completed automatically, avoiding errors in manual verification, thereby improving the accuracy and efficiency of verification. Attached Figure Description
[0016] To more clearly illustrate the technical solutions in the embodiments of this application or the prior art, the drawings used in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0017] Figure 1 This is a diagram illustrating the application environment of an online compliance verification method for power systems according to one embodiment of this application. Figure 2 A flowchart illustrating an online compliance verification method for a power system provided in an embodiment of this application; Figure 3 A flowchart illustrating the practical application of an online compliance verification method for power systems provided in an embodiment of this application; Figure 4 A functional module diagram of an online compliance verification device for power systems provided in an embodiment of this application; Figure 5 This is a schematic diagram of the structure of a computer device provided in an embodiment of this application. Detailed Implementation
[0018] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.
[0019] Traditional technical models have the following technical shortcomings in the complex operating environment of new power systems: (1) Compliance checks lag far behind operational decisions. The post-event audit model can only discover problems after an operational event occurs, and cannot identify compliance risks before operational instructions are issued. When violations have been carried out and have caused consequences, compliance checks can only serve as a means of incident investigation, not a tool for risk prevention. The delayed compliance checks are no longer able to meet the needs of real-time operational control.
[0020] (2) The standard clauses are disconnected from the technical aspects of operation and control. The existing standard system exists in the form of natural language and lacks direct technical connection with the control instructions and parameter settings in the dispatch automation system. Operators need to manually consult the standard text, understand the meaning of the clauses and judge the compliance of the operation during the operation. This not only leads to low efficiency and affects the efficiency of dispatch decision-making due to the involvement of multiple standards and dozens of clauses, but also makes it difficult to ensure that all relevant constraints are considered and is easy to overlook. Furthermore, the ambiguous wording of the clauses may lead to differences in understanding among different personnel and inconsistent judgments on compliance.
[0021] (3) Lack of a closed-loop feedback mechanism with the standards system. Existing compliance inspection results are usually only used for accident tracing or operational assessment, and fail to be effectively fed back to the management of the standards system. When a certain standard clause is frequently violated, or when a certain standard provision is inconsistent with actual operational needs, there is a lack of an effective mechanism to transmit this information to the standards development and revision department, making it difficult for the standards system to be dynamically optimized based on operational practices.
[0022] Therefore, there is an urgent need for a method that can formalize the technical clauses in the standard system into computable constraint rules to achieve online real-time compliance verification, so as to solve the above-mentioned problems in the existing technology.
[0023] To make the above-mentioned objectives, features and advantages of this application more apparent and understandable, the application will be further described in detail below with reference to the accompanying drawings and specific embodiments.
[0024] The online compliance verification method for power systems provided in this application can be applied to, for example... Figure 1In the application environment shown, terminal 101 communicates with server 102 via a network. A data storage system can store the data that server 102 needs to process. The data storage system can be set up independently, integrated into server 102, or placed in the cloud or on another server. Terminal 101 can send real-time acquired power system data and proposed commands to server 102. Server 102 receives the power system data and proposed commands, and performs compliance verification using a standard rule base based on the proposed commands, obtaining a preliminary verification result for each rule. The rules in the standard rule base include: formal boundary constraint rules, formal feature parameter rules, and formal logical association rules. The server calculates the comprehensive compliance degree of the proposed commands based on the preliminary verification results of each rule, and classifies the comprehensive compliance degree of the proposed commands into levels to obtain the final verification result. Server 102 can then feed back the final verification result to terminal 101. In addition, in some embodiments, the online verification of power system compliance can also be implemented by the server 102 or the terminal 101 separately. For example, the terminal 101 can directly perform online verification of power system compliance based on the relevant data of the power system and the command to be executed in real time, or the server 102 can perform online verification of power system compliance from the data storage system.
[0025] The terminal 101 can be, but is not limited to, various desktop computers, laptops, smartphones, tablets, IoT devices, and portable wearable devices. IoT devices can include smart speakers, smart TVs, smart air conditioners, and smart in-vehicle devices. Portable wearable devices can include smartwatches, smart bracelets, and head-mounted devices. The server 102 can be implemented using a standalone server or a server cluster composed of multiple servers, or it can be a cloud server.
[0026] In one exemplary embodiment, such as Figure 2 As shown, an online verification method for power system compliance is provided. This method is executed by computer equipment, specifically by a terminal or server alone, or by both a terminal and a server. In this embodiment, the method is applied to... Figure 1 Taking server 102 as an example, the following steps are included.
[0027] Step 201: Obtain the intended command to be executed from the power system in real time; the power system includes a power automation monitoring system or a power grid dispatch automation system.
[0028] Step 202: Perform compliance verification using the standard rule base according to the command to be executed, and obtain the preliminary verification result of each rule; the rules in the standard rule base include: formal boundary constraint rules, formal feature parameter rules, and formal logical association rules.
[0029] Step 203: Calculate the overall compliance of the command to be executed based on the preliminary verification results of each rule.
[0030] Step 204: Classify the overall compliance of the command to be executed into levels to obtain the final verification result.
[0031] By implementing the above steps, the proposed commands to be executed from the power system are obtained in real time. Compliance verification is performed using rules in the standardized rule base. Compliance verification is carried out before the command is executed to avoid risks after execution. The overall compliance of the proposed command is calculated based on the preliminary verification results of each rule. Finally, the final verification result is obtained by classifying the levels. The entire verification process is completed automatically, avoiding errors from manual verification, thereby improving the accuracy and efficiency of verification.
[0032] In one exemplary embodiment, the command to be executed includes a setting change instruction. In practical applications, the command to be executed may also include device operation instructions and control mode switching instructions.
[0033] In one exemplary embodiment, the construction process of the standard rule base specifically includes: The standard technical clauses in the standard system are divided into boundary constraint clauses, characteristic parameter clauses, and logical relational clauses by using computer pre-classification and manual review.
[0034] By combining natural language processing with a rule engine, the boundary constraint clauses are converted into formal boundary constraint rules.
[0035] By combining natural language processing with a rule engine, the feature parameter type clauses are converted into formal feature parameter type rules.
[0036] By combining natural language processing with a rule engine, the logically related clauses are converted into formal logically related rules.
[0037] The formal boundary constraint rules, the formal feature parameter rules, and the formal logical association rules are stored in the standard rule base and indexed according to technical field, equipment type, and operating condition.
[0038] In an exemplary embodiment, compliance verification is performed using a standard rule base based on the command to be executed, resulting in preliminary verification results for each rule, specifically including: The commands to be executed are cleaned, filtered, and normalized to obtain preprocessed data.
[0039] Based on the preprocessed data, formal boundary constraint rules are used to determine boundary constraints, and preliminary verification results of the formal boundary constraint rules are obtained.
[0040] Based on the preprocessed data, feature parameter constraints are determined using formal feature parameter rules to obtain preliminary verification results for the formal feature parameter rules.
[0041] Based on the preprocessed data, formal logical association rules are used to determine logical association constraints, and preliminary verification results of the formal logical association rules are obtained.
[0042] In one exemplary embodiment, the expression for the overall compliance degree is: ; in, For overall compliance, To determine the number of formal boundary constraint rules, To represent the number of formal feature parameter type rules, The number of formal logical association rules, These are the weight coefficients for formalized boundary constraint rules. These are the weight coefficients for formalized feature parameter-type rules. For the weight coefficients of formal logical association rules, , , All are index variables. This represents the validation result of the i-th boundary constraint rule. The validation result for the j-th feature parameter type rule is... This is the validation result of the kth logical association rule.
[0043] In one exemplary embodiment, the online verification method for power system compliance further includes: The final verification result is fed back to modify the standard system in the standard rule base.
[0044] This application provides an online compliance verification method for power systems in new power systems. By formalizing standard clauses into computable constraint rules and embedding them into the dispatch automation system, it enables real-time compliance verification of operation instructions, solving problems such as lagging compliance checks, disconnection from operation control, and lack of closed-loop feedback mechanisms in existing technologies.
[0045] In another exemplary embodiment, such as Figure 3 As shown, this application provides a method for online verification of power system compliance in practical applications, including the entire process from the construction of the standard rule base to actual online verification, comprising the following steps.
[0046] Step 1: Establish classification rules for standard technical clauses in the standard system.
[0047] A computer-pre-classification + manual review model is used to categorize standard technical clauses in the standard system into boundary constraint clauses, characteristic parameter clauses, and logically related clauses. The standard system is an organic whole composed of standards within a certain scope, arranged according to their inherent relationships. Simply put, it's a collection of several standards. Standard technical clauses are the components of a single standard. For example, in a transformer standard, clause 1.1 addresses voltage deviation; clause 1.2 addresses frequency deviation; clauses 1.1 and 1.2 are standard technical clauses.
[0048] Furthermore, the boundary constraint clauses specify the upper and lower limits of technical parameters, such as voltage deviation, frequency deviation, and harmonic limits; the characteristic parameter clauses specify the characteristic parameter requirements of equipment or systems, such as the power factor range and response time requirements of grid-connected inverters; and the logical association clauses specify the logical relationships or operating conditions between parameters, such as "when the frequency is below 49.5Hz, the new energy power station should have primary frequency regulation capability".
[0049] Step 2: Formalize boundary constraint rules.
[0050] By employing a combination of Natural Language Processing (NLP) and rule engines, boundary constraint clauses are transformed into the following form: .
[0051] in: Specify upper and lower limits for technical parameters for boundary constraint clauses. These are the constrained operating parameters; For time; The lower bound constraint for the parameter may change over time; The upper limit constraint of the parameters may change over time; for static boundary constraints, it can be simplified to a fixed interval. .
[0052] Specifically, rules are extracted from standards such as the "Guidelines for the Safety and Stability of Power Systems" (GB 38755), the "Power Grid Operation Guidelines" (DL / T 1040), and the "Technical Regulations for Wind Farm Access to Power Systems" (GB / T 19963). Taking a wind farm grid connection project as an example, the operating parameter is frequency deviation. The standard stipulates that "the grid frequency deviation shall not exceed ±0.2Hz", which is formalized as: .
[0053] in, Specify the upper and lower limits of the power grid frequency for boundary constraint clauses. This refers to the power grid frequency.
[0054] Step 3: Formalize the feature parameter type rules.
[0055] By employing a combination of natural language processing and rule engines, feature-parameter clauses are transformed into the following form: .
[0056] in: Characteristic parameter clauses specify the characteristic parameter requirements for equipment or systems, such as the power factor range and response time requirements for grid-connected inverters. For device type or system type; For characteristic parameters; This refers to a specific characteristic parameter value or range of values specified in a certain standard. A set of all possible characteristic parameter values defined by a standard system that are relevant to a certain type of equipment or technical field. This represents the allowable tolerance for deviation.
[0057] Step 4: Formalize logical association rules.
[0058] By employing a combination of natural language processing and rule engines, logically related clauses are transformed into logical expressions: .
[0059] in: This requires that all k implied rules be satisfied simultaneously. Specifically: For rule 1: if Cond1 is true, Action1 must be executed; For rule 2: if Cond2 is true, Action2 must be executed; For rule k: if Cond1 is true, Action2 must be executed; k If true, then Action k This must be executed. The overall logical association rule Rlogic is satisfied only when all k rules are true (i.e., every implication is true). C i A complete logical clause consists of conditions. and actions Composition, and expressed as implication ; For triggering conditions, such as "frequency < 49.5Hz"; The operation to be performed or the parameter requirements to be met.
[0060] Taking a wind farm grid connection project as an example, the standard stipulates that "when the grid frequency is lower than 49.5Hz, the new energy power station should have primary frequency regulation capability," which is formalized as: .
[0061] Step 5: Build a standard rule base.
[0062] All formalized rules are stored in a standard rule base and indexed by technical field, equipment type, and operating condition.
[0063] Furthermore, each rule is stored as a structured object, containing fields such as rule ID, type, technical field, device type, operating condition, constrained parameters, constraint expression, source standard, and effective status.
[0064] Step 6: Real-time data acquisition and preprocessing.
[0065] Relevant data are collected in real time from power automation monitoring systems or power grid dispatch automation systems.
[0066] Furthermore, the relevant data includes power grid status data, such as frequency, voltage, active power, reactive power, etc.; equipment status data, such as circuit breaker position, transformer tap position, and protection device status; and environmental parameter data, such as temperature, humidity, and wind speed.
[0067] Collect the instructions to be executed from the power automation monitoring system or the power grid dispatch automation system.
[0068] Furthermore, the instructions to be executed include setpoint change instructions, such as active power setpoint and voltage setpoint; equipment operation instructions, such as circuit breaker opening and closing and transformer tap adjustment; and control mode switching instructions, such as switching from constant power mode to constant voltage mode.
[0069] Specifically, data is collected in real time from power automation monitoring systems or power grid dispatch automation systems: Taking a wind farm grid connection project as an example, the current frequency : Hz.
[0070] Wind farm grid connection voltage : . This is the rated voltage.
[0071] Proposed Instruction: Issue an instruction to increase the active power output of the wind farm from 80MW to 120MW.
[0072] The collected data was cleaned, filtered, and normalized. Missing data was filled using interpolation. .
[0073] in, For time. The previous moment before the known data points; The next moment after the known data points; In order to be in The operating parameter values collected at all times, where each operating parameter value can represent a system state; In order to be in The runtime parameter values collected at all times; Calculated by linear interpolation The parameter estimates at time 1.
[0074] Step 7: Establish compliance verification rules for the instructions to be executed.
[0075] For setpoint change instructions, predict the system state after instruction execution. : .
[0076] in: This represents the current system state. This is the instruction to be executed. It is the system state transition function, which can be constructed based on the power flow model or a simplified equivalent model of the power system.
[0077] Specifically, taking a wind farm grid connection project as an example, after the power flow calculation and prediction command is executed: Frequency change prediction value : Hz.
[0078] Predicted voltage at grid connection point : .
[0079] Furthermore, verify whether the predicted state satisfies the boundary constraint rules: .
[0080] in Indicates the first One constrained parameter.
[0081] Taking a wind farm grid connection project as an example, specific details include frequency verification: Compliance; Voltage verification: Compliant.
[0082] Furthermore, verify whether the equipment's characteristic parameters meet the standard requirements: .
[0083] in: These are the actual characteristic parameters of the equipment; These are the characteristic parameters specified in the standard. This represents the allowable deviation tolerance.
[0084] Specifically, taking a wind farm grid connection project as an example, the characteristic parameter verification is as follows: the power factor adjustment range of the wind farm inverter is 0.95~1.0, which meets the standard requirements (≥0.95) and is compliant.
[0085] Furthermore, verify whether the logical association rules are satisfied: Specifically, taking a wind farm grid connection project as an example, the logical association verification is as follows: the current frequency 50.03Hz > 49.5Hz, which does not trigger the primary frequency regulation condition, and the logical rule is satisfied.
[0086] Step 7: Calculate the overall compliance score.
[0087] Overall compliance of computation instructions : .
[0088] in: The number of rules of each type; The weighting coefficients for each rule can be set according to the importance of the standard and the security level of the technical field, to meet the requirements. .
[0089] Step 8: Verification result processing and early warning.
[0090] Based on overall compliance The verification results are divided into four levels: .
[0091] When the overall compliance level is 1, the final verification result is Level 0, allowing instruction execution and recording that the verification passed.
[0092] when When the final verification result is Level 1, an early warning message is issued, indicating that there is a compliance risk to the operators, asking whether to continue execution, and the warning is recorded.
[0093] when If the final verification result is Level 2, a warning message will be issued, suggesting that the instructions be corrected. If the operator confirms the execution, the reason must be stated.
[0094] when If the final verification result is Level 3, the execution of the instruction is blocked, and a correction and re-verification are required. The violation event is recorded.
[0095] Specifically, taking a wind farm grid connection project as an example, calculate its overall compliance. It is fully compliant and allows the execution of instructions.
[0096] Step 9, feedback on standard system improvements.
[0097] When a certain standard clause frequently triggers violations, and the violation instructions are mostly executed when the system status is stable, it indicates that the standard clause may be too strict or unsuitable for actual operation, and it is recommended to submit a standard revision application.
[0098] This application provides an online compliance verification method for power systems. By transforming compliance checks from "post-audit" to "pre-verification," it identifies compliance risks before operational instructions are issued, effectively preventing violations. By formalizing standard clauses into computable constraint rules, it achieves deep integration of the standard system with power system operation control, significantly improving the automation level of standard execution. At the same time, it establishes a unified rule base and verification framework, capable of handling multiple types of standard constraints such as boundary constraints, characteristic parameters, and logical associations simultaneously, overcoming the difficulty of uniformly handling cross-standard constraints.
[0099] Based on the same inventive concept, this application also provides an online power system compliance verification device for implementing the above-described online power system compliance verification method. The solution provided by this device is similar to the implementation described in the above method; therefore, the specific limitations in one or more embodiments of the online power system compliance verification device provided below can be found in the limitations of the online power system compliance verification method described above, and will not be repeated here.
[0100] In one exemplary embodiment, such as Figure 4 As shown, an online compliance verification device for power systems is provided, comprising: A real-time acquisition module is used to acquire the intended commands to be executed by the power system in real time; the power system includes a power automation monitoring system or a power grid dispatch automation system. The verification module is used to perform compliance verification based on the command to be executed using a standard rule base, and obtain a preliminary verification result for each rule; the rules in the standard rule base include: formal boundary constraint rules, formal feature parameter rules, and formal logical association rules; The calculation module is used to calculate the overall compliance of the command to be executed based on the preliminary verification results of each rule; The classification module is used to classify the overall compliance of the command to be executed and obtain the final verification result.
[0101] In one exemplary embodiment, a computer device is provided, which may be a server or a terminal, and its internal structure diagram may be as follows. Figure 5 As shown, the computer device includes a processor, memory, input / output (I / O) interfaces, and a communication interface. The processor, memory, and I / O interfaces are connected via a system bus, and the communication interface is also connected to the system bus via the I / O interfaces. The processor provides computational and control capabilities. The memory includes non-volatile storage media and internal memory. The non-volatile storage media stores the operating system, computer programs, and a database. The internal memory provides the environment for the operation of the operating system and computer programs stored in the non-volatile storage media. The database stores online verification data for power system compliance. The I / O interfaces are used for exchanging information between the processor and external devices. The communication interface is used for communication with external terminals via a network connection. When the computer program is executed by the processor, it implements a method for online verification of power system compliance.
[0102] Those skilled in the art will understand that Figure 5 The structure shown is merely a block diagram of a portion of the structure related to the present application and does not constitute a limitation on the computer equipment to which the present application is applied. Specific computer equipment may include, for example, [the following is a list of possible additional structures]. Figure 5 The embodiments show more or fewer components, combinations of certain components, or different component arrangements. In one exemplary embodiment, a computer device is provided, including a memory and a processor, the memory storing a computer program, the processor executing the computer program to implement the above-described method embodiments.
[0103] In one exemplary embodiment, a computer-readable storage medium is provided storing a computer program that, when executed by a processor, implements the above-described method embodiments.
[0104] In one exemplary embodiment, a computer program product is provided, including a computer program that, when executed by a processor, implements the above-described method embodiments.
[0105] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, data stored, data displayed, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of the relevant data must comply with relevant regulations.
[0106] In this application, all actions to acquire signals, information, or data are carried out in compliance with the relevant data protection laws and policies of the country where the location is situated, and with the authorization granted by the owner of the relevant device.
[0107] Those skilled in the art will understand that all or part of the processes in the above embodiments can be implemented by a computer program instructing related hardware. The computer program can be stored in a non-volatile computer-readable storage medium. When executed, the computer program can include the processes of the embodiments described above. Any references to memory, databases, or other media used in the embodiments provided in this application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. By way of illustration and not limitation, RAM can take many forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM).
[0108] The databases involved in the embodiments provided in this application may include at least one type of relational database and non-relational database. Non-relational databases may include, but are not limited to, blockchain-based distributed databases. The processors involved in the embodiments provided in this application may be general-purpose processors, central processing units, graphics processing units, digital signal processors, programmable logic devices, quantum computing-based data processing logic devices, etc., and are not limited to these.
[0109] The technical features of the above embodiments can be combined in any way. For the sake of brevity, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0110] This document uses specific examples to illustrate the principles and implementation methods of this application. The descriptions of the above embodiments are only for the purpose of helping to understand the methods and core ideas of this application. Furthermore, those skilled in the art will recognize that, based on the ideas of this application, there will be changes in the specific implementation methods and application scope. Therefore, the content of this specification should not be construed as a limitation of this application.
Claims
1. A method for online verification of power system compliance, characterized in that, include: Real-time acquisition of intended commands from the power system; the power system includes a power automation monitoring system or a power grid dispatch automation system; Based on the command to be executed, a compliance check is performed using a standard rule base to obtain a preliminary check result for each rule; The rules in the standard rule base include: formal boundary constraint rules, formal feature parameter rules, and formal logical association rules; The overall compliance of the command to be executed is calculated based on the preliminary verification results of each rule; The final verification result is obtained by classifying the overall compliance of the command to be executed.
2. The online verification method for power system compliance according to claim 1, characterized in that, The command to be executed includes a setting change instruction.
3. The online compliance verification method for power systems according to claim 1, characterized in that, The construction process of the standard rule base specifically includes: The standard technical clauses in the standard system are divided into boundary constraint clauses, characteristic parameter clauses, and logically related clauses by using computer pre-classification and manual review. By combining natural language processing with a rule engine, the boundary constraint clauses are converted into formal boundary constraint rules. By combining natural language processing with a rule engine, the feature parameter type clauses are converted into formal feature parameter type rules; By combining natural language processing with a rule engine, the logically related clauses are converted into formal logically related rules; The formal boundary constraint rules, the formal feature parameter rules, and the formal logical association rules are stored in the standard rule base and indexed according to technical field, equipment type, and operating condition.
4. The online verification method for power system compliance according to claim 1, characterized in that, Based on the command to be executed, a compliance check is performed using a standard rule base to obtain preliminary check results for each rule, specifically including: The commands to be executed are cleaned, filtered, and normalized to obtain preprocessed data; Based on the preprocessed data, formal boundary constraint rules are used to determine the boundary constraints, and preliminary verification results of the formal boundary constraint rules are obtained. Based on the preprocessed data, feature parameter constraints are determined using formal feature parameter rules to obtain preliminary verification results of the formal feature parameter rules. Based on the preprocessed data, formal logical association rules are used to determine logical association constraints, and preliminary verification results of the formal logical association rules are obtained.
5. The online compliance verification method for power systems according to claim 1, characterized in that, The expression for the overall compliance level is: ; in, For overall compliance, To determine the number of formal boundary constraint rules, To represent the number of formal feature parameter type rules, The number of formal logical association rules, These are the weight coefficients for formalized boundary constraint rules. These are the weight coefficients for formalized feature parameter-type rules. For the weight coefficients of formal logical association rules, , , All are index variables. This represents the validation result of the i-th boundary constraint rule. The validation result for the j-th feature parameter type rule is... This is the validation result of the kth logical association rule.
6. The online verification method for power system compliance according to claim 1, characterized in that, Also includes: The final verification result is fed back to modify the standard system in the standard rule base.
7. An online compliance verification device for power systems, characterized in that, include: The real-time acquisition module is used to acquire the intended commands to be executed by the power system in real time. The power system includes a power automation monitoring system or a power grid dispatch automation system; The verification module is used to perform compliance verification based on the command to be executed using a standard rule base, and obtain the preliminary verification result for each rule; The rules in the standard rule base include: formal boundary constraint rules, formal feature parameter rules, and formal logical association rules; The calculation module is used to calculate the overall compliance of the command to be executed based on the preliminary verification results of each rule; The classification module is used to classify the overall compliance of the command to be executed and obtain the final verification result.
8. A computer device, comprising: A memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that the processor executes the computer program to implement the online verification method for power system compliance as described in any one of claims 1-6.
9. A computer-readable storage medium having a computer program stored thereon, characterized in that, When executed by a processor, the computer program implements the online verification method for power system compliance as described in any one of claims 1-6.
10. A computer program product, comprising a computer program, characterized in that, When executed by a processor, the computer program implements the online verification method for power system compliance as described in any one of claims 1-6.
