Multi-thread-based probabilistic security analysis model calculation speed increasing method

By splitting the probability safety analysis model into sub-cases and using multi-threaded computing technology, the problem of slow computing speed in nuclear power plants is solved, and the calculation speed is significantly improved and the accuracy is maintained, which is suitable for risk decisions in nuclear power plants.

CN119201426APending Publication Date: 2024-12-27SANMEN NUCLEAR POWER CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411151229.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-21
Publication Date
2024-12-27

AI Technical Summary

Technical Problem

The calculation speed of the probability safety analysis model in nuclear power plants is slow, which affects the application, especially when modeling detailed modeling instrumentation and control systems, which seriously slows down, affecting the risk evaluation results of the nuclear power plants.

Method used

Split the probability security analysis model into multiple sub-cases, and use multi-threaded computing technology to calculate the results of each sub-case in the modeling software at the same time. Finally, the sub-case results are summed to obtain the final calculation result to ensure that the calculation accuracy is not reduced.

Benefits of technology

The calculation speed of the probability safety analysis model has been significantly improved, making it more suitable for the actual needs of nuclear power plants, and ensuring the accuracy and efficiency of risk decisions.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119201426A_ABST
    Figure CN119201426A_ABST
Patent Text Reader

Abstract

The invention particularly relates to a multithreading-based probabilistic security analysis model calculation speed increasing method, which comprises the following steps of: splitting a probabilistic security analysis model into a plurality of sub-cases according to a case splitting basis of the probabilistic security analysis model; performing simultaneous calculation on each sub-case to obtain a calculation result of each sub-case; and summing the calculation results of the sub-cases to obtain the calculation result of the split probabilistic safety analysis model. According to the multi-thread-based probabilistic security analysis model calculation speed increasing method, the calculation speed of the probabilistic security analysis model is greatly increased on the premise that the precision of the probabilistic security analysis model is not reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of probabilistic safety analysis of nuclear power plants, and in particular to a method for improving the calculation speed of a probabilistic safety analysis model based on multithreading. Background Art

[0002] With the continuous in-depth application of probabilistic safety analysis technology in nuclear power plants, the probabilistic safety analysis model has gradually become more detailed to meet the greater use needs of nuclear power plants. Although this improves the accuracy of the risk assessment results of nuclear power plant configuration, it will also slow down the calculation speed of the probabilistic safety analysis model and affect the use of nuclear power plant personnel. If the instrumentation and control system modeling is detailed in the probabilistic safety analysis model during the operation phase according to the use needs of the nuclear power plant, the calculation speed of the probabilistic safety analysis model will be seriously slowed down, thereby affecting the application of the probabilistic safety analysis model in nuclear power plants. Summary of the invention

[0003] The purpose of the present invention is to provide a method for improving the calculation speed of a probabilistic safety analysis model based on multi-threading, so as to solve the problem of slow calculation speed of complex probabilistic safety analysis models and achieve a significant improvement in the calculation speed of the probabilistic safety analysis model without reducing the accuracy of the probabilistic safety analysis model.

[0004] In order to achieve the above object, the present invention provides the following technical solutions:

[0005] A method for improving the calculation speed of a probabilistic safety analysis model based on multithreading includes the following steps:

[0006] According to the case splitting basis of the probabilistic safety analysis model, the probabilistic safety analysis model is split into multiple sub-cases;

[0007] Calculate each sub-case simultaneously to obtain the calculation results of each sub-case;

[0008] The calculation results of each sub-case are added together to obtain the calculation results of the probabilistic safety analysis model after splitting.

[0009] As one of the feasible methods, the case splitting of the probabilistic safety analysis model needs to meet the following conditions:

[0010] The number of threads on the computer is sufficient to support simultaneous calculation of sub-cases after the probabilistic safety analysis model is split;

[0011] The size of the sub-cases after the probabilistic safety analysis model is split is within a reasonable range to avoid excessive differences in calculation speed between sub-cases.

[0012] As one of the feasible ways, each sub-case is calculated simultaneously to obtain the calculation results of each sub-case, including the following steps:

[0013] In the modeling software, a calculation case is established for each subcase;

[0014] Control the calculation scope of each calculation case;

[0015] According to the calculation scope of each calculation case, the boundary conditions corresponding to each calculation case are established and attached to each calculation case;

[0016] Each calculation case is calculated simultaneously to obtain the calculation results of each sub-case.

[0017] As one of the feasible ways, the calculation scope of the calculation case is controlled by an event tree, that is, all event trees related to the corresponding sub-cases are associated in the calculation case.

[0018] As another feasible method, the calculation scope of the calculation case is controlled by the room type event, that is, a room type event is attached to each fault tree edge related to the sub-case corresponding to the calculation case.

[0019] As one of the feasible ways, if there is a situation in the calculation case that is related to the corresponding sub-case but has no fault tree, a fault tree is created for this purpose to connect the room type event.

[0020] As one of the feasible ways, the calculation results of each sub-case are added together to obtain the calculation results of the probabilistic safety analysis model after the split, including the following steps:

[0021] In the post-processing of the modeling software, the calculation results of each sub-case are added to the same post-processing case to sum and post-process the calculation results of each sub-case to obtain the calculation results of the probabilistic safety analysis model after splitting.

[0022] As one of the feasible ways, the method for improving the calculation speed of the probabilistic safety analysis model based on multi-threading also includes: verifying the correctness of the calculation results of the probabilistic safety analysis model after splitting.

[0023] As one of the feasible ways, verifying the correctness of the calculation results of the split probabilistic safety analysis model includes the following steps:

[0024] Export the cut set of the calculation results of the probabilistic safety analysis model after splitting;

[0025] Compare the cut set of the calculation results of the probabilistic safety analysis model after the split with the cut set of the calculation results of the probabilistic safety analysis model before the split;

[0026] If the difference between the cut set of the calculation result of the probabilistic safety analysis model after the split and the cut set of the calculation result of the probabilistic safety analysis model before the split is within the set reasonable range, then the calculation result of the probabilistic safety analysis model after the split is determined to be correct;

[0027] If the difference between the cut set of the calculation results of the probabilistic safety analysis model after the split and the cut set of the calculation results of the probabilistic safety analysis model before the split exceeds the set reasonable range, it is determined that the calculation results of the probabilistic safety analysis model after the split are incorrect.

[0028] As one of the achievable methods, the order, value and quantity of the cut set of the calculation result of the probabilistic safety analysis model after the splitting are compared with the cut set of the calculation result of the probabilistic safety analysis model before the splitting;

[0029] If the differences in the order, value and quantity of the cut sets of the calculation results of the probabilistic safety analysis model after the split and the cut sets of the calculation results of the probabilistic safety analysis model before the split are all within the set reasonable range, then the calculation results of the probabilistic safety analysis model after the split are determined to be correct;

[0030] If any difference in the order, value and quantity of the cut set of the calculation results of the probabilistic safety analysis model after the split and the cut set of the calculation results of the probabilistic safety analysis model before the split exceeds the set reasonable range, it is determined that the calculation results of the probabilistic safety analysis model after the split are incorrect.

[0031] Beneficial technical effects of the present invention:

[0032] The method for improving the calculation speed of a probabilistic safety analysis model based on multi-threading of the present invention utilizes the calculation characteristics of modeling software and the modeling structure of the probabilistic safety analysis model to split the probabilistic safety analysis model into multiple sub-cases according to modeling elements, and uses the modeling software to establish a calculation case for each sub-case. Then, the multi-threading of the computer is used to realize simultaneous calculation of multiple calculation cases. Finally, the calculation results of the multiple sub-cases are summed to obtain the calculation result of the probabilistic safety analysis model, thereby achieving a significant improvement in the calculation accuracy and speed of the probabilistic safety analysis model, making the probabilistic safety analysis model closer to the actual situation of the nuclear power plant, and ensuring that the nuclear power plant can better use the probabilistic safety analysis technology for risk decision-making. BRIEF DESCRIPTION OF THE DRAWINGS

[0033] Figure 1 The present invention is a flowchart of a method for improving the calculation speed of a probabilistic safety analysis model based on multithreading according to an embodiment of the present invention. DETAILED DESCRIPTION

[0034] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by technicians in the technical field to which this application belongs; the terms used in the specification of the application are only for the purpose of describing specific embodiments and are not intended to limit this application; the terms "including" and "having" and any variations thereof in the specification and claims of this application and the above-mentioned figure descriptions are intended to cover non-exclusive inclusions.

[0035] Reference to "embodiments" herein means that a particular feature, structure, or characteristic described in conjunction with the embodiments may be included in at least one embodiment of the present application. The appearance of the phrase in various locations in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment that is mutually exclusive with other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described herein may be combined with other embodiments.

[0036] The technical solution of the present invention is clearly and completely described below in conjunction with the accompanying drawings and specific embodiments.

[0037] Probabilistic safety analysis models are usually continuously refined as they are applied in nuclear power plants. Although this improves the calculation accuracy of the probabilistic safety analysis model and makes the probabilistic safety analysis model closer to the actual operating status of the unit, it will also cause the calculation speed of the probabilistic safety analysis model to slow down and even affect the application of the probabilistic safety analysis model in nuclear power plants.

[0038] See also Figure 1 In order to solve the above problems, this embodiment provides a method for improving the calculation speed of a probabilistic safety analysis model based on multithreading, comprising the following steps:

[0039] According to the case splitting basis of the probabilistic safety analysis model, the probabilistic safety analysis model is split into multiple sub-cases;

[0040] Calculate each sub-case simultaneously to obtain the calculation results of each sub-case;

[0041] The calculation results of each sub-case are added together to obtain the calculation results of the probabilistic safety analysis model after splitting.

[0042] The probabilistic safety analysis model is composed of multiple elements such as initiating events, number of events, fault trees, and consequence cases. These elements can all be used as the basis for case splitting of the probabilistic safety analysis model. However, it is necessary to consider whether the selected probabilistic safety analysis model case splitting basis can reasonably divide the probabilistic safety analysis model into multiple sub-cases. In this embodiment, as one of the feasible methods, the probabilistic safety analysis model case splitting basis needs to meet the following conditions:

[0043] The number of threads on the computer is sufficient to support simultaneous calculation of sub-cases after the probabilistic safety analysis model is split;

[0044] The size of the sub-cases after the probabilistic safety analysis model is split is within a reasonable range to avoid excessive differences in calculation speed between sub-cases.

[0045] In this embodiment, as one of the achievable methods, each sub-case is calculated simultaneously to obtain the calculation result of each sub-case, including the following steps:

[0046] In the modeling software, a calculation case is established for each subcase;

[0047] Control the calculation scope of each calculation case;

[0048] According to the calculation scope of each calculation case, the boundary conditions corresponding to each calculation case are established and attached to each calculation case, so as to distinguish the calculation scope of different calculation cases;

[0049] Each calculation case is calculated simultaneously to obtain the calculation results of each sub-case.

[0050] In this embodiment, as one of the achievable methods, the calculation scope of the calculation case is controlled by an event tree, that is, all event trees related to the corresponding sub-cases are associated in the calculation case, including related transfer trees.

[0051] In this embodiment, as another achievable method, the calculation scope of the calculation case is controlled by the room type event, that is, a room type event is attached to each fault tree edge related to the sub-case corresponding to the calculation case.

[0052] In this embodiment, as one of the achievable methods, if there is a situation in the calculation case that is related to the corresponding sub-case but there is no fault tree, a fault tree is created for this purpose to connect the room type event.

[0053] For example, if the input of the initiating event in the subcase is a basic event, a fault tree is created for this purpose, and the basic event referenced by the initiating event is hung under the created fault tree, and it is hung with the corresponding room type event using an AND gate, and then the fault tree is used as the input of the initiating event in the event tree.

[0054] In this embodiment, as one of the achievable methods, the calculation results of each sub-case are added together to obtain the calculation results of the probabilistic safety analysis model after the splitting, including the following steps:

[0055] In the post-processing of the modeling software, the calculation results of each sub-case are added to the same post-processing case to sum and post-process the calculation results of each sub-case to obtain the calculation results of the probabilistic safety analysis model after splitting.

[0056] In this embodiment, as one of the achievable ways, the method for improving the calculation speed of the probabilistic safety analysis model based on multithreading further includes: verifying the correctness of the calculation result of the probabilistic safety analysis model after splitting;

[0057] Verify the correctness of the calculation results of the split probabilistic safety analysis model, including the following steps:

[0058] Export the cut set of the calculation results of the probabilistic safety analysis model after splitting;

[0059] Compare the cut set of the calculation results of the probabilistic safety analysis model after the split with the cut set of the calculation results of the probabilistic safety analysis model before the split;

[0060] If the difference between the cut set of the calculation result of the probabilistic safety analysis model after the split and the cut set of the calculation result of the probabilistic safety analysis model before the split is within the set reasonable range, then the calculation result of the probabilistic safety analysis model after the split is determined to be correct;

[0061] If the difference between the cut set of the calculation results of the probabilistic safety analysis model after the split and the cut set of the calculation results of the probabilistic safety analysis model before the split exceeds the set reasonable range, it is determined that the calculation results of the probabilistic safety analysis model after the split are incorrect.

[0062] In this embodiment, as one of the achievable methods, the order, value and quantity of the cut set of the probabilistic safety analysis model calculation results after the splitting are compared with the cut set of the probabilistic safety analysis model calculation results before the splitting;

[0063] If the differences in the order, value and quantity of the cut sets of the calculation results of the probabilistic safety analysis model after the split and the cut sets of the calculation results of the probabilistic safety analysis model before the split are all within the set reasonable range, then the calculation results of the probabilistic safety analysis model after the split are determined to be correct;

[0064] If the difference in any of the order, value and quantity of the cut set of the calculation results of the probabilistic safety analysis model after the split and the cut set of the calculation results of the probabilistic safety analysis model before the split exceeds the set reasonable range, it is determined that the calculation results of the probabilistic safety analysis model after the split are incorrect.

[0065] The above-mentioned embodiments only express several implementation methods of the present invention, and the description thereof is relatively specific and detailed, but it cannot be understood as limiting the scope of the patent of the present invention. It should be pointed out that, for ordinary technicians in this field, several variations and improvements can be made without departing from the concept of the present invention, which all belong to the protection scope of the present invention. Therefore, the protection scope of the patent of the present invention shall be subject to the attached claims.

Claims

1. A method for improving the calculation speed of a probabilistic safety analysis model based on multithreading, characterized in that: The steps include: According to the case splitting basis of the probabilistic safety analysis model, the probabilistic safety analysis model is split into multiple sub-cases; Calculate each sub-case simultaneously to obtain the calculation results of each sub-case; The calculation results of each sub-case are added together to obtain the calculation results of the probabilistic safety analysis model after splitting.

2. The method for improving the calculation speed of the probabilistic safety analysis model according to claim 1, characterized in that: The case splitting basis of the probabilistic safety analysis model needs to meet the following conditions: The number of threads on the computer is sufficient to support simultaneous calculation of sub-cases after the probabilistic safety analysis model is split; The size of sub-cases after splitting the probabilistic safety analysis model is within the set reasonable range.

3. The method for improving the calculation speed of the probabilistic safety analysis model according to claim 1, characterized in that: Simultaneously calculating each sub-case to obtain the calculation results of each sub-case includes the following steps: In the modeling software, a calculation case is established for each subcase; Control the calculation scope of each calculation case; According to the calculation scope of each calculation case, the boundary conditions corresponding to each calculation case are established and attached to each calculation case; Each calculation case is calculated simultaneously to obtain the calculation results of each sub-case.

4. The method for improving the calculation speed of the probabilistic safety analysis model according to claim 3 is characterized in that: The scope of calculation cases is controlled through the event tree.

5. The method for improving the calculation speed of the probabilistic safety analysis model according to claim 3, characterized in that: The calculation scope of the calculation case is controlled by the room type event, that is, a room type event is attached to each fault tree edge related to the sub-case corresponding to the calculation case.

6. The method for improving the calculation speed of the probabilistic safety analysis model according to claim 5, characterized in that: If there is a situation in the calculation case that is related to the corresponding sub-case but there is no fault tree, a fault tree is created for this purpose to connect the room type event.

7. The method for improving the calculation speed of the probabilistic safety analysis model according to claim 1, characterized in that: The calculation results of each sub-case are added together to obtain the calculation results of the probabilistic safety analysis model after splitting, which includes the following steps: In the post-processing of the modeling software, the calculation results of each sub-case are added into the same post-processing case to sum and post-process the calculation results of each sub-case to obtain the calculation results of the probabilistic safety analysis model after splitting.

8. The method for improving the calculation speed of the probabilistic safety analysis model according to claim 1, characterized in that: Also includes: Verify the correctness of the calculation results of the probabilistic safety analysis model after splitting.

9. The method for improving the calculation speed of the probabilistic safety analysis model according to claim 8, characterized in that: Verify the correctness of the calculation results of the split probabilistic safety analysis model, including the following steps: Export the cut set of the calculation results of the probabilistic safety analysis model after splitting; Compare the cut set of the calculation results of the probabilistic safety analysis model after the split with the cut set of the calculation results of the probabilistic safety analysis model before the split; If the difference between the cut set of the calculation result of the probabilistic safety analysis model after the split and the cut set of the calculation result of the probabilistic safety analysis model before the split is within the set reasonable range, then the calculation result of the probabilistic safety analysis model after the split is determined to be correct; If the difference between the cut set of the calculation results of the probabilistic safety analysis model after the split and the cut set of the calculation results of the probabilistic safety analysis model before the split exceeds the set reasonable range, it is determined that the calculation results of the probabilistic safety analysis model after the split are incorrect.

10. The method for improving the calculation speed of the probabilistic safety analysis model according to claim 9, characterized in that: The order, value and quantity of the cut sets of the calculation results of the probabilistic safety analysis model after the splitting are compared with those of the cut sets of the calculation results of the probabilistic safety analysis model before the splitting; If the differences in the order, value and quantity of the cut sets of the calculation results of the probabilistic safety analysis model after the split and the cut sets of the calculation results of the probabilistic safety analysis model before the split are all within the set reasonable range, then the calculation results of the probabilistic safety analysis model after the split are determined to be correct; If the difference in any of the order, value and quantity of the cut set of the calculation results of the probabilistic safety analysis model after the split and the cut set of the calculation results of the probabilistic safety analysis model before the split exceeds the set reasonable range, it is determined that the calculation results of the probabilistic safety analysis model after the split are incorrect.