Power system secondary circuit design information proofreading method and device and storage medium

By constructing a digital model of the secondary loop and analyzing the expected state, automatically detecting the matching between the design state and the expected state, the problem of difficulty in comprehensively checking the design information in the secondary loop design is solved, and the reliability and stability of the power system are improved.

CN119416630AInactive Publication Date: 2025-02-11烟台建联勘察设计审查服务中心
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411462251.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-10-18
Publication Date
2025-02-11
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

It is difficult for the prior art to comprehensively check the accuracy of design information in secondary circuit design, especially when facing large and complex secondary circuits, hidden design errors are easily missed, affecting the reliability and stability of the power system.

Method used

By building a digital model of the secondary loop, the model is analyzed to obtain the expected state of the loop component, and compare the design state with the expected state, and automatically detect design errors.

Benefits of technology

Automatic verification of secondary circuit design is achieved, the reliability and stability of the power system is improved, and the inefficiency and error of manual inspection is reduced.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119416630A_ABST
    Figure CN119416630A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of power system design, and provides a power system secondary circuit design information proofreading method and device and a storage medium. The proofreading method comprises the following steps: constructing a digital model corresponding to the secondary circuit based on design information of the secondary circuit; analyzing the digital model to obtain an expected state corresponding to each loop component; for each loop component, determining whether the design state of the loop component is matched with the expected state corresponding to the loop component; and under the condition that the loop component of which the design state is not matched with the expected state exists, determining that the design error exists in the secondary loop. By adopting the technical scheme, the accuracy of the secondary circuit design can be automatically checked based on the matching relationship between the expected state and the design state of the circuit component, so that errors in the secondary circuit design can be found, and the reliability and the stability of a power system can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of power system design, and in particular to a method, device and storage medium for checking design information of secondary circuits of a power system. Background Art

[0002] The power system plays a vital role in modern society. Its stability and reliability directly affect all aspects of industrial production and residents' lives. As an important part of the power system, the secondary circuit is responsible for controlling and protecting the normal operation of the equipment in the primary circuit.

[0003] In the design process of the secondary circuit, a large amount of design information is often generated. In order to ensure that the secondary circuit can accurately perform the predetermined function, the relevant technology usually adopts a series of tedious manual inspections or preliminary automated tools to verify the design information corresponding to the secondary circuit.

[0004] However, manual or simple automated tool-based proofreading is usually inefficient, and it is difficult to fully check the accuracy of design information when faced with large and complex secondary circuits. It is particularly easy to miss hidden design errors, thus affecting the reliability and stability of the power system. Summary of the invention

[0005] In order to help verify the accuracy of secondary circuit design, the present application provides a method, device and storage medium for verifying secondary circuit design information of a power system.

[0006] In a first aspect, the present application provides a method for checking design information of a secondary circuit of a power system, which adopts the following technical solution: A method for checking design information of a secondary circuit of a power system, the method comprising: Building a digital model corresponding to the secondary circuit based on the design information of the secondary circuit, wherein the digital model includes at least two circuit components and connection relationships between the circuit components; Analyzing the digital model to obtain the expected state corresponding to each loop component; For each of the loop components, determining whether a design state of the loop component matches an expected state corresponding to the loop component; In the case where there is a circuit component whose design state does not match the expected state, it is determined that there is a design error in the secondary circuit.

[0007] By adopting the above technical scheme, the expected states corresponding to different circuit components can be obtained by analyzing the digital model of the secondary circuit, and when it is determined that there are circuit components whose design states do not match the expected states, it is determined that there are design errors in the secondary circuit. In this way, the accuracy of the secondary circuit design can be automatically checked based on the states of the circuit components, which can help improve the reliability and stability of the power system.

[0008] Optionally, the expected state includes expected performance indicators of the loop components; the analyzing the digital model to obtain the expected state corresponding to each loop component includes: For each of the loop components, determining an associated component of the loop component based on the digital model, wherein the associated component refers to other loop components in the secondary loop that are associated with the loop component; The expected performance index of the circuit component is determined based on the design performance index of the associated component.

[0009] By adopting the above technical solution, the associated components of the loop component can be determined based on the digital model, and the expected performance indicators of the loop component can be determined based on the design performance indicators of the associated components. This can help to accurately determine the expected performance indicators corresponding to the loop component, and then the expected performance indicators can be used to assist in judging whether the design of the loop component meets the requirements.

[0010] Optionally, determining the expected performance index of the loop component based on the associated component includes: Obtaining primary circuit information corresponding to the secondary circuit; Determining actual application requirements based on the primary circuit information; The expected performance index of the loop component is determined based on the actual application requirements and the design performance index of the associated component.

[0011] By adopting the above technical scheme, the expected performance indicators of the circuit components can be determined in combination with the design conditions of the primary circuit corresponding to the secondary circuit, so that the needs of the corresponding primary circuit can be comprehensively considered during the verification of the secondary circuit, which can help improve the accuracy of the secondary circuit verification results.

[0012] Optionally, the determining the associated components of the loop component based on the digital model further includes: For each of the loop components, analyzing the associated components corresponding to the loop component to determine whether the loop component is missing a necessary associated component, the necessary associated component is not included in the associated components; In the case where it is determined that the loop component lacks the necessary associated component, determining that there is an error in the design information; In the case where it is determined that the loop component does not lack the necessary associated component, it is determined that the design exists.

[0013] By adopting the above technical solution, the missing components in the secondary circuit can be verified, which can help to discover the problems of abnormal operation of components that may be caused by the missing components during the verification process, and further help to improve the reliability and stability of the power system.

[0014] Optionally, the expected state further includes an expected connection relationship between the loop components; and the parsing of the digital model to obtain the expected state corresponding to each loop component further includes: For each of the associated components, the expected connection relationship between the loop component and the associated component is determined in combination with the expected performance index of the loop component and the design performance index of the associated component.

[0015] By adopting the above technical solution, after the associated components are determined, the expected connection relationship between the loop component and the associated components can be further determined in combination with the expected performance indicators of the loop component and the design performance indicators of the associated components, and then the expected connection relationship can be used to assist in judging whether the connection relationship of the loop components meets the requirements.

[0016] Optionally, determining whether the design state of the loop component matches the expected state corresponding to the loop component includes: Determining whether a design performance index of the loop component is lower than an expected performance index corresponding to the loop component; In the case where the design performance index of the loop component is lower than the expected performance index corresponding to the loop component, determining that the design state of the loop component does not match the expected state of the loop component; In the case where the design performance index of the loop component is not lower than the expected performance index corresponding to the loop component, determining whether the design connection relationship between the loop component and the associated component matches the expected connection relationship; In the case that the designed connection relationship between the loop component and the associated component does not match the expected connection relationship, it is determined that the designed state of the loop component does not match the expected state of the loop component.

[0017] By adopting the above technical scheme, it is possible to comprehensively judge whether the design state of the loop component matches the expected state based on the matching relationship between the design performance indicators of the loop component and the expected performance indicators, as well as the matching relationship between the design connection relationship and the expected connection relationship, which can help improve the accuracy of the loop component verification results.

[0018] Optionally, constructing a digital model corresponding to the secondary circuit based on the design information of the secondary circuit includes: Parsing the secondary circuit design information to obtain initial components and connection relationships between the initial components; Based on a preset formatting rule, converting the initial component into a corresponding loop component; The digital model is constructed based on the loop components and the connection relationships between the loop components.

[0019] By adopting the above technical solution, the same components in the secondary circuit design information can be normalized, reducing the impact of the expression differences in the secondary circuit design information on the construction of the digital model, which can help improve the accuracy of the digital model components.

[0020] Optionally, after determining that the secondary circuit has a design error, the method further includes: Determine an error position corresponding to the design error; The error position is marked in the digital model to prompt the designer to handle the design error.

[0021] By adopting the above technical solution, when it is determined that there is a design error in the secondary circuit, the designer can be prompted to deal with the design error, thereby facilitating guiding the staff to deal with the design error in the secondary circuit.

[0022] In a second aspect, the present application provides an electronic device, which adopts the following technical solution: An electronic device, comprising: at least one processor; Memory; At least one application, wherein the at least one application is stored in a memory and configured to be executed by at least one processor, and the at least one application is configured to: execute any one of the power system secondary circuit design information verification methods provided in the first aspect.

[0023] In a third aspect, the present application provides a computer-readable storage medium, which adopts the following technical solution: A computer-readable storage medium stores a computer program, which, when executed in a computer, causes the computer to execute any one of the power system secondary circuit design information verification methods provided in the first aspect.

[0024] In summary, the present application includes at least one of the following beneficial technical effects: 1. The accuracy of the secondary circuit design can be automatically verified based on the matching relationship between the expected state and the designed state of the circuit components, which can help to find errors in the secondary circuit design, thereby helping to improve the reliability and stability of the power system; 2. By verifying the missing components in the secondary circuit, it can help to discover the abnormal operation of components that may be caused by the missing components during the verification process, which can help improve the reliability and stability of the power system. BRIEF DESCRIPTION OF THE DRAWINGS

[0025] Figure 1 It is a flow chart of a method for checking secondary circuit design information of a power system provided in an embodiment of the present application; Figure 2 It is a flowchart of a method for determining an expected state provided in an embodiment of the present application; Figure 3 It is a flow chart of a design state and an expected state matching method provided in an embodiment of the present application; Figure 4 It is a flowchart of a digital model construction method provided in an embodiment of the present application; Figure 5 It is a structural schematic diagram of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0026] In order to make the purpose, technical solutions and advantages of this application more clear, the following Figure 1-5 It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

[0027] The present application embodiment discloses a method for checking secondary circuit design information of a power system. Figure 1 , the power system secondary circuit design information verification method includes the following steps: Step 101 : constructing a digital model corresponding to the secondary circuit based on the design information of the secondary circuit.

[0028] In actual implementation, the design information of the secondary circuit may be expressed in different forms such as documents, tables, drawings, etc. In order to facilitate unified proofreading of the design of the secondary circuit, this implementation method first generates a digital model corresponding to the design information before proofreading the secondary circuit, so that in the subsequent proofreading process, only the digital model needs to be verified.

[0029] In this embodiment, the digital model includes at least two loop components and the connection relationship between each loop component. Specifically, the secondary loop is formed by connecting loop components. According to the function realized by the secondary loop, the secondary loop can be subdivided into relay protection loop, automatic device loop, measurement loop, control loop, signal loop and other types of loops. Correspondingly, different types of loops correspond to corresponding types of loop components, such as: the relay protection loop corresponds to the protection device (such as: relay), circuit transformer, voltage transformer and other loop components; the automatic device loop corresponds to the automatic device itself and its control circuit and other loop components; the measurement loop is provided with measuring instruments (such as: ammeter, voltmeter, power meter, etc.) and its connection circuit with current transformer and voltage transformer and other loop components.

[0030] Step 102, analyzing the digital model to obtain the expected state corresponding to each loop component.

[0031] The expected state refers to the state in which the circuit components can function normally. Specifically, factors such as the position of the circuit components in the secondary circuit and the connection relationship between the circuit components may affect the normal functioning of the circuit components. Once the circuit components cannot function normally, it may cause a failure in the secondary circuit, thereby affecting the reliability and stability of the power system. Therefore, in this embodiment, the expected state corresponding to the circuit components is first determined based on the digital model, so as to judge whether the circuit components are abnormal in combination with the expected state of the circuit components.

[0032] In actual implementation, the expected state corresponding to the loop component can be determined based on at least one of the influencing factors such as the type of loop component, the position of the loop component in the secondary loop, and the connection relationship between the loop components. For example: when the loop component is adjacent to a strong electric circuit or a high-frequency signal, the expected state includes a shielding state, which can help reduce the impact of the strong electric or high-frequency signal on the operation of the loop component. For another example: when the loop component needs to communicate with other loop components, the expected state includes a matching communication method, which can help ensure normal communication between the loop components.

[0033] Step 103 : for each loop component, determine whether the design state of the loop component matches the expected state corresponding to the loop component.

[0034] The design state of the loop component refers to the state of the loop component recorded in the design information. Specifically, the design state includes information such as the loop component type, model, and performance parameters. Furthermore, the design state may also include the connection mode between the loop components. Specifically for each loop component, the design state information includes the connection mode between the loop component and other loop components.

[0035] Step 104 : if there is a circuit component whose design state does not match the expected state, it is determined that there is a design error in the secondary circuit.

[0036] In the absence of a circuit component whose design state does not match the expected state, it can be directly determined that there is no design error in the secondary circuit, or it can be further verified by other means whether there is an error in the secondary circuit design.

[0037] Specifically, since the mismatch between the design state and the expected state of the loop components may cause abnormal operation of the loop components, and thus cause abnormal operation of the secondary circuit, when there are loop components whose design state does not match the expected state, it can be directly determined that there is a design error in the secondary circuit, thereby realizing the verification of the accuracy of the secondary circuit design.

[0038] Optionally, after determining that there is a design error in the secondary circuit, the method further includes: determining an error position corresponding to the design error; marking the error position in the digital model to prompt the designer to handle the design error. This can facilitate guiding the staff to handle the design error in the secondary circuit.

[0039] Furthermore, after determining the error location of the design error, the error cause is bound to the error location, which can help further improve the efficiency of the staff in handling the design error.

[0040] The implementation principle of a method for checking the design information of a secondary circuit of a power system in an embodiment of the present application is as follows: construct a digital model corresponding to the secondary circuit based on the design information of the secondary circuit, the digital model including at least two circuit components and the connection relationship between each circuit component; parse the digital model to obtain the expected state corresponding to each circuit component; for each circuit component, determine whether the design state of the circuit component matches the expected state corresponding to the circuit component; in the case where there is a circuit component whose design state does not match the expected state, determine that there is a design error in the secondary circuit. By adopting the above technical scheme, the expected state corresponding to different circuit components can be obtained by parsing the digital model of the secondary circuit, and in the case where it is determined that there is a circuit component whose design state does not match the expected state, determine that there is a design error in the secondary circuit, so that the accuracy of the secondary circuit design can be automatically verified based on the state of the circuit component, which can help to timely discover errors in the secondary circuit design, and further help to improve the reliability and stability of the power system.

[0041] In some embodiments, reference Figure 2 The expected state includes the expected performance index of the loop component. Accordingly, step 102 analyzes the digital model to obtain the expected state corresponding to each loop component, including the following steps: Step 201 : for each loop component, determine the associated components of the loop component based on the digital model.

[0042] Among them, the associated component refers to other loop components in the secondary loop that have an associated relationship with the loop component. In one example, the associated component is determined from other loop components that have a connection relationship with the loop component. In one instance, a specific type of loop component that has a connection relationship with the loop component is determined as an associated component. For example: a sensor connected to a measuring instrument is determined as an associated component of the measuring instrument; in another example, all loop components connected to the loop component are determined as associated components, for example: all loop components connected to a controller are determined as associated components of the controller.

[0043] In another example, the associated component is determined based on a positional relationship with the loop component. In one example, a loop component of a specific type whose distance to the loop component is less than a preset distance threshold is determined as an associated component.

[0044] In other examples, the association relationship between the loop components may also be recorded in the design information of the secondary loop. In this case, during the construction of the digital model, the association relationship recorded in the design information will be converted and recorded in the digital model. In this way, the association relationship between the loop components can be determined by analyzing the digital model.

[0045] In actual implementation, the methods for determining associated components of different types of loop components may be different and can be preset according to actual conditions.

[0046] Optionally, after determining the associated components of the loop component based on the digital model, the method further includes: for each loop component, analyzing the associated components corresponding to the loop component to determine whether the loop component is missing necessary associated components, and the necessary associated components are not included in the associated components; in the case where it is determined that the loop component is missing necessary associated components, determining that there is an error in the design information; in the case where it is determined that the loop component is not missing necessary associated components, performing the step of determining the expected performance index of the loop component based on the design performance index of the associated components, that is, performing step 202. In this way, the missing components in the secondary loop can be verified, which can help to find the problem of abnormal operation of the components that may be caused by the missing components during the verification process, and thus can help to improve the reliability and stability of the power system.

[0047] Among them, the necessary associated components refer to the associated components that are necessary for the loop components to function. For example, if the loop component is a current transformer, the necessary associated components include an ammeter.

[0048] In one example, analyzing the associated components corresponding to the loop component includes: determining a necessary associated component list based on the type of the loop component; and analyzing the associated components corresponding to the loop component based on the necessary associated component list to determine whether the loop component is indeed a necessary associated component.

[0049] Among them, a list of necessary associated components corresponding to different types of loop components is pre-set, and the necessary associated component list records the necessary associated components corresponding to the loop component.

[0050] Step 202: determining the expected performance index of the circuit component based on the design performance index of the associated component.

[0051] The design performance index includes data related to component performance, such as component model and performance parameters. The design performance index is read from the design information during the construction of the digital model and recorded in the digital model.

[0052] Specifically, due to the association between the associated components and the loop components, in order to ensure that the associated components can function normally, the loop components need to meet certain performance conditions, that is, meet the minimum requirements corresponding to the associated components. Therefore, the expected performance indicators of the loop components can be determined based on the design performance indicators of the associated components.

[0053] In one example, there may be multiple associated components. In this case, the expected performance indicators of the loop components are determined in combination with the design performance indicators of the associated components, including: for each associated component, the reference performance indicators of the loop components are determined in combination with the component parameters of the associated components; the reference performance indicators corresponding to each associated component are fused to obtain the expected performance indicators of the loop components, so that the expected performance indicators finally determined meet each reference performance indicator at the same time. For example: in the fusion process, for the overlapping index items in the reference performance indicators, the best index value corresponding to the index item in each reference performance indicator can be determined as the index value corresponding to the index item in the expected performance indicator.

[0054] Furthermore, the expected performance index of the circuit component is determined based on the design performance index of the associated component, including: obtaining the primary circuit information corresponding to the secondary circuit; determining the actual application requirements based on the primary circuit information; and determining the expected performance index of the circuit component based on the actual application requirements and the design performance index of the associated component. In this way, the expected performance index of the circuit component can be determined in combination with the design situation of the primary circuit corresponding to the secondary circuit, so that the requirements of the corresponding primary circuit can be comprehensively considered during the verification of the secondary circuit, which can help improve the accuracy of the secondary circuit verification results.

[0055] In one example, the primary circuit information includes a design scheme of the primary circuit. Specifically, the primary circuit information may include specific requirements of the power system, parameters of electrical equipment, and operating characteristics of the system. In actual implementation, the primary circuit information may directly include a design diagram of the primary circuit.

[0056] Accordingly, the actual application requirements are used to indicate factors that need to be considered in actual application. Specifically, the actual application requirements may include system voltage and current, equipment capacity, system protection requirements, and control and automation requirements.

[0057] In one example, the expected performance indicators of the loop components are determined based on the actual application requirements and the design performance indicators of the associated components, including: determining the reference application requirements from the actual application requirements based on the type of the associated components; determining the expected performance indicators of the loop components based on the reference application requirements and the component parameters of the associated components. The reference application requirements match the type of the associated components. For example: the type of the associated component is a measuring device or a protection device, and accordingly, the reference application requirements may include system voltage, current, equipment capacity, etc.; for another example: the type of the associated component is a protection device, and accordingly, the reference application requirements may include a loop protection scheme, including at least one of current protection, short circuit protection, and differential protection.

[0058] In the above implementation, the associated components of the loop component can be determined based on the digital model, and the expected performance indicators of the loop component can be determined based on the design performance indicators of the associated components. This can help to accurately determine the expected performance indicators corresponding to the loop component, and then the expected performance indicators can be used to assist in judging whether the design of the loop component meets the requirements.

[0059] Furthermore, in some embodiments, the expected state also includes an expected connection relationship between loop components. Accordingly, step 102, parsing the digital model to obtain the expected state corresponding to each loop component, also includes: for each associated component, determining the expected connection relationship between the loop component and the associated component in combination with the expected performance index of the loop component and the design performance index of the associated component.

[0060] The connection relationship may be represented by connection mode, connection parameters (eg, cross-sectional area of ​​the conductor), and other factors that may affect the connection effect.

[0061] Optionally, the expected connection relationship between the loop component and the associated components is determined in combination with the expected performance indicators of the loop component and the design performance indicators of the associated components, including: determining the expected connection method based on the type of the loop component and the type of the associated components; determining the first reference connection parameter based on the expected connection method and the expected performance indicator corresponding to the loop component; determining the second reference connection parameter based on the expected connection method and the design performance indicator of the associated components; selecting the expected connection parameter from the first reference connection parameter and the second reference connection parameter; and determining the expected connection relationship based on the expected connection method and the expected connection parameter.

[0062] In one example, the relatively better one of the first reference connection parameter and the second reference connection parameter is determined as the expected connection parameter. For example, the first reference connection parameter and the second reference connection parameter are both the cross-sectional area of ​​the wire. At this time, the relatively larger one of the first reference connection parameter and the second reference connection parameter is determined as the expected connection parameter. In this way, the expected connection parameter can meet the connection requirements of the loop component and the associated component at the same time.

[0063] In the above implementation, when the associated components are determined, the expected connection relationship between the loop component and the associated components can be further determined in combination with the expected performance indicators of the loop component and the design performance indicators of the associated components, and then the expected connection relationship can be used to assist in judging whether the connection relationship of the loop components meets the requirements.

[0064] Based on the above technical solution, further reference Figure 3 In step 103, determining whether the design state of the loop component matches the expected state corresponding to the loop component includes the following steps: Step 301 : Determine whether the design performance index of the loop component is lower than the expected performance index corresponding to the loop component.

[0065] In one example, the loop component includes a measuring instrument, and accordingly, the performance indicator includes a range of the measuring instrument. In this case, it is necessary to determine whether the design range of the measuring instrument is smaller than the expected range of the measuring instrument.

[0066] In another example, the circuit component includes a relay, and the corresponding performance index includes a withstand voltage specification. In this case, it is necessary to determine whether the designed withstand voltage specification of the relay is less than the expected withstand voltage specification of the relay.

[0067] Step 302 : when the design performance index of the loop component is lower than the expected performance index corresponding to the loop component, determine that the design state of the loop component does not match the expected state of the loop component.

[0068] Step 303 : when the design performance index of the loop component is not lower than the expected performance index corresponding to the loop component, determine whether the design connection relationship between the loop component and the associated component matches the expected connection relationship.

[0069] Optionally, determining whether the designed connection relationship between the loop component and the associated component matches the expected connection relationship includes: determining whether the designed connection mode between the loop component and the associated component is the same as the expected connection mode; if not, determining that the designed connection relationship does not match the expected connection relationship.

[0070] Furthermore, when it is determined that the design connection mode between the loop component and the associated component is the same as the expected connection mode, it is further determined whether the design connection parameters between the loop component and the associated component are better than the expected connection parameters; if not, it is determined that the design connection relationship does not match the expected connection relationship. For example, taking the connection parameter as the cross-sectional area of ​​the wire as an example, when the design cross-sectional area is not less than the expected cross-sectional area, it is determined that the design connection parameter is better than the expected connection parameter.

[0071] Step 304 : when the designed connection relationship between the loop component and the associated component does not match the expected connection relationship, determine that the designed state of the loop component does not match the expected state of the loop component.

[0072] When the designed connection relationship between the loop component and the associated component matches the expected connection relationship, it can be directly determined that the designed state of the loop component matches the expected state of the loop component, or it can be further determined based on other methods whether the designed state matches the expected state.

[0073] In the above implementation, whether the design state of the loop component matches the expected state can be comprehensively judged based on the matching relationship between the design performance indicators of the loop component and the expected performance indicators, as well as the matching relationship between the design connection relationship and the expected connection relationship. In this way, the design of the loop component can be analyzed from multiple dimensions, which can help improve the accuracy of the loop component verification results.

[0074] In some embodiments, reference Figure 4 , step 101, constructing a digital model corresponding to the secondary circuit based on the design information of the secondary circuit, including the following steps: Step 401, parse the secondary circuit design information to obtain initial components and connection relationships between the initial components.

[0075] Specifically, the secondary circuit design information may be a text document and / or a circuit diagram. In this embodiment, processing of the text document in the secondary circuit design information is taken as an example for description.

[0076] Accordingly, the secondary circuit design information is parsed, including: parsing the component information in the text document to obtain the initial components; parsing the context of the corresponding position of the component information in the text document to obtain the connection relationship between the initial components.

[0077] In one example, parsing component information in a text document to obtain an initial component includes: using a pre-trained natural language processing (NLP) model to identify building entities in the text document to obtain the initial component.

[0078] The NLP model is obtained by training the initial network model using training data, wherein the training data includes at least one set of sample data, each set of sample data includes text information and component labels corresponding to the text information. In actual implementation, the text information can be obtained from historical secondary circuit design documents.

[0079] In actual implementation, different components may have different frequencies of occurrence in the training data, so the following loss function can be used in the process of NLP model training: Where L is the overall loss value; i is used to represent different components; w i is the weight of component i, which is a preset value; γ is a constant greater than 1; P i R is the proportion of samples correctly identified as component i by the model to all samples identified as component i by the model; i is the proportion of samples correctly identified as component i by the model to all samples that are actually component i; j is used to represent different samples of component i; w ij is the weight of sample j of component i; y ij is the label corresponding to sample j of component i; is the recognition result of sample j of component i.

[0080] In this embodiment, the weights corresponding to different samples are preset. In actual implementation, in order to further improve the training effect, the weights corresponding to the samples can be dynamically adjusted in the training process in combination with the recognition results of the model for different samples. For example, if the error rate of the model for recognizing a certain sample is high, the weight of the sample is increased; if the error rate of the model for recognizing a certain sample is low, the weight of the sample is reduced.

[0081] In the above implementation, since the entity weights and sample weights can be integrated in the process of calculating the overall loss value, and the overall loss value can be adjusted through parameters based on the model's learning results for different entities, it can help improve the accuracy of the overall loss value calculation, and further help improve the effect of model training.

[0082] In one example, when the design information includes the performance indicators of the components, the performance indicators of the initial components can be obtained by parsing the component information in context. In actual implementation, the design information may only include the component name and model. In this case, when the model is parsed, the performance indicators corresponding to the model need to be determined according to the relevant normative documents.

[0083] Step 402: based on a preset formatting rule, convert the initial component into a corresponding loop component.

[0084] Specifically, the formatting rules include several common names of loop components. During the conversion process, if the initial component matches the common name of a loop component, the initial component can be converted into the loop component, so that the normalization of the same components can be achieved, reducing the impact of the expression differences in the secondary loop design information on the construction of the digital model.

[0085] Step 403: construct a digital model based on the loop components and the connection relationships between the loop components.

[0086] In the above implementation, the initial components obtained by parsing the secondary loop design information can be converted into loop components based on formatting rules, and a digital model can be constructed based on the connection relationship between the loop components. In this way, the same components in the secondary loop design information can be normalized, reducing the impact of the expression differences in the secondary loop design information on the construction of the digital model, which can help improve the accuracy of the digital model components.

[0087] The present application also provides an electronic device. Figure 5 As shown, Figure 5 The electronic device 500 shown includes: a processor 501 and a memory 503. The processor 501 and the memory 503 are connected, such as through a bus 502. Optionally, the electronic device 500 may also include a transceiver 504. It should be noted that in actual applications, the transceiver 504 is not limited to one, and the structure of the electronic device 500 does not constitute a limitation on the embodiments of the present application.

[0088] Processor 501 may be a CPU (Central Processing Unit), a general-purpose processor, a DSP (Digital Signal Processor), an ASIC (Application Specific Integrated Circuit) or other programmable logic devices, transistor logic devices, hardware components or any combination thereof. It may implement or execute various exemplary logic blocks, modules and circuits described in conjunction with the disclosure of this application. Processor 501 may also be a combination that implements computing functions, such as a combination of one or more microprocessors, a combination of a DSP and a microprocessor, etc.

[0089] The bus 502 may include a path to transmit information between the above components. The bus 502 may be a PCI (Peripheral Component Interconnect) bus or an EISA (Extended Industry Standard Architecture) bus. The bus 502 may be divided into an address bus, a data bus, etc. For ease of representation, Figure 5 Only one thick line is used in the diagram, but this does not mean that there is only one bus or only one type of bus.

[0090] The memory 503 can be a ROM (Read Only Memory) or other types of static storage devices that can store static information and instructions, a RAM (Random Access Memory) or other types of dynamic storage devices that can store information and instructions, or an EEPROM (Electrically Erasable Programmable Read Only Memory), a disk storage medium or other magnetic storage device, or any other medium that can be used to carry or store the desired program code in the form of instructions or data structures and can be accessed by a computer, but is not limited to these.

[0091] The memory 503 is used to store the application code for executing the solution of the present application, and the execution is controlled by the processor 501. The processor 501 is used to execute the application code stored in the memory 503 to implement the contents shown in the above method embodiment.

[0092] The electronic devices include, but are not limited to, mobile terminals such as mobile phones, notebook computers, PDAs (personal digital assistants), PADs (tablet computers), etc., and fixed terminals such as digital TVs, desktop computers, etc. It can also be a server terminal, etc. Figure 5 The electronic device shown is merely an example and should not bring any limitation to the functions and scope of use of the embodiments of the present application.

[0093] An embodiment of the present application also provides a computer-readable storage medium having a computer program stored thereon. When the computer program is executed in a computer, the computer is caused to execute the power system secondary circuit design information verification method provided in the above embodiment.

[0094] It should be understood that although the steps in the flowchart of the accompanying drawings are shown in sequence according to the instructions of the arrows, these steps are not necessarily performed in the order indicated by the arrows. Unless otherwise clearly stated in this document, the execution of these steps is not strictly limited in order and can be performed in other orders.

[0095] The above are only some implementation methods of the present application. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principles of the present application. These improvements and modifications should also be regarded as the scope of protection of the present application.

Claims

1. A method for checking design information of secondary circuits in a power system, characterized in that: The method comprises: Building a digital model corresponding to the secondary circuit based on the design information of the secondary circuit, wherein the digital model includes at least two circuit components and connection relationships between the circuit components; Analyzing the digital model to obtain the expected state corresponding to each loop component; For each of the loop components, determining whether a design state of the loop component matches an expected state corresponding to the loop component; In the case where there is a circuit component whose design state does not match the expected state, it is determined that there is a design error in the secondary circuit.

2. The method according to claim 1, characterized in that The expected state includes the expected performance index of the loop component; the digital model is parsed to obtain the expected state corresponding to each loop component, including: For each of the loop components, determining an associated component of the loop component based on the digital model, wherein the associated component refers to other loop components in the secondary loop that are associated with the loop component; The expected performance index of the circuit component is determined based on the design performance index of the associated component.

3. The method according to claim 2, characterized in that The determining the expected performance index of the loop component based on the associated component includes: Obtaining primary circuit information corresponding to the secondary circuit; Determining actual application requirements based on the primary circuit information; The expected performance index of the loop component is determined based on the actual application requirements and the design performance index of the associated component.

4. The method according to claim 2, characterized in that: The determining of the associated components of the loop component based on the digital model further includes: For each of the loop components, analyzing the associated components corresponding to the loop component to determine whether the loop component is missing a necessary associated component, the necessary associated component is not included in the associated components; In the case where it is determined that the loop component lacks the necessary associated component, determining that there is an error in the design information; In the case where it is determined that the loop component does not lack the necessary associated component, it is determined that the design exists.

5. The method according to claim 2, characterized in that: The expected state also includes the expected connection relationship between the loop components; the analysis of the digital model to obtain the expected state corresponding to each loop component also includes: For each of the associated components, the expected connection relationship between the loop component and the associated component is determined in combination with the expected performance index of the loop component and the design performance index of the associated component.

6. The method according to claim 5, characterized in that The determining whether the design state of the loop component matches the expected state corresponding to the loop component includes: Determining whether a design performance index of the loop component is lower than an expected performance index corresponding to the loop component; In the case where the design performance index of the loop component is lower than the expected performance index corresponding to the loop component, determining that the design state of the loop component does not match the expected state of the loop component; In the case where the design performance index of the loop component is not lower than the expected performance index corresponding to the loop component, determining whether the design connection relationship between the loop component and the associated component matches the expected connection relationship; In the case where the designed connection relationship between the loop component and the associated component does not match the expected connection relationship, it is determined that the designed state of the loop component does not match the expected state of the loop component.

7. The method according to claim 1, characterized in that The constructing of a digital model corresponding to the secondary circuit based on the design information of the secondary circuit includes: Parsing the secondary circuit design information to obtain initial components and connection relationships between the initial components; Based on a preset formatting rule, converting the initial component into a corresponding loop component; The digital model is constructed based on the loop components and the connection relationships between the loop components.

8. The method according to claim 1, characterized in that After determining that the secondary circuit has a design error, the method further includes: Determining an error position corresponding to the design error; The error position is marked in the digital model to prompt the designer to handle the design error.

9. An electronic device, characterized in that: The electronic device comprises: at least one processor; Memory; At least one application, wherein the at least one application is stored in a memory and configured to be executed by at least one processor, and the at least one application is configured to: execute the power system secondary circuit design information verification method as described in any one of claims 1 to 8.

10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed in a computer, the computer is caused to execute the power system secondary circuit design information verification method according to any one of claims 1 to 8.