Method for dynamic modification of physical parameters for a nuclear reactor

By constructing a parameter change propagation tree and a predict-correction semi-implicit method, the problems of inflexible parameter modification and computational crashes in nuclear reactor system analysis programs are solved, enabling dynamic parameter modification and improving computational efficiency.

CN123069896APending Publication Date: 2026-11-10SHANGHAI NUCLEAR ENGINEERING RESEARCH & DESIGN INSTITUTE CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611298635.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-08-25
Publication Date
2026-11-10

AI Technical Summary

Technical Problem

Existing nuclear reactor system analysis programs lack the ability to dynamically modify parameters, resulting in inflexible parameter modifications that are prone to causing computational crashes and failing to meet the stability requirements of operational analysis.

Method used

By constructing a parameter change propagation tree, parsing the user's input modification command, obtaining the target values ​​of the physical parameter to be modified and its associated parameter, and using a prediction-correction semi-implicit method to solve the conservation equation, dynamic modification of physical parameters is achieved.

Benefits of technology

It enables dynamic modification of parameters in nuclear reactor simulation models, expands the scope of modification, avoids single-point assignment, improves the flexibility and computational efficiency of modification, and ensures the stability of calculation.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123069896A_ABST
    Figure CN123069896A_ABST
Patent Text Reader

Abstract

The application provides a dynamic modification method for physical parameters of a nuclear reactor, comprising the following steps: S1: during the running of a simulation model of the nuclear reactor, analyzing a parameter modification instruction, obtaining a physical parameter item to be modified, a target value of the physical parameter item to be modified and a modification node, and the physical parameter item to be modified being in the modification node; S2: according to the physical parameter item to be modified and the target value of the physical parameter item to be modified, obtaining at least one associated physical parameter item and a target value of the at least one associated physical parameter item through a parameter change propagation tree, and the at least one associated physical parameter item being in the same modification node; S3: according to the target value and a current value of the physical parameter item to be modified and the target value and a current value of the at least one associated physical parameter item, solving a mass conservation equation, an energy conservation equation and a momentum conservation equation to obtain an updated value of the physical parameter.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates primarily to the field of nuclear reactors, and more particularly to a method for dynamically modifying the physical parameters of a nuclear reactor. Background Technology

[0002] Nuclear reactor operation system analysis is a crucial step in nuclear reactor design and safety analysis. Using system-level analysis programs for modeling and calculation, it is possible to quickly and accurately simulate nuclear reactor systems under given operating conditions, predicting their response behavior in steady-state, non-accident transient, and accident transient states. This has become an important tool for analyzing operational transient systems.

[0003] Currently, mainstream system analysis programs, such as RELAP5, have the following technical limitations in the modeling and calculation process: First, they lack the ability to dynamically modify parameters during runtime. The programs typically require all calculation parameters to be preset before the simulation starts, and cannot dynamically adjust the parameters according to actual needs during runtime. Second, when modifying a parameter, existing programs usually only assign a single value to the parameter itself without considering other related physical parameters within the same node. This can easily lead to pressure field divergence or even calculation collapse in subsequent equation solving, making it difficult to meet the stability requirements of dynamic parameter modification in nuclear reactor operation analysis.

[0004] Based on the above problems, there is an urgent need for a dynamic modification scheme for nuclear reactor operating systems to overcome the shortcomings of existing technical solutions in terms of flexibility and coverage of dynamic modification. Summary of the Invention

[0005] To address the aforementioned issues, this application proposes a method for dynamically modifying the physical parameters of nuclear reactors, which can significantly improve the flexibility of parameter modification and expand the range of parameters that can be modified.

[0006] In a first aspect, this application proposes a method for dynamically modifying physical parameters of a nuclear reactor, comprising: S1: during the operation of a nuclear reactor simulation model, parsing a parameter modification command input by a user to obtain a physical parameter item to be modified, a modification node, and a target value of the physical parameter item to be modified, wherein the physical parameter item to be modified is within the modification node; S2: based on the physical parameter item to be modified and its target value, obtaining at least one associated physical parameter item and its target value through a parameter change propagation tree, wherein the at least one associated physical parameter item is within the same modification node; and S3: based on the target value of the physical parameter item to be modified and its current value, and the target value of the at least one associated physical parameter item and its current value, solving the mass conservation equation, the energy conservation equation, and the momentum conservation equation to obtain updated values ​​of the plurality of physical parameters.

[0007] Secondly, this application also proposes an electronic device comprising: a memory for storing instructions executable by a processor; and a processor for executing the instructions to implement the method described in the first aspect.

[0008] Thirdly, this application also proposes a computer storage medium storing computer program code that, when executed by a processor, implements the method described in the first aspect.

[0009] Compared with existing technologies, the beneficial effects of this application are as follows: The physical parameter dynamic modification method constructed in this application firstly allows for dynamic modification of parameters while the nuclear reactor simulation model is running in the program; secondly, by constructing a parameter change propagation tree, starting from the physical parameter item to be modified, the data values ​​of related physical parameter items within the same node are calculated, realizing the dynamic modification of a large number of coupled parameters within a node, avoiding single-point assignment of parameters, and the amount of data transfer involved in a single modification is small, thus introducing almost no additional computational overhead. Therefore, while significantly improving the flexibility of runtime parameter modification, the computational efficiency of system transient analysis is ensured. Attached Figure Description

[0010] The accompanying drawings are included to provide a further understanding of this application; they are incorporated into and constitute a part of this application. The drawings illustrate embodiments of this application and, together with this specification, serve to explain the principles of this application. In the drawings: Figure 1 This is a flowchart illustrating a method for dynamically modifying the physical parameters of a nuclear reactor, as provided in an embodiment of this application. Figure 2 This is a flowchart illustrating the method for obtaining the target value of associated physical parameter items provided in an embodiment of this application; Figure 3 This is a flowchart illustrating the method for obtaining updated values ​​of physical parameters provided in an embodiment of this application; Figure 4 This is a flowchart illustrating the method for obtaining transition values ​​of associated physical parameter items provided in an embodiment of this application; Figure 5 This is a block diagram of an electronic device for a method of dynamically modifying the physical parameters of a nuclear reactor, as provided in an embodiment of this application. Detailed Implementation

[0011] To more clearly illustrate the technical solutions of the embodiments of this application, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are merely some examples or embodiments of this application. For those skilled in the art, these drawings can be applied to other similar scenarios without creative effort. Unless obvious from the context or otherwise specified, the same reference numerals in the drawings represent the same structures or operations.

[0012] As indicated in this application, unless the context clearly indicates otherwise, the words "a," "an," "an," and / or "the" do not specifically refer to the singular and may also include the plural. Generally speaking, the terms "comprising" and "including" only indicate the inclusion of explicitly identified steps and elements, which do not constitute an exclusive list, and the method or apparatus may also include other steps or elements.

[0013] Unless otherwise specifically stated, the relative arrangement, numerical expressions, and values ​​of the components and steps described in these embodiments do not limit the scope of this application. It should also be understood that, for ease of description, the dimensions of the various parts shown in the drawings are not drawn to actual scale. Techniques, methods, and devices known to those skilled in the art may not be discussed in detail, but where appropriate, such techniques, methods, and devices should be considered part of the specification. In all examples shown and discussed herein, any specific values ​​should be interpreted as merely exemplary and not as limitations. Therefore, other examples of exemplary embodiments may have different values. It should be noted that similar reference numerals and letters in the following drawings denote similar items; therefore, once an item is defined in one drawing, it need not be further discussed in subsequent drawings.

[0014] In the description of this application, it should be understood that the orientation or positional relationship indicated by directional terms such as "front, back, up, down, left, right", "horizontal, vertical, horizontal" and "top, bottom" is usually based on the orientation or positional relationship shown in the accompanying drawings, and is only for the convenience of describing this application and simplifying the description. Unless otherwise stated, these directional terms do not indicate or imply that the device or element referred to must have a specific orientation or be constructed and operated in a specific orientation, and therefore should not be construed as a limitation on the scope of protection of this application; the directional terms "inner" and "outer" refer to the inner and outer contours relative to the outline of each component itself.

[0015] For ease of description, spatial relative terms such as "above," "on top of," "on the upper surface of," "above," etc., are used herein to describe the spatial positional relationship of a device or feature as shown in the figures to other devices or features. It should be understood that spatial relative terms are intended to encompass different orientations in use or operation beyond the orientation of the device as described in the figures. For example, if the device in the figures were inverted, a device described as "above" or "on top of" other devices or structures would subsequently be positioned as "below" or "under" other devices or structures. Thus, the exemplary term "above" can include both "above" and "below." The device may also be positioned in other different ways (rotated 90 degrees or in other orientations), and the spatial relative descriptions used herein will be interpreted accordingly.

[0016] Furthermore, it should be noted that the use of terms such as "first" and "second" to define components is merely for the purpose of distinguishing the corresponding components. Unless otherwise stated, these terms have no special meaning and therefore should not be construed as limiting the scope of protection of this application. In addition, although the terminology used in this application is selected from commonly known and used terms, some terms mentioned in this application's specification may have been chosen by the applicant according to his or her judgment, and their detailed meanings are explained in the relevant sections of this description. Moreover, this application should be understood not only through the actual terms used, but also through the meaning implied by each term.

[0017] Flowcharts are used in this application to illustrate the operations performed by the system according to embodiments of this application. It should be understood that the preceding or following operations are not necessarily performed in exact order. Instead, various steps can be processed in reverse order or simultaneously. Furthermore, other operations may be added to these processes, or one or more steps may be removed from these processes.

[0018] The following specific embodiments illustrate the method for dynamically modifying the physical parameters of a nuclear reactor according to this application.

[0019] In the modeling and calculation process of nuclear reactor operation system analysis, system analysis programs typically construct simulation models of the reactor system based on node partitioning methods. This involves abstracting the various physical components of the reactor system (such as the core, coolant pumps, steam generators, pressurizers, pipes, valves, etc.) into several interconnected control bodies (i.e., "nodes"), and defining a set of physical parameters (such as pressure, temperature, flow rate, power density, void fraction, enthalpy, etc.) at each node to describe its physical state. Nodes located at the model boundary of the system are called boundary nodes, and their physical parameters are usually used as boundary condition inputs. Nodes located inside the system are called internal nodes, and their physical parameters are obtained by solving a system of equations using the system analysis program. In traditional program architectures, internal nodes are usually not allowed to be modified by the user during runtime. Furthermore, dynamically modifying the values ​​of physical parameters has poor stability; directly implementing step modifications to physical parameters can easily cause data mutations during semi-implicit solving, leading to computational crashes.

[0020] To address the aforementioned technical limitations, this application proposes a method for dynamically modifying the physical parameters of a nuclear reactor. This method receives and parses user-input modification commands, obtaining the physical parameter items to be modified and their target values ​​within the modification node. After validity verification, it traverses the parameter change propagation tree with the physical parameter item to be modified as the root node, obtaining related physical parameter items within the same node and their target values. Finally, it calculates transition values ​​using an empirical smoothing coefficient and combines this with a predictive-correction semi-implicit method to solve the conservation equations and obtain the updated values ​​of the physical parameters.

[0021] refer to Figure 1 This application proposes a method for dynamically modifying the physical parameters of a nuclear reactor, including... Figure 1 Steps S1 to S3 in the process.

[0022] In step S1, during the operation of the nuclear reactor simulation model, the parameter modification command input by the user is parsed to obtain the physical parameter item to be modified, the target value of the physical parameter item to be modified, and the modification node. The physical parameter item to be modified is located within the modification node.

[0023] Specifically, the user has completed the modeling of the nuclear reactor simulation model in the system analysis program. During the operation of the nuclear reactor simulation model in the system analysis program, the program provides an interactive interface through which the user issues parameter modification commands to the system. First, after receiving the parameter modification command input by the user, the system analysis program parses and processes the command. It extracts the physical parameter item to be modified from the command. The physical parameter item to be modified refers to the physical parameter in the simulation model whose value the user wants to change, such as temperature, density, flow rate, void fraction, enthalpy, etc. Second, it extracts the target value of the physical parameter item to be modified from the command. The target value is the value to which the physical parameter item to be modified is expected to be adjusted, such as changing the temperature of a node to 350℃. Finally, it extracts the modification node from the command. The modification node is the node to which the physical parameter item to be modified belongs. The modification node is located in the nodes of the simulation model using node identification information (such as node number). This modification node can be an internal node or a boundary node. If the physical parameter item to be modified is within the modification node, it means that the physical parameter item to be modified is a parameter contained in the modification node. Thus, the range of parameters that this application supports for modification not only covers the physical parameters on boundary nodes, but also the physical parameters on internal nodes, thereby breaking through the technical limitation of existing programs that only allow modification of the physical parameters of boundary nodes, expanding the coverage of the physical parameter items to be modified, and realizing dynamic adjustment of parameters during program execution.

[0024] In step S2, based on the physical parameter item to be modified and its target value, at least one associated physical parameter item and its target value are obtained through the parameter change propagation tree, and at least one associated physical parameter item is within the same modification node.

[0025] Specifically, in the simulation model of a nuclear reactor system, the physical parameters do not exist in isolation, but rather maintain a quantitative mapping relationship through the fundamental physical laws of fluid mechanics and thermodynamics (such as equations of state, conservation equations, constitutive relations, etc.). After obtaining the physical parameter to be modified and its target value, the system analysis program obtains at least one related physical parameter and its target value through the parameter change propagation tree. All at least one related physical parameter obtained is within the same modification node.

[0026] In some embodiments, the parameter change propagation tree is a directed acyclic graph, where the root node is the physical parameter item to be modified and the leaf node is at least one associated physical parameter item.

[0027] In detail, the structure of a directed acyclic graph (DAG) consists of vertices and directed edges. Vertices represent the physical parameters within a node, while directed edges represent the quantitative mappings or dependencies between parameters. In this DAG, the root node is set as the physical parameter to be modified and is located at the top level of the propagation tree. Starting from this root node, the path is traversed downwards along the directions indicated by the directed edges until a leaf node is reached. A leaf node is the final physical parameter in the parameter change propagation tree that no longer propagates to other physical parameters.

[0028] The direction of the directed edges strictly reflects the causal derivation direction between physical parameters. For example, when the physical parameter to be modified is the cavitation fraction, this cavitation fraction is used as the root node of the parameter change propagation tree, and the parameter propagation proceeds along the pre-established directed edges to two downstream branches. In the first propagation branch, the change in cavitation fraction affects both the liquid and gas phase densities. The liquid and gas phase densities, as intermediate parameters directly pointed to by the root node, are updated according to the mapping relationship between the two phases as the cavitation fraction changes. Subsequently, the liquid and gas phase densities further jointly drive the calculation of the mixing density. In the second propagation branch, the change in cavitation fraction simultaneously affects both the liquid and gas phase enthalpies. The liquid and gas phase enthalpies are updated according to the energy distribution relationship between the two phases as the cavitation fraction changes. Subsequently, the liquid and gas phase enthalpies further jointly drive the calculation of the mixing enthalpy, which is output downstream as the associated physical parameter at the end of this branch. In the above two propagation branches, the mixing density and mixing enthalpy constitute the leaf nodes of the parameter change propagation tree.

[0029] In some embodiments, reference Figure 2 Step S2 includes steps S21 and S22.

[0030] In step S21, starting from the physical parameter item to be modified, the parameter change propagation tree is traversed to obtain at least one associated physical parameter item that has a quantitative mapping relationship with the physical parameter item to be modified.

[0031] Specifically, after parsing the parameter modification command, the system analysis program initiates a traversal of the parameter change propagation tree, using the physical parameter to be modified as the root node. This traversal follows the dependency directions indicated by the directed edges in the parameter change propagation tree, performing a top-down, layer-by-layer search, sequentially visiting all downstream nodes reachable from the root node. The directed edges represent quantitative mapping relationships between physical parameters, which can be functional relationships established based on fluid dynamics equations of state, thermodynamic constitutive relations, or empirical formulas. During the traversal, each time a downstream node is visited, the physical parameter corresponding to that node is identified as an associated physical parameter related to the physical parameter to be modified.

[0032] In step S22, the target value of at least one associated physical parameter is calculated based on the target value of the physical parameter to be modified and the quantitative mapping relationship in the parameter change propagation tree.

[0033] Specifically, after traversing the parameter change propagation tree and obtaining one or more associated physical parameter items, the system sequentially performs quantitative calculations of the target values ​​based on the hierarchical position of each associated physical parameter item in the propagation tree, proceeding layer by layer from the root node to the leaf nodes. This continues until the associated physical parameter item at the end of the parameter change propagation tree is reached, completing the calculation of the target values ​​for all associated physical parameter items.

[0034] Thus, this application constructs a parameter change propagation tree, starting with the physical parameter to be modified, to obtain the associated physical parameter items and their target values ​​within the same node that have a quantitative mapping relationship with it. This allows a modification of a single parameter to be synchronized to other associated physical parameter items within the same node, realizing dynamic adjustment of a large number of coupled parameters within a node during program execution and avoiding single-point assignment of parameters. Furthermore, a single modification only involves modifying the physical parameter to be modified and associated physical parameter items within the node, resulting in a small amount of data transfer and thus introducing almost no additional computational overhead. While expanding the coverage of the physical parameter items to be modified, it also ensures the computational efficiency of the system's transient analysis.

[0035] In some embodiments, before step S2 and after step S1, step S4 is further included: determining whether the target value of the physical parameter item to be modified is within a preset legal value range; if the determination is yes, then step S2 is executed.

[0036] Specifically, before obtaining at least one associated physical parameter item and its target value, a step of validating the target value of the physical parameter item to be modified is performed. After parsing the physical parameter item to be modified and its target value, the target value is compared with a preset range of valid values ​​to determine whether the target value is within that range. If the result is yes, meaning the target value meets the validity requirements, the system continues to execute the steps of obtaining the associated physical parameter item and subsequent solving; if the result is no, meaning the target value exceeds the range of valid values, the system rejects the parameter modification operation and returns an error message to the user through the interactive interface, indicating that the target value is invalid and suggesting a range of valid values.

[0037] Pre-configured valid value ranges can be set based on the physical properties of the physical parameters to be modified and reactor operating constraints. For example, volume ratio. The preset range of valid values ​​is Mixture density The preset range of valid values ​​is ,in It is the density of the gas. It refers to the liquid density. By verifying the validity of the parameters, invalid physical parameter values ​​are prevented from entering the solution process of the conservation equations, thus effectively preventing calculation divergence and improving the stability and reliability of dynamic parameter modifications during runtime.

[0038] Continue to refer to Figure 1 In step S3, based on the target value and current value of the physical parameter to be modified, and the target value and current value of at least one associated physical parameter, the mass conservation equation, energy conservation equation, and momentum conservation equation are solved to obtain the updated values ​​of the physical parameters.

[0039] Specifically, after obtaining the target values ​​of the physical parameters to be modified and the associated physical parameters, a predict-correction semi-implicit method is used to solve the mass conservation equation, energy conservation equation, and momentum conservation equation step by step. This method divides the entire numerical solution process into an explicit prediction stage and an implicit correction stage.

[0040] In some embodiments, reference Figure 3 The mass conservation equation, energy conservation equation and momentum conservation equation are solved using the prediction-correction semi-implicit method to obtain updated values ​​of multiple physical parameters. Step S3 includes steps S31 to S33.

[0041] In step S31, the transition value of the physical parameter to be modified is calculated based on the target value and the current value of the physical parameter to be modified, and the transition value of at least one related physical parameter is obtained through the parameter change propagation tree based on the transition value of the physical parameter to be modified.

[0042] Specifically, a transition value is constructed between the current value of the physical parameter to be modified and its target value. After obtaining the transition value of the physical parameter to be modified, it is not directly substituted into the input. Instead, the transition value is used as the new input to propagate layer by layer along the parameter change propagation tree to calculate the transition value of the associated physical parameter.

[0043] In some embodiments, reference Figure 4 Step S31 includes steps S31a to S31b.

[0044] In step S31a, the target value and the current value of the physical parameter to be modified are weighted according to the empirical smoothing coefficient to obtain the transition value of the physical parameter to be modified. The transition value of the physical parameter to be modified is calculated using formula (1).

[0045] (1)

[0046] in, These are transitional values ​​for the physical parameter items to be modified. The target value for the physical parameter to be modified. The current value of the physical parameter to be modified. The empirical smoothing coefficient, where 'a' is the modified node and 'n' is the set time step.

[0047] During the simulation model's operation, the time step is set by the user, and the deadline for the time step is also set by the user. The deadline can be a specific condition for exiting the iteration or a specific runtime.

[0048] In step S31b, the transition value of at least one associated physical parameter item is calculated based on the transition value of the physical parameter item to be modified, the quantitative mapping relationship between the physical parameter item to be modified and at least one associated physical parameter item in the parameter change propagation tree.

[0049] Specifically, after obtaining the transition value of the physical parameter to be modified through weighted calculation, since there is a quantitative mapping relationship between the physical parameter to be modified and at least one related physical parameter in the parameter change propagation tree, as the physical parameter to be modified changes from its current value to the transition value, the related physical parameter also changes synchronously. Starting from the transition value of the physical parameter to be modified, the calculation of the transition values ​​of related physical parameter items is performed layer by layer from top to bottom, following the direction indicated by the directed edges in the parameter change propagation tree. In this way, by introducing a transition value between the current value and the target value of the physical parameter to be modified, the numerical mutation problem caused by the forced modification of physical parameters at runtime is effectively mitigated. This avoids computational crashes in subsequent solution stages and significantly improves the numerical stability and robustness of the dynamic modification process of runtime parameters.

[0050] Continue to refer to Figure 3 In step S32, during the explicit pre-estimation stage, the pressure gradient term is ignored, and the current values ​​of the physical parameter to be modified and at least one related physical parameter are replaced with the corresponding transition values ​​to perform pre-estimation calculations and obtain the estimated values ​​of the physical parameters.

[0051] Specifically, in the explicit prediction stage, the time progression process of the entire nuclear reactor system simulation model can be abstracted into formula (2).

[0052] (2)

[0053] In this process, the pressure gradient term is ignored. That is, in order to avoid iterating the pressure field, the pressure gradient term in the equation is temporarily discarded during the explicit prediction stage. It is a vector formed by all physical parameters that need to be solved, except for the pressure parameters, for all nodes. For time, For the next time step. Formula (2) needs to satisfy the conservation constraint, which is expressed by formula (3).

[0054] (3)

[0055] Where C represents the conservation constraint operator, which can be further expressed by formula (4).

[0056] (4)

[0057] in, , Represents a conserved variable. This represents the fluid density, corresponding to the mass term in the conservation equation. This represents the momentum vector per unit volume, corresponding to the momentum term in the law of conservation of momentum, where... This is the fluid velocity vector. Represents the total energy per unit volume. E It represents the total energy per unit mass, which includes both internal energy and kinetic energy, corresponding to the energy term in the law of conservation of energy. Conserved variables The convection vector at the control volume boundary represents the net transport rate of mass, momentum, and energy as the fluid passes through the control volume boundary per unit time. Conserved variables Within the control body, source terms characterize the rates at which mass, momentum, and energy are generated or dissipated due to physical processes within the nodes. Source terms typically include, but are not limited to, gravity terms, wall friction terms, local resistance terms, heat transfer terms, phase transition terms, heat release terms from chemical or nuclear reactions, and momentum or energy additions caused by components such as pumps and valves. Source terms may further include interphase mass, momentum, and energy exchange terms. Therefore, the mass conservation equation, momentum conservation equation, and energy conservation equation can be uniformly expressed as conserved variables. The partial derivative with respect to time is related to the balance between flux divergence and source terms.

[0058] For the conservation equations during the time progression, non-pressure physical parameters can be... The rate of change over time can be decomposed into the sum of an explicit part and an implicit part, which can be expressed by formula (5).

[0059] (5)

[0060] in, Indicates independent of pressure physical parameters Since this part mainly relies on the known physical state at the current moment within a single time step and does not involve the coupled solution of the pressure field at the next moment, an explicit method is used for time advancement, which is called the explicit part. I(p) represents the implicit operator directly related to the pressure field during the evolution of physical quantities, expressed as the pressure gradient term in the momentum equation and the pressure correction term derived from it through mass conservation coupling. This part is advanced using an implicit method and is called the implicit part. Wherein, It represents a pressure field.

[0061] In the explicit prediction stage, ignoring the pressure term, based on the physical parameters known at the nth time step... The physical parameters at the (n+1)th time step are initially estimated by using the explicit Euler method, and the estimated value of the physical parameters is obtained. The estimated value of the physical parameters can be calculated by formula (6).

[0062] (6)

[0063] in, Indicates the time step. This represents an explicit operator determined by physical parameters known at the current time step, ignoring pressure physical parameters. This is the estimated value of the physical parameters at the (n+1)th time step.

[0064] The transition value calculated by formula (1) can be substituted into formula (6), and the result can be expressed by formula (7). (7) in, An explicit operator representing a transition value based on the physical parameter to be modified and at least one associated physical parameter. This is the estimated value of the physical parameters at the (n+1)th time step after substituting the transition value.

[0065] In step S33, during the implicit correction stage, a pressure matrix is ​​constructed based on the predicted values ​​of the physical parameters, and the boundary values ​​within the boundary nodes are used as boundary conditions to iteratively solve the pressure matrix until the iterative solution converges, thereby obtaining the updated values ​​of the physical parameters.

[0066] Specifically, in order to satisfy the mass conservation condition specified in formula (3), the estimated values ​​of physical parameters obtained in the explicit estimation stage need to be subject to implicit pressure correction. In the implicit correction stage, the correction relationships of each physical parameter are expressed as in formulas (8) and (9).

[0067] in, This indicates that the physical parameters at the modified node a at the (n+1)th time step after correction must satisfy the conservation constraint. Equation (9) constitutes a condition regarding the unknown pressure field. The implicit system of equations to be solved. This represents the physical parameters to be obtained at the (n+1)th time step.

[0068] Assume that the conservation constraint operator C(·) has respect to the physical quantity If it is continuously differentiable, then the implicit constraint equation (10) can be obtained based on the fundamental principles of calculus. (10) Among them, after the finite volume discretization of the control volume, the result of formula (10) can be expressed by formula (11).

[0069] (11)

[0070] Where A is a pair of operators The pressure matrix obtained afterwards .

[0071] The pressure field at time step n+1 is obtained by solving equation (11) using a matrix solver (such as Gaussian elimination, conjugate gradient method or other sparse matrix solving algorithms). Thus, the implicit correction of the pressure field is obtained. By combining equations (8) and (9), the physical parameters at the (n+1)th time step can be obtained. Then, all time steps are advanced to obtain the final updated physical parameters.

[0072] In some embodiments, the empirical smoothing coefficient can be calculated using the following formula (12). (12) in, The empirical smoothing coefficient is... The target value for the physical parameter to be modified. This is the current value of the physical parameter item to be modified.

[0073] In some embodiments, step S34 is included before step S33: if the modified node is an internal node, the modified node is marked as a boundary node, the target value of the physical parameter item to be modified is included in the boundary value, and step S33 is executed.

[0074] Specifically, before the implicit correction phase, if a node to be modified is an internal node, it is temporarily marked as a boundary node, and the target value of the physical parameter to be modified is included in the boundary value set of that node. Subsequently, the pressure matrix construction and iterative solution of the implicit correction phase are performed with the updated boundary values ​​as constraints. In this way, by temporarily setting internal nodes as boundary nodes, the target value input by the user can be mathematically incorporated into the implicit equations in the form of boundary constraints, avoiding the direct overwriting of the target value of internal nodes, which could lead to divergence of the calculated pressure field.

[0075] An embodiment of this application also proposes a method such as Figure 5 The electronic device 500 is shown. According to... Figure 5 The electronic device 500 may include an internal communication bus 501, a processor 502, a read-only memory (ROM) 503, a random access memory (RAM) 504, and a communication port 505. When used in a personal computer, the electronic device 500 may also include a hard disk 506. The internal communication bus 501 enables data communication between components of the electronic device 500. The processor 502 can perform judgments and issue prompts. In some embodiments, the processor 502 may consist of one or more processors. The communication port 505 enables data communication between the electronic device 500 and external devices. In some embodiments, the electronic device 500 can send and receive information and data from a network through the communication port 505.

[0076] Electronic device 500 may also include different forms of program storage units and data storage units, such as hard disk 506, read-only memory (ROM) 503, and random access memory (RAM) 504, capable of storing various data files used for computer processing and / or communication, as well as possible program instructions executed by processor 502. Processor 502 executes these instructions to cause electronic device 500 to perform dynamic modification methods for the physical parameters of the nuclear reactor. The results processed by processor 502 are transmitted to user equipment via communication port 505 and displayed on the user interface.

[0077] In addition, this application also proposes a computer storage medium storing computer program code, which, when executed alone or together by at least one processor of an electronic device, causes the electronic device to perform a method for dynamically modifying the physical parameters of a nuclear reactor.

[0078] Some aspects of this application can be executed entirely by hardware, entirely by software (including firmware, resident software, microcode, etc.), or by a combination of hardware and software. The aforementioned hardware or software may be referred to as a "data block," "module," "engine," "unit," "component," or "system." The processor may be one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DAPDs), programmable logic devices (PLDs), field-programmable gate arrays (FPGAs), processors, controllers, microcontrollers, microprocessors, or combinations thereof. Furthermore, aspects of this application may manifest as computer products residing in one or more computer-readable media, including computer-readable program code. For example, computer-readable media may include, but are not limited to, magnetic storage devices (e.g., hard disks, floppy disks, magnetic tapes, etc.), optical discs (e.g., compressed CDs, digital multifunction DVDs, etc.), smart cards, and flash memory devices (e.g., cards, sticks, key drives, etc.).

[0079] A computer-readable medium may contain a propagated data signal containing computer program code, for example, on baseband or as part of a carrier wave. This propagated signal may take various forms, including electromagnetic, optical, and so on, or suitable combinations thereof. A computer-readable medium can be any computer-readable medium other than a computer-readable storage medium, which can be connected to an instruction execution system, apparatus, or device to enable communication, propagation, or transmission of a program for use. The program code located on the computer-readable medium can be propagated through any suitable medium, including radio, cable, fiber optic cable, radio frequency signals, or similar media, or any combination of the above media.

[0080] The basic concepts have been described above. It is clear that the above disclosure is merely illustrative and does not constitute a limitation of this application. Although not explicitly stated herein, various modifications, improvements, and corrections may be made to this application by those skilled in the art. Such modifications, improvements, and corrections are suggested in this application and therefore remain within the spirit and scope of the exemplary embodiments of this application.

[0081] Furthermore, this application uses specific terms to describe embodiments of the application. For example, "an embodiment," "one embodiment," and / or "some embodiments" refer to a particular feature, structure, or characteristic related to at least one embodiment of the application. Therefore, it should be emphasized and noted that "an embodiment," "one embodiment," or "an alternative embodiment" mentioned twice or more in different locations in this specification do not necessarily refer to the same embodiment. In addition, certain features, structures, or characteristics in one or more embodiments of the application can be appropriately combined.

[0082] Similarly, it should be noted that, in order to simplify the description of the present application and thus aid in the understanding of one or more embodiments of the invention, the foregoing description of the embodiments of the present application sometimes combines multiple features into a single embodiment, drawing, or description thereof. However, this disclosure method does not imply that the subject matter of the present application requires more features than those mentioned. In fact, the embodiments have fewer features than all the features of the single embodiments disclosed above.

[0083] Although this application has been described with reference to specific embodiments, those skilled in the art should recognize that the above embodiments are only used to illustrate this application, and various equivalent changes or substitutions can be made without departing from the spirit of this application. Therefore, any changes or modifications to the above embodiments within the scope of the essential spirit of this application will fall within the scope of this application.

Claims

1. A method for dynamically modifying physical parameters of a nuclear reactor, the nuclear reactor comprising multiple physical parameters, characterized in that, Includes the following steps: S1: During the operation of the nuclear reactor simulation model, the parameter modification command input by the user is parsed to obtain the physical parameter item to be modified, the modification node, and the target value of the physical parameter item to be modified, wherein the physical parameter item to be modified is within the modification node; S2: Based on the physical parameter item to be modified and the target value of the physical parameter item to be modified, obtain at least one associated physical parameter item and the target value of the at least one associated physical parameter item through the parameter change propagation tree, wherein the at least one associated physical parameter item is within the same modification node; as well as S3: Based on the target value of the physical parameter to be modified and the current value of the physical parameter to be modified, the target value of the at least one associated physical parameter and the current value of the at least one associated physical parameter, solve the mass conservation equation, the energy conservation equation and the momentum conservation equation to obtain the updated values ​​of the multiple physical parameters.

2. The method for dynamically modifying the physical parameters of a nuclear reactor as described in claim 1, characterized in that, Step S2 includes: S21: Starting from the physical parameter item to be modified, traverse the parameter change propagation tree to obtain at least one associated physical parameter item that has a quantitative mapping relationship with the physical parameter item to be modified. S22: Calculate the target value of the at least one associated physical parameter item based on the target value of the physical parameter item to be modified and the quantitative mapping relationship.

3. The method for dynamically modifying the physical parameters of a nuclear reactor as described in claim 2, characterized in that, Before step S2 and after step S1, the following steps are also included: S4: Determine whether the target value of the physical parameter to be modified is within the preset legal value range. If the determination is yes, then execute step S2.

4. The method for dynamically modifying the physical parameters of a nuclear reactor as described in claim 1, characterized in that, Step S3 includes solving the mass conservation equation, the energy conservation equation, and the momentum conservation equation using a predictive-correction semi-implicit method to obtain updated values ​​for the plurality of physical parameters. S31: Calculate the transition value of the physical parameter to be modified based on the target value and the current value of the physical parameter to be modified, and obtain the transition value of the at least one associated physical parameter through the parameter change propagation tree based on the transition value of the physical parameter to be modified. S32: In the explicit pre-estimation stage, the pressure gradient term is ignored, and the current value of the physical parameter to be modified and the current value of the at least one associated physical parameter are replaced with the corresponding transition value, respectively, and pre-estimation is performed to obtain the estimated value of the physical parameter. S33: In the implicit correction stage, a pressure matrix is ​​constructed based on the estimated value of the physical parameters, and the boundary values ​​within the boundary nodes are used as boundary conditions to iteratively solve the pressure matrix until the iterative solution converges, thereby obtaining the updated value of the physical parameters.

5. The method for dynamically modifying the physical parameters of a nuclear reactor as described in claim 4, characterized in that, Step S31 includes: S31a: Based on an empirical smoothing coefficient, a weighted calculation is performed on the target value and the current value of the physical parameter to be modified to obtain a transition value for the physical parameter to be modified. The transition value of the physical parameter to be modified is calculated using the following formula: in, This is the transition value for the physical parameter item to be modified. The target value for the physical parameter item to be modified. The current value of the physical parameter item to be modified. The empirical smoothing coefficient, where n is the set time step and a is the modified node; S31b: Calculate the transition value of the at least one associated physical parameter item based on the transition value of the physical parameter item to be modified and the quantitative mapping relationship between the physical parameter item to be modified and the at least one associated physical parameter item in the parameter change propagation tree.

6. The method for dynamically modifying the physical parameters of a nuclear reactor as described in claim 4, characterized in that, Before step S33, the following also includes: S34: If the modified node is an internal node, mark the modified node as the boundary node and include the target value of the physical parameter item to be modified into the boundary value.

7. The method for dynamically modifying the physical parameters of a nuclear reactor as described in claim 5, characterized in that, The empirical smoothing coefficient is calculated using the following formula: 。 8. The method for dynamically modifying the physical parameters of a nuclear reactor as described in claim 1, characterized in that, The parameter change propagation tree is a directed acyclic graph, the root node of the parameter change propagation tree is the physical parameter item to be modified, and the leaf nodes of the parameter change propagation tree are the at least one associated physical parameter item.

9. An electronic device, characterized in that, include: Memory is used to store instructions that can be executed by the processor; as well as A processor for executing the instructions to implement the method as described in any one of claims 1 to 8.

10. A computer storage medium storing computer program code, characterized in that, The computer program code implements the method as described in any one of claims 1 to 8 when executed by a processor.