Simulation method and device of nuclear reactor, computer equipment and storage medium

CN116401815BActive Publication Date: 2026-10-27CHINA NUCLEAR POWER TECH RES INST CO LTD +2
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202310148607.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-02-03
Publication Date
2026-10-27
Estimated Expiration
2043-02-03

AI Technical Summary

Technical Problem

[0004]然而,现有的核反应堆仿真方法无法统一对不同类型的核反应堆进行仿真,难以将不同类型的核反应堆仿真模型标准化,无法快速适配核反应堆仿真软件

Benefits of technology

[0041]上述核反应堆的仿真方法、装置、计算机设备和存储介质,通过获取待仿真的核反应堆模型和该仿真模型的仿真要素,分别生成该核反应堆模型的功能关系描述文件和要素描述文件;进一步的,将功能关系描述文件和要素描述文件转换为目标仿真软件支持的输入对象,以使目标仿真软件对输入对象进行仿真,实现了将生成的核反应堆仿真模型标准化,能够快速适配核反应堆仿真软件的效果。

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116401815B_ABST
    Figure CN116401815B_ABST
Patent Text Reader

Abstract

The application relates to a simulation method and device of a nuclear reactor, computer equipment and a storage medium. The method comprises the following steps: obtaining a nuclear reactor model to be simulated and simulation elements of the nuclear reactor model; generating a function relationship description file of the nuclear reactor model and an element description file of the simulation elements; converting the function relationship description file of the nuclear reactor model and the element description file into input objects supported by target simulation software, and simulating the input objects through the target simulation software. The method can standardize the generated nuclear reactor simulation model, quickly adapt various nuclear reactor simulation software, and improve the efficiency of technical personnel.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of nuclear reactor simulation modeling technology, and in particular to a nuclear reactor simulation method, apparatus, computer equipment, and storage medium. Background Technology

[0002] Simulation is a comprehensive technology that uses computer science and technology to build models of simulated objects and conduct dynamic experiments and tests on these models under certain experimental conditions. It has advantages such as high efficiency, safety, economy, less susceptibility to environmental constraints, and the ability to adjust the time scale, and has become an important tool for analysis, design, operation, evaluation, and training (especially for complex systems).

[0003] Due to the complexity of nuclear reactor systems and operations, nuclear reactor simulation methods are all targeted at specific professional fields of analysis, including reactor physics, radiation shielding, thermal fluid dynamics, safety analysis, fuel behavior, chemistry, and structural mechanics.

[0004] However, existing nuclear reactor simulation methods cannot uniformly simulate different types of nuclear reactors, making it difficult to standardize simulation models for different types of nuclear reactors and to quickly adapt them to nuclear reactor simulation software. Summary of the Invention

[0005] Therefore, it is necessary to provide a nuclear reactor simulation method, apparatus, computer equipment, and storage medium that can uniformly simulate different types of nuclear reactors and standardize the simulation models of different types of nuclear reactors, in order to address the above-mentioned technical problems.

[0006] Firstly, this application provides a method for simulating a nuclear reactor. The method includes:

[0007] Obtain the nuclear reactor model to be simulated and the simulation elements of the nuclear reactor model;

[0008] Generate a functional relationship description file for the nuclear reactor model, and an element description file for the simulation elements;

[0009] The functional relationship description file and element description file of the nuclear reactor model are converted into input objects supported by the target simulation software, and the input objects are simulated by the target simulation software.

[0010] In one embodiment, generating a functional relational description file for the nuclear reactor model includes:

[0011] Based on the type of nuclear reactor model, generate the corresponding intermediate diagram; the intermediate diagram is either a simulation flowchart or a structural relationship diagram.

[0012] Based on the intermediate diagram, generate a functional relationship description file for the nuclear reactor model.

[0013] In one embodiment, generating a functional relational description file for the nuclear reactor model includes:

[0014] Obtain the functional relationship description file of the simulation model that matches the nuclear reactor model;

[0015] The functional relationship description file of the simulation model is modified to obtain the functional relationship description file of the nuclear reactor model.

[0016] In one embodiment, the functional relationship description file and element description file of the nuclear reactor model are converted into input objects supported by the target simulation software, including:

[0017] Identify whether the data format of the data content in the functional relationship description file and element description file of the nuclear reactor model meets the agreed format.

[0018] If so, the automatic adaptation and conversion method is adopted to convert the functional relationship description file and element description file of the nuclear reactor model into input objects supported by the target simulation software;

[0019] If not, a customized conversion method will be used to convert the functional relationship description file and element description file of the nuclear reactor model into input objects supported by the target simulation software.

[0020] In one embodiment, the input object is simulated using target simulation software, including:

[0021] Validate the correctness of the input object;

[0022] If the verification is successful, the input object is pre-simulated using target simulation software.

[0023] In one embodiment, the method further includes:

[0024] If the verification fails, the location information of the incorrect input object will be output graphically.

[0025] Secondly, this application also provides a simulation device for a nuclear reactor. The device includes:

[0026] The model acquisition module is used to acquire the nuclear reactor model to be simulated and the simulation elements of the nuclear reactor model;

[0027] The file generation module is used to generate functional relationship description files for nuclear reactor models, as well as element description files for simulation elements.

[0028] The object conversion module is used to convert the functional relationship description file and element description file of the nuclear reactor model into input objects supported by the target simulation software, and then use the target simulation software to simulate the input objects.

[0029] Thirdly, this application also provides a computer device. The computer device includes a memory and a processor, the memory storing a computer program, and the processor executing the computer program to perform the following steps:

[0030] Obtain the nuclear reactor model to be simulated and the simulation elements of the nuclear reactor model;

[0031] Generate a functional relationship description file for the nuclear reactor model, and an element description file for the simulation elements;

[0032] The functional relationship description file and element description file of the nuclear reactor model are converted into input objects supported by the target simulation software, and the input objects are simulated by the target simulation software.

[0033] Fourthly, this application also provides a computer-readable storage medium. The computer-readable storage medium stores a computer program thereon, which, when executed by a processor, performs the following steps:

[0034] Obtain the nuclear reactor model to be simulated and the simulation elements of the nuclear reactor model;

[0035] Generate a functional relationship description file for the nuclear reactor model, and an element description file for the simulation elements;

[0036] The functional relationship description file and element description file of the nuclear reactor model are converted into input objects supported by the target simulation software, and the input objects are simulated by the target simulation software.

[0037] Fifthly, this application also provides a computer program product. The computer program product includes a computer program that, when executed by a processor, performs the following steps:

[0038] Obtain the nuclear reactor model to be simulated and the simulation elements of the nuclear reactor model;

[0039] Generate a functional relationship description file for the nuclear reactor model, and an element description file for the simulation elements;

[0040] The functional relationship description file and element description file of the nuclear reactor model are converted into input objects supported by the target simulation software, and the input objects are simulated by the target simulation software.

[0041] The aforementioned nuclear reactor simulation method, apparatus, computer equipment, and storage medium acquire the nuclear reactor model to be simulated and its simulation elements, and generate functional relationship description files and element description files for the nuclear reactor model, respectively. Furthermore, the functional relationship description files and element description files are converted into input objects supported by the target simulation software, so that the target simulation software can simulate the input objects. This achieves the standardization of the generated nuclear reactor simulation model and enables it to be quickly adapted to nuclear reactor simulation software. Attached Figure Description

[0042] Figure 1 This is a diagram illustrating the application environment of a nuclear reactor simulation method in one embodiment.

[0043] Figure 2 This is a flowchart illustrating a simulation method for a nuclear reactor in one embodiment;

[0044] Figure 3 This is a flowchart illustrating the process of generating a functional relationship description file for a nuclear reactor model in one embodiment.

[0045] Figure 4 This is a flowchart illustrating the process of generating a functional relationship description file for a nuclear reactor model in another embodiment.

[0046] Figure 5 This is a flowchart illustrating the process of converting the functional relationship description file and element description file of a nuclear reactor model into input objects supported by the target simulation software in one embodiment.

[0047] Figure 6 This is a flowchart illustrating a simulation method for a nuclear reactor in another embodiment;

[0048] Figure 7 This is a structural block diagram of a simulation device for a nuclear reactor in one embodiment;

[0049] Figure 8 This is a structural block diagram of a simulation device for a nuclear reactor in another embodiment;

[0050] Figure 9 This is a structural block diagram of a nuclear reactor simulation device in another embodiment;

[0051] Figure 10 This is an internal structural diagram of a computer device in one embodiment. Detailed Implementation

[0052] To make the objectives, technical solutions, and advantages of this application clearer, the following detailed description is provided in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the scope of this application.

[0053] The nuclear reactor simulation method provided in this application embodiment can be applied to, for example... Figure 1 In the application environment shown, terminal 102 communicates with server 104 via a network. The data storage system can store data such as the nuclear reactor model and simulation elements of the nuclear reactor model that server 104 needs to process. The data storage system can be integrated on server 104 or placed in the cloud or on other network servers. After terminal 102 obtains the nuclear reactor model to be simulated and its simulation elements, it transmits the obtained nuclear reactor model and simulation elements to server 104 via the network. Further, server 104 receives the nuclear reactor model and its simulation elements, analyzes the received nuclear reactor model and its simulation elements, generates corresponding description files, and converts them into input objects supported by the target simulation software, enabling the target simulation software to simulate the nuclear reactor model. Terminal 102 can be, but is not limited to, various personal computers, laptops, smartphones, tablets, and portable wearable devices. Portable wearable devices can be smartwatches, smart bracelets, head-mounted devices, etc. Server 104 can be implemented using a standalone server or a server cluster consisting of multiple servers.

[0054] In one embodiment, such as Figure 2 As shown, a simulation method for nuclear reactors is provided, which can be applied to... Figure 1 Taking server 104 as an example, the following steps are included:

[0055] S201, obtain the nuclear reactor model to be simulated and the simulation elements of the nuclear reactor model.

[0056] In this embodiment, the nuclear reactor model to be simulated is the model corresponding to the nuclear reactor that needs to be simulated. The simulation elements are the simulation parameters that need to be input when simulating the nuclear reactor.

[0057] Specifically, the terminal transmits the nuclear reactor model to be simulated and its simulation elements to the server via the network; furthermore, the server acquires the nuclear reactor model and its simulation elements transmitted by the terminal.

[0058] S202 generates the functional relationship description file for the nuclear reactor model and the element description file for the simulation elements.

[0059] In this embodiment, the functional relationship description file is a formatted file that describes the functional relationships of the nuclear reactor model to be simulated. The element description file is a formatted file that describes the simulation elements of the nuclear reactor model to be simulated.

[0060] Specifically, after obtaining the nuclear reactor model to be simulated and its simulation elements, based on pre-defined logic, a functional relationship description file describing the functional relationships of the nuclear reactor model is generated for the nuclear reactor model to be simulated; furthermore, an element description file describing the simulation elements of the nuclear reactor model is generated for the simulation elements of the nuclear reactor model.

[0061] One possible approach is to obtain the nuclear reactor model to be simulated and its simulation elements, then input the nuclear reactor model and its simulation elements into a simulation template library, and determine whether there is a simulation model in the simulation template library that matches the nuclear reactor model, and whether there is an element description file that matches the simulation elements of the reactor model.

[0062] Optionally, if a simulation model matching the nuclear reactor model exists, the functional relationship description file of the simulation model matching the nuclear reactor model is obtained; the functional relationship description file of the simulation model is modified to obtain the functional relationship description file of the nuclear reactor model.

[0063] Specifically, if a simulation model matching the nuclear reactor exists in the simulation template library, the functional relationship description file of the simulation model is obtained; furthermore, based on the functional relationship of the nuclear reactor model, the functional relationship description file of the simulation model is modified to obtain the functional relationship description file of the nuclear reactor model.

[0064] Optionally, if a feature description file matching the simulation features of the nuclear reactor model exists, then the feature description file matching the simulation features of the nuclear reactor model is obtained; furthermore, based on the simulation features of the reactor model, the feature description file matching the simulation features of the nuclear reactor model is modified to obtain the feature description file of the simulation features of the nuclear reactor model.

[0065] S203 converts the functional relationship description file and element description file of the nuclear reactor model into input objects supported by the target simulation software, and then uses the target simulation software to simulate the input objects.

[0066] In this embodiment, the target simulation software is the software that simulates the nuclear reactor model to be simulated. The input objects supported by the target simulation software are those that can be input into the target simulation software and recognized by the target simulation software.

[0067] Specifically, after obtaining the functional relationship description file and element description file of the nuclear reactor model to be simulated, the functional relationship description file and element description file are converted based on the pre-set logic to obtain input objects that can be recognized by the target simulation software. Furthermore, the converted input objects are input into the target simulation software so that the target simulation software can perform simulation processing on the input objects.

[0068] It should be noted that different nuclear reactor simulation software supports different input objects. This solution can convert functional relationship description files and element description files into input objects that can be recognized by the target simulation software, thereby improving the adaptability to nuclear reactor simulation software.

[0069] In the above-mentioned nuclear reactor simulation method, by acquiring the nuclear reactor model to be simulated and the simulation elements of the simulation model, a functional relationship description file and an element description file of the nuclear reactor model are generated respectively. Furthermore, the functional relationship description file and the element description file are converted into input objects supported by the target simulation software, so that the target simulation software can simulate the input objects. This realizes the standardization of the generated nuclear reactor simulation model and enables it to be quickly adapted to nuclear reactor simulation software.

[0070] In one embodiment, such as Figure 3 As shown, the functional relationship description file of the nuclear reactor model generated in step S202 above is refined, specifically including the following steps:

[0071] S301, based on the type of nuclear reactor model, generates the corresponding intermediate diagram.

[0072] The intermediate diagram is either a simulation flowchart or a structural relationship diagram.

[0073] In this embodiment, the simulation flowchart is a flowchart generated based on a modular nuclear reactor model, describing the functional relationships of the nuclear reactor model. Specifically, it describes the relationships between various components in the nuclear reactor model. Nodes in the flowchart describe the type and state of each component, and unidirectional connecting lines describe the data or state transfer between components. The structural relationship diagram, on the other hand, is a structural diagram generated based on a non-modular nuclear reactor model, describing the functional relationships of the reactor model. For example, the structural diagram can be a two-dimensional diagram, describing the abstract geometric style of each component. It connects the relationships between components through undefined connecting lines and can establish parallel multi-channel relationships between components as needed, facilitating the exchange of data or state between connecting lines.

[0074] Specifically, after obtaining the nuclear reactor model, the type of the nuclear reactor model is determined, and a corresponding intermediate diagram is generated based on the type of the nuclear reactor model. Optionally, if the type of the nuclear reactor model is determined to be modular, a simulation flowchart for the nuclear reactor model is generated accordingly; if the type of the nuclear reactor model is determined to be non-modular, a structural relationship diagram for the nuclear reactor model is generated accordingly.

[0075] S302, Based on the intermediate diagram, generate the functional relationship description file of the nuclear reactor model.

[0076] Optionally, if it is determined that no simulation model matching the nuclear reactor model exists in the simulation template library, the intermediate graph generated for the nuclear reactor model is input into a pre-defined neural network model. Based on the intermediate graph, a functional relationship description file describing the functional relationships of the nuclear reactor model is generated. Further, if it is determined that no element description file matching the simulation elements of the nuclear reactor model exists in the simulation template library, the simulation elements of the nuclear reactor model are input into a pre-defined neural network model. Based on the simulation elements of the nuclear reactor model, an element description file describing the simulation elements of the nuclear reactor model is generated. Furthermore, the generated functional relationship description file and element description file of the nuclear reactor model can be added to the simulation template library for subsequent simulation processing of other nuclear reactors.

[0077] In the above embodiments, by determining the type of nuclear reactor model, different intermediate diagrams are generated for different types of nuclear reactor models; furthermore, based on the intermediate diagrams, a functional relationship description file describing the nuclear reactor model is generated, thereby achieving the effect of unified simulation of different types of nuclear reactors and standardizing the simulation models of different types of nuclear reactors.

[0078] In the above embodiments, this embodiment provides a simulation method for a nuclear reactor, which mainly details how to determine the input object. For example... Figure 4 As shown, the specific steps include:

[0079] S401, obtain the nuclear reactor model to be simulated and the simulation elements of the nuclear reactor model.

[0080] S402 generates the functional relationship description file for the nuclear reactor model and the element description file for the simulation elements.

[0081] S403 identifies whether the data format of the data content in the functional relationship description file and element description file of the nuclear reactor model meets the agreed format. If yes, proceed to S404; otherwise, proceed to S405.

[0082] In this embodiment, the data content is the specific content contained in the description file, the data format is the format of the content contained in the description file, and the convention format is the pre-defined format.

[0083] Specifically, after generating the functional relationship description file and element description file of the nuclear reactor model, the data content in the functional relationship description file and element description file can be parsed in blocks to identify whether the data format of the data content in the functional relationship description file and element description file meets the pre-defined convention format.

[0084] S404 uses an automatic adaptation and conversion method to convert the functional relationship description file and element description file of the nuclear reactor model into input objects supported by the target simulation software.

[0085] In this embodiment, the automatic adaptation conversion method is a pre-set conversion method that can automatically adapt and convert description files that meet the data format.

[0086] Optionally, the data format of each block of data content in the functional relationship description file and the feature description file is identified. If the data format of the data content in the functional relationship description file and the feature description file both meet the agreed format, then a pre-set automatic adaptation and conversion method is used to convert the description file into an input object supported by the target simulation software.

[0087] S405 uses a customized conversion method to convert the functional relationship description file and element description file of the nuclear reactor model into input objects supported by the target simulation software.

[0088] In this embodiment, the customized conversion method is to customize a special conversion program for the description file that does not meet the format convention, so as to convert the description file into an input object supported by the target simulation software.

[0089] Specifically, the data format of each data block in the functional relationship description file and the feature description file is identified. If the data format of any data block in the functional relationship description file or the feature description file does not meet the agreed format, then custom programming is performed for the data block in the description file that does not meet the agreed format to convert the description file into an input object supported by the target simulation software.

[0090] S406 uses target simulation software to simulate the input object.

[0091] In the above embodiments, by identifying whether each generated description file meets the agreed format, for description files that meet the agreed format, an automatic adaptation conversion method is used to convert the description file into an input object supported by the target simulation software; for description files that do not meet the agreed format, a customized conversion method is used to customize a dedicated conversion program for the description file to convert the description file into an input object supported by the target simulation software, so that the converted input objects are more comprehensive and accurate.

[0092] In the above embodiments, such as Figure 5 As shown, the simulation of the input object using target simulation software in S203 is further refined, specifically including the following steps:

[0093] S501, verify the correctness of the input object.

[0094] In this embodiment, the input objects may include the functional relationship input objects obtained by converting the functional relationship description file of the nuclear reactor model to be simulated, and the element input objects obtained by converting the element description file of the simulation elements of the nuclear reactor model to be simulated.

[0095] Specifically, based on pre-defined verification rules, the correctness of functional relationship input objects and element input objects included in the input object are verified respectively. Optionally, if the verification fails, the location information of the incorrect input object is output graphically.

[0096] Specifically, if the input object fails validation, the detailed location of the error in the input object is located. The detailed location of the error may include the data row in the input object where the error occurs, and / or the location of the simulation element name. Furthermore, a diagram is generated for the detailed location of the error in the input object, and the diagram is used to provide feedback to the user.

[0097] S502, if the verification is successful, the input object is pre-simulated using the target simulation software.

[0098] In this embodiment, pre-simulation refers to performing pre-simulation processing on the input object by calling the target simulation software.

[0099] Specifically, if the correctness verification passes, the target simulation software is invoked. Based on the target simulation software's own checking logic, pre-simulation processing is performed on the input object. Furthermore, the target simulation software generates a log file. If errors exist in the input object, the generated log file can be used to provide feedback on the error information to the user.

[0100] In this embodiment, the correctness of the input object is first verified. If an error is found, feedback is provided to the user through a diagram. If no error is found, the target simulation software is called to perform a pre-simulation of the input object to further verify the input file. This makes it easier for the user to find and modify the error information in the input file, thereby improving the correctness of the input object.

[0101] In one embodiment, such as Figure 6 As shown, a preferred example of a simulation method for a nuclear reactor is provided, specifically including:

[0102] S601, obtain the nuclear reactor model to be simulated and the simulation elements of the nuclear reactor model.

[0103] S602, determine whether there is a simulation model in the simulation template library that matches the nuclear reactor model; if yes, then execute S603; if no, then execute S605.

[0104] S603, obtain the functional relationship description file and element description file of the simulation model that matches the nuclear reactor model.

[0105] S604 modifies the functional relationship description file and element description file of the simulation model to obtain the functional relationship description file and element description file of the nuclear reactor model; further, execute S609.

[0106] S605 generates intermediate diagrams corresponding to the type of nuclear reactor model; the intermediate diagrams are either simulation flowcharts or structural relationship diagrams.

[0107] S606, based on the intermediate diagram, generates a functional relationship description file for the nuclear reactor model.

[0108] S607, generates the element description file for the simulation elements of the nuclear reactor model.

[0109] S608, add the generated functional relationship description file and element description file to the simulation template library for subsequent simulation processing of other nuclear reactors; further, execute S609.

[0110] S609, identify whether the data format of the data content in the functional relationship description file and element description file of the nuclear reactor model meets the agreed format; if yes, then execute S610; if no, then execute S611.

[0111] S610 uses an automatic adaptation and conversion method to convert the functional relationship description file and element description file of the nuclear reactor model into input objects supported by the target simulation software; further, S612 is executed.

[0112] S611 uses a customized conversion method to convert the functional relationship description file and element description file of the nuclear reactor model into input objects supported by the target simulation software; further, S612 is executed.

[0113] S612, verify the correctness of the input object and determine whether the input object passes the correctness verification; if yes, execute S613; if no, execute S614.

[0114] S613 uses target simulation software to perform pre-simulation of the input object.

[0115] S614 uses a graphical method to output the location information of the incorrect input object.

[0116] The specific processes of S601-S614 described above can be found in the description of the above method embodiments. Their implementation principles and technical effects are similar, and will not be repeated here.

[0117] It should be understood that although the steps in the flowcharts of the embodiments described above are shown sequentially according to the arrows, these steps are not necessarily executed in the order indicated by the arrows. Unless explicitly stated herein, there is no strict order restriction on the execution of these steps, and they can be executed in other orders. Moreover, at least some steps in the flowcharts of the embodiments described above may include multiple steps or multiple stages. These steps or stages are not necessarily completed at the same time, but can be executed at different times. The execution order of these steps or stages is not necessarily sequential, but can be performed alternately or in turn with other steps or at least some of the steps or stages of other steps.

[0118] Based on the same inventive concept, this application also provides a nuclear reactor simulation apparatus for implementing the above-described nuclear reactor simulation method. The solution provided by this apparatus is similar to the implementation described in the above method; therefore, the specific limitations of the one or more nuclear reactor simulation apparatus embodiments provided below can be found in the limitations of the nuclear reactor simulation method described above, and will not be repeated here.

[0119] In one embodiment, such as Figure 7 As shown, a nuclear reactor simulation device 1 is provided, comprising: a model acquisition module 10, a file generation module 20, and an object conversion module 30, wherein:

[0120] The model acquisition module 10 is used to acquire the nuclear reactor model to be simulated and the simulation elements of the nuclear reactor model.

[0121] The file generation module 20 is used to generate a functional relationship description file for the nuclear reactor model, as well as an element description file for the simulation elements.

[0122] The object conversion module 30 is used to convert the functional relationship description file and element description file of the nuclear reactor model into input objects supported by the target simulation software, and to simulate the input objects through the target simulation software.

[0123] In one embodiment, in the above Figure 7 On the basis of, such as Figure 8 As shown, the file generation module 20 may include:

[0124] Graph generation unit 21 is used to generate intermediate graphs corresponding to the type of nuclear reactor model.

[0125] The file generation unit 22 is used to generate a functional relationship description file of the nuclear reactor model based on the intermediate diagram.

[0126] In one embodiment, the file generation module 20 described above can also be used for:

[0127] Obtain the functional relationship description file of the simulation model that matches the nuclear reactor model; modify the functional relationship description file of the simulation model to obtain the functional relationship description file of the nuclear reactor model.

[0128] In one embodiment, it is possible to Figure 7 or Figure 8 Based on this, the object conversion module 30 is further refined. This embodiment takes... Figure 8 Taking the object conversion module 30 as an example, we will further refine it. For example... Figure 9 As shown, the object conversion module 30 may include:

[0129] The format recognition unit 31 is used to identify whether the data format of the data content in the functional relationship description file and the element description file of the nuclear reactor model meets the agreed format.

[0130] The file conversion unit 32 is used to convert the functional relationship description file and element description file of the nuclear reactor model into input objects supported by the target simulation software by using an automatic adaptation conversion method if the conditions are met; otherwise, it uses a customized conversion method to convert the functional relationship description file and element description file of the nuclear reactor model into input objects supported by the target simulation software.

[0131] The object verification unit 33 is used to verify the correctness of the input object; if the verification is successful, the input object is pre-simulated using the target simulation software.

[0132] In one embodiment, the object verification unit 33 described above can also be used for:

[0133] If the verification fails, the location information of the incorrect input object will be output graphically.

[0134] The various modules in the aforementioned nuclear reactor simulation device can be implemented entirely or partially through software, hardware, or a combination thereof. These modules can be embedded in the processor of a computer device in hardware form or independent of it, or stored in the memory of a computer device in software form, so that the processor can call and execute the operations corresponding to each module.

[0135] In one embodiment, a computer device is provided, which may be a server, and its internal structure diagram may be as follows: Figure 10 As shown, the computer device includes a processor, memory, and a network interface connected via a system bus. The processor provides computing 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 data such as functional relationship description files and feature description files. The network interface communicates with external terminals via a network connection. When the computer program is executed by the processor, it implements a simulation method for a nuclear reactor.

[0136] Those skilled in the art will understand that Figure 10 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 device to which the present application is applied. Specific computer devices may include more or fewer components than those shown in the figure, or combine certain components, or have different component arrangements.

[0137] In one embodiment, a computer device is provided, including a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to perform the following steps:

[0138] Obtain the nuclear reactor model to be simulated and the simulation elements of the nuclear reactor model;

[0139] Generate a functional relationship description file for the nuclear reactor model, and an element description file for the simulation elements;

[0140] The functional relationship description file and element description file of the nuclear reactor model are converted into input objects supported by the target simulation software, and the input objects are simulated by the target simulation software.

[0141] In one embodiment, when the processor executes the logic of a computer program to generate a functional relational description file for a nuclear reactor model, it also performs the following steps:

[0142] Based on the type of nuclear reactor model, generate the corresponding intermediate diagram; the intermediate diagram is either a simulation flowchart or a structural relationship diagram.

[0143] Based on the intermediate diagram, generate a functional relationship description file for the nuclear reactor model.

[0144] In one embodiment, when the processor executes the logic of a computer program to generate a functional relational description file for a nuclear reactor model, it also performs the following steps:

[0145] Obtain the functional relationship description file of the simulation model that matches the nuclear reactor model;

[0146] The functional relationship description file of the simulation model is modified to obtain the functional relationship description file of the nuclear reactor model.

[0147] In one embodiment, when the processor executes the logic of a computer program to convert the functional relation description file and element description file of the nuclear reactor model into input objects supported by the target simulation software, it also performs the following steps:

[0148] Identify whether the data format of the data content in the functional relationship description file and element description file of the nuclear reactor model meets the agreed format.

[0149] If so, the automatic adaptation and conversion method is adopted to convert the functional relationship description file and element description file of the nuclear reactor model into input objects supported by the target simulation software;

[0150] If not, a customized conversion method will be used to convert the functional relationship description file and element description file of the nuclear reactor model into input objects supported by the target simulation software.

[0151] In one embodiment, when the processor executes the logic of the computer program simulating the input object through the target simulation software, it also performs the following steps:

[0152] Validate the correctness of the input object;

[0153] If the verification is successful, the input object is pre-simulated using target simulation software.

[0154] In one embodiment, when the processor executes a computer program, it also performs the following steps:

[0155] If the verification fails, the location information of the incorrect input object will be output graphically.

[0156] In one embodiment, a computer-readable storage medium is provided having a computer program stored thereon, the computer program performing the following steps when executed by a processor:

[0157] Obtain the nuclear reactor model to be simulated and the simulation elements of the nuclear reactor model;

[0158] Generate a functional relationship description file for the nuclear reactor model, and an element description file for the simulation elements;

[0159] The functional relationship description file and element description file of the nuclear reactor model are converted into input objects supported by the target simulation software, and the input objects are simulated by the target simulation software.

[0160] In one embodiment, when the functional relation description file of the nuclear reactor model generated by the computer program is executed by the processor, the following steps are also performed:

[0161] Based on the type of nuclear reactor model, generate the corresponding intermediate diagram; the intermediate diagram is either a simulation flowchart or a structural relationship diagram.

[0162] Based on the intermediate diagram, generate a functional relationship description file for the nuclear reactor model.

[0163] In one embodiment, when the functional relation description file of the nuclear reactor model generated by the computer program is executed by the processor, the following steps are also performed:

[0164] Obtain the functional relationship description file of the simulation model that matches the nuclear reactor model;

[0165] The functional relationship description file of the simulation model is modified to obtain the functional relationship description file of the nuclear reactor model.

[0166] In one embodiment, when the computer program converts the functional relation description file and element description file of the nuclear reactor model into input objects supported by the target simulation software and is executed by the processor, it also performs the following steps:

[0167] Identify whether the data format of the data content in the functional relationship description file and element description file of the nuclear reactor model meets the agreed format.

[0168] If so, the automatic adaptation and conversion method is adopted to convert the functional relationship description file and element description file of the nuclear reactor model into input objects supported by the target simulation software;

[0169] If not, a customized conversion method will be used to convert the functional relationship description file and element description file of the nuclear reactor model into input objects supported by the target simulation software.

[0170] In one embodiment, when the computer program simulates the input object using target simulation software and is executed by the processor, it further performs the following steps:

[0171] Validate the correctness of the input object;

[0172] If the verification is successful, the input object is pre-simulated using target simulation software.

[0173] In one embodiment, when the computer program is executed by a processor, it also performs the following steps:

[0174] If the verification fails, the location information of the incorrect input object will be output graphically.

[0175] In one embodiment, a computer program product is provided, including a computer program that, when executed by a processor, performs the following steps:

[0176] Obtain the nuclear reactor model to be simulated and the simulation elements of the nuclear reactor model;

[0177] Generate a functional relationship description file for the nuclear reactor model, and an element description file for the simulation elements;

[0178] The functional relationship description file and element description file of the nuclear reactor model are converted into input objects supported by the target simulation software, and the input objects are simulated by the target simulation software.

[0179] In one embodiment, when the functional relation description file of the nuclear reactor model generated by the computer program is executed by the processor, the following steps are also performed:

[0180] Based on the type of nuclear reactor model, generate the corresponding intermediate diagram; the intermediate diagram is either a simulation flowchart or a structural relationship diagram.

[0181] Based on the intermediate diagram, generate a functional relationship description file for the nuclear reactor model.

[0182] In one embodiment, when the functional relation description file of the nuclear reactor model generated by the computer program is executed by the processor, the following steps are also performed:

[0183] Obtain the functional relationship description file of the simulation model that matches the nuclear reactor model;

[0184] The functional relationship description file of the simulation model is modified to obtain the functional relationship description file of the nuclear reactor model.

[0185] In one embodiment, when the computer program converts the functional relation description file and element description file of the nuclear reactor model into input objects supported by the target simulation software and is executed by the processor, it also performs the following steps:

[0186] Identify whether the data format of the data content in the functional relationship description file and element description file of the nuclear reactor model meets the agreed format.

[0187] If so, the automatic adaptation and conversion method is adopted to convert the functional relationship description file and element description file of the nuclear reactor model into input objects supported by the target simulation software;

[0188] If not, a customized conversion method will be used to convert the functional relationship description file and element description file of the nuclear reactor model into input objects supported by the target simulation software.

[0189] In one embodiment, when the computer program simulates the input object using target simulation software and is executed by the processor, it further performs the following steps:

[0190] Validate the correctness of the input object;

[0191] If the verification is successful, the input object is pre-simulated using target simulation software.

[0192] In one embodiment, when the computer program is executed by a processor, it also performs the following steps:

[0193] If the verification fails, the location information of the incorrect input object will be output graphically.

[0194] It should be noted that all data involved in this application (including but not limited to description file data used for analysis, stored data, and displayed data) are authorized or have been fully authorized by all parties.

[0195] Those skilled in the art will understand that all or part of the processes in the methods of 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, and when executed, it can include the processes of the embodiments of the above methods. 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). 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.

[0196] 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.

[0197] The embodiments described above are merely illustrative of several implementation methods of this application, and while the descriptions are specific and detailed, they should not be construed as limiting the scope of this patent application. It should be noted that those skilled in the art can make various modifications and improvements without departing from the concept of this application, and these all fall within the protection scope of this application. Therefore, the protection scope of this application should be determined by the appended claims.

Claims

1. A simulation method for a nuclear reactor, characterized in that, The method includes: Obtain the nuclear reactor model to be simulated and the simulation elements of the nuclear reactor model; Based on the type of the nuclear reactor model, an intermediate diagram corresponding to that type is generated. The intermediate diagram is either a simulation flowchart or a structural relationship diagram. If the nuclear reactor model is modular, a simulation flowchart is generated, where nodes describe the type and state of each component, and unidirectional connection lines describe the data or state transfer between components. If the nuclear reactor model is non-modular, a structural relationship diagram is generated. The structural relationship diagram is a two-dimensional diagram that describes the abstract geometric style of each component, connects the relationships between components through undefined connection lines, and can establish parallel multi-channel relationships between components as needed. Based on the intermediate diagram, a functional relationship description file for the nuclear reactor model is generated; the functional relationship description file is a formatted file that describes the functional relationships of the nuclear reactor model to be simulated. Generate the element description file of the simulation elements; the element description file is a formatted file that describes the simulation elements of the nuclear reactor model to be simulated. The functional relationship description file and the element description file of the nuclear reactor model are converted into input objects supported by the target simulation software, and the input objects are simulated by the target simulation software.

2. The method according to claim 1, characterized in that, The method further includes: Obtain the functional relationship description file of the simulation model that matches the nuclear reactor model; The functional relationship description file of the simulation model is modified to obtain the functional relationship description file of the nuclear reactor model.

3. The method according to claim 1, characterized in that, The process of converting the functional relationship description file and the element description file of the nuclear reactor model into input objects supported by the target simulation software includes: Identify whether the data format of the data content in the functional relationship description file and the element description file of the nuclear reactor model meets the agreed format. If so, an automatic adaptation and conversion method is used to convert the functional relationship description file and the element description file of the nuclear reactor model into input objects supported by the target simulation software; If not, a customized conversion method is used to convert the functional relationship description file and the element description file of the nuclear reactor model into input objects supported by the target simulation software.

4. The method according to claim 1, characterized in that, The step of simulating the input object using the target simulation software includes: Verify the correctness of the input object; If the verification is successful, the input object is pre-simulated using the target simulation software.

5. The method according to claim 4, characterized in that, The method further includes: If the verification fails, the location information of the incorrect input object will be output graphically.

6. A nuclear reactor simulation device, characterized in that, The device includes: The model acquisition module is used to acquire the nuclear reactor model to be simulated and the simulation elements of the nuclear reactor model; The file generation module is used to generate a functional relationship description file for the nuclear reactor model and an element description file for the simulation elements. The file generation module includes a graph generation unit and a file generation unit. The graph generation unit is used to generate an intermediate graph corresponding to the type of the nuclear reactor model. The intermediate graph is a simulation flowchart or a structural relationship diagram. If the nuclear reactor model is modular, a simulation flowchart is generated, where nodes describe the type and state of each component, and unidirectional connecting lines describe the data or state transfer between components. If the nuclear reactor model is non-modular, a structural relationship diagram is generated. The structural relationship diagram is a two-dimensional diagram that abstracts the components. The system describes the relationship between components using undefined connecting lines and can establish parallel multi-channel relationships between components as needed. The file generation unit generates a functional relationship description file for the nuclear reactor model based on the intermediate diagram. This functional relationship description file is a formatted file describing the functional relationships of the nuclear reactor model to be simulated. The element description file is a formatted file describing the simulation elements of the nuclear reactor model to be simulated. An object conversion module converts the functional relationship description file and the element description file of the nuclear reactor model into input objects supported by the target simulation software, and then simulates the input objects using the target simulation software.

7. A computer device comprising a memory and a processor, wherein the memory stores a computer program, characterized in that, When the processor executes the computer program, it implements the steps of the method according to any one of claims 1 to 5.

8. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by a processor, it implements the steps of the method according to any one of claims 1 to 5.

9. A computer program product, comprising a computer program, characterized in that, When the computer program is executed by a processor, it implements the steps of the method according to any one of claims 1 to 5.

Citation Information

Patent Citations

  • Software development method and device, terminal device, and computer readable storage medium

    CN109542399A

  • Cloud simulation method and system integrated with various simulation software

    CN110209471A

  • File format conversion method and device and computer storage medium

    CN114359459A