Method and apparatus for calculating neutron flux, and electronic device

By combining kernel density estimation and sampling methods, stochastic Fourier eigenvectors are used to calculate neutron flux, which solves the problem of large computational complexity in calculating neutron flux in the existing technology, achieves efficient neutron flux calculation, and improves computational efficiency. efficiency.

WO2024192579A1PCT designated stage expired Publication Date: 2024-09-26LIU CHANGYUAN
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
PCT/CN2023/082262
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Filing Date
2023-03-17
Publication Date
2024-09-26

AI Technical Summary

Technical Problem

The amount of calculation required to calculate neutron flux in the existing technology is huge, resulting in low calculation efficiency and difficulty in performing high-resolution, high-reliability simulation calculations in a short time.

Method used

The kernel density estimation method and sampling method are combined with random Fourier eigenvectors to reduce the amount of calculation and improve calculation efficiency through the calculation of multiple objective functions and Fourier eigenvectors.

Benefits of technology

With similar solution accuracy, the calculation amount is significantly reduced, high-resolution and high-confidence calculations of neutron flux and other physical quantities are achieved in a relatively short time, and data processing efficiency is improved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2023082262_26092024_PF_FP
    Figure CN2023082262_26092024_PF_FP
Patent Text Reader

Abstract

Disclosed in the present application is a method for calculating a neutron flux. The method comprises: calculating a first objective function by using a kernel density estimation method and a sampling method; obtaining a kernel function by using the inner product of random Fourier feature vectors; obtaining a second objective function on the basis of the first objective function and the kernel function; calculating an average Fourier feature vector of a neutron flux; calculating a third objective function on the basis of the second objective function and the average Fourier feature vector of the neutron flux; calculating an average Fourier feature vector of the neutron flux in a spatial subset; and calculating a fourth objective function on the basis of the average Fourier feature vector of the neutron flux, which is calculated in the spatial subset, and the third objective function, wherein the first objective function, the second objective function, the third objective function and the fourth objective function are all function expressions for calculating a neutron flux of an apparatus where a nuclear reaction occurs. The method for calculating a neutron flux provided in the present application can improve the data processing efficiency during a neutron flux calculation process.
Need to check novelty before this filing date? Find Prior Art

Description

Neutron flux calculation method, device and electronic equipment Technical Field

[0001] The present application relates to the technical field of nuclear reaction devices, and in particular to a method for calculating neutron flux. Background Art

[0002] In this field, sampling methods, including the Monte Carlo method, are commonly used to simulate nuclear reaction devices with high fidelity. Kernel density estimation methods are also used for acceleration. However, existing methods require enormous computational effort, making neutron flux calculations extremely inconvenient.

[0003] Summary of the Invention

[0004] In response to the technical problems existing in the prior art, the neutron flux calculation method, device, electronic device and computer-readable storage medium proposed in this application can solve at least one technical problem.

[0005] In a first aspect, the present application proposes a neutron flux calculation method, comprising:

[0006] Calculate the first objective function using kernel density estimation method and sampling method;

[0007] The kernel function is obtained using the inner product of random Fourier eigenvectors;

[0008] Based on the first objective function and the kernel function, obtaining a second objective function using an average Fourier eigenvector of the neutron flux;

[0009] The average Fourier eigenvector of the neutron flux is calculated using a sampling method;

[0010] calculating a third objective function based on the second objective function and an average Fourier eigenvector of the neutron flux;

[0011] calculating an average Fourier eigenvector of the neutron flux in a spatial subset based on the average Fourier eigenvector of the neutron flux;

[0012] A fourth objective function is calculated based on the average Fourier eigenvector of the neutron flux calculated in the spatial subset and the third objective function; wherein,

[0013] The first objective function, the second objective function, the third objective function and the fourth objective function are all functional expressions for calculating the neutron flux of a device where a nuclear reaction occurs.

[0014] In a second aspect, the present application proposes a method for solving physical field equations, which includes using the method described above to perform at least one of the following: solving neutron transport equations, fluid mechanics equations, heat conduction equations, and engineering integral and differential physical equations.

[0015] In a third aspect, the present application proposes a neutron flux calculation device, comprising:

[0016] A first calculation module calculates a first objective function using a kernel density estimation method and a sampling method;

[0017] The second calculation module obtains the kernel function using the inner product of random Fourier eigenvectors;

[0018] a third calculation module, which obtains a second objective function based on the first objective function and the kernel function using an average Fourier eigenvector of the neutron flux;

[0019] a fourth calculation module, calculating an average Fourier eigenvector of the neutron flux using a sampling method;

[0020] a fifth calculation module, calculating a third objective function based on the second objective function and an average Fourier eigenvector of the neutron flux;

[0021] a sixth calculation module, calculating an average Fourier eigenvector of the neutron flux in the spatial subset based on the average Fourier eigenvector of the neutron flux;

[0022] A seventh calculation module calculates a fourth objective function based on the average Fourier eigenvector of the neutron flux calculated in the spatial subset and the third objective function; wherein,

[0023] The first objective function, the second objective function, the third objective function and the fourth objective function are functional expressions for calculating the neutron flux of the device where the nuclear reaction occurs.

[0024] In a fourth aspect, the present application provides an electronic device, comprising: a processor and a memory storing computer program instructions;

[0025] The electronic device implements the above method when executing the computer program instructions.

[0026] In a fifth aspect, the present application proposes a computer-readable storage medium, on which computer program instructions are stored, and the computer program instructions implement the method described above when executed by a processor.

[0027] The neutron flux calculation method proposed in this application uses less computing power with similar solution accuracy, reduces the simulation calculation amount of scenarios such as devices that use sampling methods to simulate nuclear reaction events, and enables high-resolution, high-reliability calculations of neutron flux and other physical quantities in a relatively short period of time, thereby significantly improving the data processing efficiency for neutron flux. BRIEF DESCRIPTION OF THE DRAWINGS

[0028] Below, the preferred embodiments of the present application will be further described in detail with reference to the accompanying drawings, wherein:

[0029] FIG1 is a flow chart of a method for calculating neutron flux according to an embodiment of the present application;

[0030] FIG2 is a simplified schematic diagram of the geometry and material filling scheme of a nuclear reactor fuel assembly according to an embodiment of the present application;

[0031] FIG3 is a neutron flux distribution diagram of a reference solution of an embodiment of the present application;

[0032] FIG4 is a neutron flux distribution diagram of 500,000 effective particles using method 1 of an embodiment of the present application;

[0033] FIG5 is a neutron flux distribution diagram of 500,000 effective particles using method 2 of an embodiment of the present application;

[0034] FIG6 is a neutron flux distribution diagram of 500,000 effective particles using method 3 of an embodiment of the present application;

[0035] FIG7 is a schematic structural diagram of a neutron flux calculation device according to an embodiment of the present application;

[0036] FIG8 is a schematic diagram of the hardware structure of the electronic device according to an embodiment of the present application. DETAILED DESCRIPTION

[0037] The principles and spirit of the present application will be described below with reference to several exemplary embodiments. It should be understood that the purpose of providing these embodiments is to make the principles and spirit of the present application clearer and more thorough, so that those skilled in the art can better understand and implement the principles and spirit of the present application. The exemplary embodiments provided herein are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments herein, all other embodiments obtained by those of ordinary skill in the art without creative work are within the scope of protection of this application.

[0038] Those skilled in the art will appreciate that the embodiments of the present application may be implemented as a method, apparatus, electronic device, and storage medium. Therefore, the present disclosure may be implemented in at least one of the following forms: complete hardware, complete software (including firmware, resident software, microcode, etc.), or a combination of hardware and software.

[0039] According to the embodiments of the present application, the present application claims protection for a method, device, electronic device and storage medium for calculating neutron flux.

[0040] In this document, terms such as first and second are used only to distinguish one entity (or operation) from another entity (or operation) and do not require or imply any order or relationship between these entities (or operations). In this document, elements (such as parts, components, processes, steps) defined by the phrase "comprising..." do not exclude the existence of other elements in addition to the listed elements, that is, other elements not explicitly listed may also be included. In this document, any elements and their quantities in the drawings are for illustration only and not for limitation. Any nomenclature in the drawings is for distinction only and does not have any limiting meaning.

[0041] The following describes the principles and spirit of the present application in detail with reference to several exemplary or representative embodiments of the present application.

[0042] First, a brief description is given of the concepts, technical terms and other related contents that may be involved in the embodiments of this application.

[0043] 1. Sampling Method

[0044] Assume that the calculation is in d-dimensional complex space Functions in in is a point in d-dimensional complex space, is a real number, then the sampling method is a method that estimates the objective function by designing an algorithm and using sampling Here are two examples of sampling: low-dimensional geometric sampling and its special case, point sampling. Other sampling methods also exist.

[0045] The Monte Carlo method is a sampling method.

[0046] Low-dimensional geometry sampling involves a sampling process that generates A set of N low-dimensional geometric bodies in n is the index of the sample, and the sampling process produces a The first weight function in So that it can be given by the following formula exist Subset of The integral on:

[0047] Here, the low-dimensional geometry is mathematically a manifold, which is a low-dimensional complex space arrive mapping; specifically, U n For space A subset of Existence from Subset of To U n Mapping At the same time, the low-dimensional complex space The dimension of is 0≤d′≤d. A straight line or a triangle or a sphere in three-dimensional space is an example of a low-dimensional geometric body. The corresponding sample has index n, so the first weight functions of different samples may be the same or different.

[0048] In addition, we will n View as a point At this time, d′=0, the integral in formula ① Can be seen as Multiply by the point In the identity function of S, equation ① is transformed into equation ②, and point sampling is obtained. From low-dimensional geometric sampling to point sampling, the sampling process needs to be redesigned, so there will be different weight functions. The weight function used for point sampling is recorded as the second weight function

[0049] The point sampling method involves a sampling process that generates A set of N points And the sampling process has The second weight function in So that it can be given by the following formula exist Subset of The integral on:

[0050] Among them, due to the second weight function The corresponding sample index is n, so the second weight function of different samples may be the same or different; is the identity function of S, if In S, is 1, otherwise is 0, that is:

[0051] In practice, the samples in the sampling process may be random or not completely random, that is, the samples are generated through some deterministic process.

[0052] 2. Kernel Density Estimation

[0053] Formulas ① and ② are used to estimate If you need to get the integral on S at a certain point at values, a method called "kernel density estimation" can be used.

[0054] For sampling methods that use low-dimensional geometry, the following equation can be used to estimate

[0055] It is the "kernel function".

[0056] For sampling methods using point sampling, define the function Its value is a non-negative real number, and Then we can use the following formula to estimate

[0057] is the "kernel function", is the kernel function in The value at time.

[0058] When the kernel function The value of When there is a function So that, So is "translation invariant". Among them,

[0059] In addition, the function To scale, define The reversible matrix H with the dimension of d×d can be converted into Scale to Among them H -1 is the inverse matrix of matrix H, and det(H) is the determinant of matrix H. It is usually a widely used function. Build method.

[0060] As an example, It can be a Gaussian function, as follows:

[0061] in, is a vector The model, is a vector Specifically, assuming that in is plural, then, in for u m The conjugate complex number of . Formula ⑦ satisfies the normalization condition:

[0062] As an example, It can be the Yepanechnikov function, as follows:

[0063] Among them, C d is a constant, so that For d=1, 2, 3, C1=2, C2=π, C3=4π / 3.

[0064] Formula ⑦ and formula ⑧ are There are two examples, and other situations are possible.

[0065] 3. Random Fourier Features

[0066] Kernel density estimation is a classic machine learning technique with numerous practical applications. However, as shown in Equation 4 or 5, when the number of samples N is very large, such as tens of millions or hundreds of billions, the computational complexity of the summation in Equation 4 or 5 is proportional to N, making it very computationally expensive. Therefore, a method called random Fourier features has been proposed.

[0067] First, assume is translation invariant and positive definite, then according to Bochner's Theorem, there exists a function and is a non-negative real number, and So that:

[0068] Where j is a unit imaginary number, For space The zero vector in the Hilbert space (the zero vector is and its own difference, Formula 9 is the function With function The Fourier transform between .

[0069] Then, based on the above Description, It can be viewed as a probability distribution function. If the random variable obey The distribution described can be obtained as follows:

[0070] in, For function In the random variable expectations on.

[0071] Given a set Obedience of sampling According to formula ⑩, A calculation method is as follows

[0072] In addition, it is known is a real number, we can Use the Re function to take the real part and get the formula

[0073] when and When are all real vectors, the formula Can be written

[0074] And further according to the operation of trigonometric functions, the formula Can be written

[0075] Then as Defining vector functions The dimension of its value is

[0076] According to the formula Mode Can be written

[0077] in is a vector The conjugate transpose of .

[0078] In addition, it is known is a real number, we can Use the Re function to take the real part and get the formula

[0079] when and When are all real vectors, the formula Can be written

[0080] In addition, given that the random variable b is a real number randomly uniformly distributed on [0,2π], then, according to the periodicity of trigonometric functions, for any real vector and The expectation of the random variable b is 0, that is, As shown:

[0081] Then, according to the formula Japanese style Obtaining

[0082] further,

[0083] According to the relationship between trigonometric functions, we can get the formula

[0084] According to the formula Mode Simplified to

[0085] Given a set real numbers that are uniformly distributed randomly on [0,2π] Another calculation method is as follows

[0086] Then as Defining vector functions The dimension of its value is

[0087] Mode Can be written

[0088] in is a vector The conjugate transpose of .

[0089] According to the formula Japanese style Can be written as a set of low-dimensional vectors The form of the inner product is as shown below, where The dimension is D, which is usually much smaller than N. And for

[0090] as well as is a low-dimensional vector Two special cases.

[0091] For those that do not satisfy translation invariance There are also similar formulas in the prior art. In the form of , there exists a vector Satisfaction

[0092] Therefore, there is a division formula As well as Other satisfaction The situation is also included in the protection scope of this application.

[0093] If the formula Substituting Equation (8) into Equation ④, we can get Equation (9). Moreover, if we substitute Equation Substituting equation (10) into equation ⑤, we can get equation (9). Calculate by equation (9) The amount of calculation required is proportional to D; calculated by formula ④ or formula ⑤ The amount of computation is proportional to N; usually the dimension D is smaller than N, so using the Fourier characteristic method can reduce the computational complexity of the kernel density estimation method.

[0094] The neutron flux calculation method proposed in the embodiment of the present application is described in detail below:

[0095] FIG1 schematically shows a flow chart of a method for calculating neutron flux according to an embodiment of the present application, the method comprising:

[0096] S101, calculating a first objective function using a kernel density estimation method and a sampling method;

[0097] S102, obtaining a kernel function using the inner product of random Fourier eigenvectors;

[0098] S103, based on the first objective function and the kernel function, obtaining a second objective function using the average Fourier eigenvector of the neutron flux;

[0099] S104, calculating the average Fourier eigenvector of the neutron flux using a sampling method;

[0100] S105, calculating a third objective function based on the second objective function and the average Fourier eigenvector of the neutron flux;

[0101] S106, calculating an average Fourier eigenvector of the neutron flux in the spatial subset based on the average Fourier eigenvector of the neutron flux;

[0102] S107, calculating a fourth objective function based on the average Fourier eigenvector of the neutron flux calculated in the spatial subset and the third objective function; wherein,

[0103] The first, second, third, and fourth objective functions are functional expressions used to calculate the neutron flux of the device where the nuclear reaction occurs. Specifically, the neutron flux is the neutron flux density, which refers to the number of neutrons passing through a unit area perpendicular to the direction of neutron motion per unit time.

[0104] The neutron flux calculation method proposed in this application reduces the simulation calculation amount of other scenarios such as devices that use sampling methods to simulate nuclear reactions, thereby achieving high-resolution and high-reliability calculation of neutron flux and other physical quantities in a relatively short time.

[0105] In some embodiments of the present application, the first objective function is calculated using a kernel density estimation method and a sampling method, including:

[0106] When the sampling unit of the sampling method is a low-dimensional geometric body, according to formula (1), the first objective function is obtained by taking the average value of the integral of the product of the kernel function and the first weight function on the sampled low-dimensional geometric body:

[0107] Among them, in the d-dimensional complex space In the sampling process, N low-dimensional geometric bodies U are sampled in space. n , n=1…N, n is the sampling index, and its value is a positive integer; is the first weight function, and its domain is The range is real numbers, and, because The corresponding sample index is n, so the first weight function of different samples may be the same or different; is the kernel function, and its domain is and The Cartesian product of Its range is non-negative real numbers; low-dimensional geometry is mathematically a manifold, which is a low-dimensional complex space arrive The mapping of U n For space A subset of Existence from Subset of To U n Mapping Moreover, the low-dimensional complex space The dimension of is d', and 0≤d'≤d. A spatial line or a spatial triangle or a sphere in three-dimensional space are examples of low-dimensional geometric bodies.

[0108] When the sampling unit of the sampling method is a point, according to formula (2), the first objective function is obtained by using the average value of the product of the kernel function at the sampled point and the second weight function:

[0109] Among them, in the d-dimensional complex space In the sampling process, N points are sampled in space. n is the sampling index, which is a positive integer; is the second weight function, whose domain is The range is real numbers, and, because The corresponding sample index is n, so the second weight function of different samples may be the same or different; is the kernel function, and its domain is and The Cartesian product of Its value range is non-negative real numbers.

[0110] In some embodiments of the present application, the kernel function is obtained using the inner product of random Fourier eigenvectors, including:

[0111] According to formula (3), determine the random Fourier eigenvector that satisfies formula (3) and

[0112] in, and The domain of The range is D-dimensional complex space for The conjugate transpose of for and The inner product of .

[0113] In some embodiments of the present application, obtaining the second objective function using the average Fourier eigenvector of the neutron flux includes:

[0114] When the sampling unit of the sampling method is a low-dimensional geometric body, substitute formula (3) into formula (1) to obtain formula (4):

[0115] In formula (4), Moving outside the summation, we get formula (5):

[0116] When the sampling unit of the sampling method is point, substitute formula (3) into formula (2) to obtain formula (6):

[0117] In formula (6), Moving outside the summation, we get Equation (7):

[0118] in, for Random Fourier eigenvectors at , for Random Fourier eigenvectors at , for Random Fourier eigenvectors at , is the first weight function, is the second weight function.

[0119] In some embodiments of the present application, calculating the average Fourier eigenvector of the neutron flux using a sampling method includes:

[0120] According to formula (8), calculate the sampled low-dimensional geometry U n Random Fourier eigenvectors on The average value of the integral of the product with the first weight function yields the average Fourier eigenvector of the neutron flux

[0121] Substituting Equation (8) into Equation (5) yields Equation (9), which calculates the third objective function based on the second objective function and the average Fourier eigenvector of the neutron flux:

[0122] in, for Random Fourier eigenvectors at , for Random Fourier eigenvectors at , is the first weight function.

[0123] In some embodiments of the present application, calculating the average Fourier eigenvector of the neutron flux using a sampling method further includes:

[0124] According to formula (10), the sampling points are calculated The average of the products of the random Fourier eigenvectors at and the second weight function is used to obtain the average Fourier eigenvector of the neutron flux

[0125] Substituting formula (10) into formula (7) yields formula (9):

[0126] in, for Random Fourier eigenvectors at , For sampling points Random Fourier eigenvectors at , is the second weight function.

[0127] In some embodiments of the present application, calculating the average Fourier eigenvector of the neutron flux in the spatial subset based on the average Fourier eigenvector of the neutron flux includes:

[0128] Use formula (11) to calculate the space The subset T of the sampled low-dimensional geometry U n The average of the integrals of the products of random Fourier eigenvectors and the first weighting function over the intersecting parts yields the average Fourier eigenvector of the neutron flux calculated in the spatial subset T:

[0129] in, is the average Fourier eigenvector of the neutron flux calculated in the spatial subset T.

[0130] The fourth objective function is calculated based on the average Fourier eigenvector of the neutron flux calculated in the spatial subset and the third objective function:

[0131] Among them, T m For space A subset of , m = 1…M, m is the index of the subset, and its value is a positive integer.

[0132] In some embodiments of the present application, calculating the average Fourier eigenvector of the neutron flux in the spatial subset based on the average Fourier eigenvector of the neutron flux further includes:

[0133] Use formula (13) to calculate in space The sampling points in the subset T of The average of the products of the random Fourier eigenvectors in and the second weighting function yields the average Fourier eigenvector of the neutron flux calculated in the spatial subset T:

[0134] in, is the identity function of T, if In T, The value is 1, otherwise The value of is 0; is the average Fourier eigenvector of the neutron flux calculated in the spatial subset T.

[0135] The fourth objective function is calculated based on the average Fourier eigenvector of the neutron flux calculated in the spatial subset and the third objective function:

[0136] Among them, T m For space A subset of , m = 1…M, m is the index of the subset, and its value is a positive integer.

[0137] because It can be regarded as correct , so the average Fourier eigenvector of the neutron flux calculated in the spatial subset is based on the average Fourier eigenvector of the neutron flux, and, therefore, the calculation of the fourth objective function is based on the third objective function.

[0138] The calculation method of neutron flux proposed in this application is applicable to solving various physical equations.

[0139] In addition, the neutron flux calculation method proposed in this application reduces the simulation calculation amount of other scenarios such as devices that use sampling methods to simulate nuclear reactions, thereby achieving high-resolution, high-reliability calculation of neutron flux and other physical quantities in a relatively short time.

[0140] The above embodiments describe the specific contents of the present application in detail. The following is a specific example to verify the calculation method of the neutron flux proposed in the present application.

[0141] This implementation example is a 1 / 4 portion of a simplified nuclear reactor fuel assembly. The fuel assembly has a total of 8x8, or 64 square fuel cells. The side length of each fuel cell is 1.875 cm, and there is a circular fuel filling area in the center of the cell with a radius of 0.603 cm. The 1 / 4 fuel assembly is a square with a side length of 15 cm. Figure 2 schematically shows the filling scheme of a simplified nuclear reactor fuel assembly of an embodiment of the present application. As shown in Figure 2, the circular area in the center of the cell is filled with fission reaction material (or fuel) or neutron absorption material, wherein the circular areas of the cells at B2, B8, C5, E3, F6 and G2 are filled with neutron absorption material, and the circular areas of other cells are filled with fission reaction material. The circular area in the center of the cell is filled with neutron moderation material. The square shown in Figure 2 can extend infinitely in the z direction within the xy plane, and the properties of the materials at different z locations are the same at the same x and y locations. Therefore, this problem is a two-dimensional problem.

[0142] This problem simulates the effective multiplication coefficient in the neutron transport equation. The neutron reaction cross section of the material is a group 1 cross section, with the data shown in Table 1. This problem assumes that the direction of neutron release from fission is isotropic, meaning that the probability of the released neutrons appearing in all directions is equal. Furthermore, the scattering is elastic, and the scattered neutrons are also isotropic, meaning that the probability of the scattered neutrons appearing in all directions is equal.

[0143] Table 1. Nuclear data, i.e., neutron reaction cross section data for group 1

[0144] The algorithm of the program is the Monte Carlo method in the sampling method, using the point sampling method. This example uses three methods to calculate the neutron flux, of which methods 1 and 2 are existing technologies, and method 3 is the method proposed in this application.

[0145] Method 1: Use the point sampling method shown in formula ② to calculate the neutron flux at each location.

[0146] Method 2: Calculate the neutron flux at each location using the kernel density estimation method shown in Equation 5. The kernel function used is a two-dimensional Panechnikov function, as shown in Equation 8. In Equation 8, d = 2. The kernel function is also scaled using Equation 6, where the matrix H is a 2x2 diagonal matrix with both diagonal values ​​set to 0.4859 and both off-diagonal values ​​set to 0.

[0147] Method 3: Using the same parameters as Method 2, use formula (13) to calculate The neutron flux at each location is then calculated using Equation (12).

[0148] To compare various methods, a solution that closely approximates reality is essential. To this end, a reference solution was obtained using conventional method 1 and simulating 100 billion effective particles. Figure 3 schematically illustrates the neutron flux distribution for the reference solution of an embodiment of the present application. As shown in Figure 3, the values ​​shown have been scaled so that the average value is 1.0.

[0149] The reference solution used 100 billion effective particles, which would result in an unacceptable computational burden for a full nuclear reactor simulation under current technology. To meet practical limitations, the comparison of methods 1, 2, and 3 uses only 500,000 effective particles, 200,000 times less than the reference solution.

[0150] In addition, in order to quantitatively compare the differences between the different methods tested and the reference solution, the mean integrated squared error (MISE) is used for comparison. If the geometric space of the entire problem is divided into I regions, then the function f corresponding to the region indexed by i is i and g i The MISE between is defined as follows.

[0151] where i=0...I-1, V i is the size of the space of region i. In two dimensions, the size of the space refers to the area. The smaller the MISE, the better.

[0152] Figure 4 schematically shows the neutron flux distribution of method 1 and 500,000 effective particles in an embodiment of the present application, Figure 5 schematically shows the neutron flux distribution of method 2 and 500,000 effective particles in an embodiment of the present application; Figure 6 schematically shows the neutron flux distribution of method 3 and 500,000 effective particles in an embodiment of the present application.

[0153] Table 2 compares the MISEs of each method with the reference solution. As shown in Table 2, for the same 500,000 effective particles, the MISE of Method 1 is 6–21 times that of Methods 2 and 3. Meanwhile, the MISE of Method 3 is only 1.7% higher than that of Method 2, and the computation time is shorter than that of Method 2.

[0154] Table 2: Comparison of results of different methods

[0155] Although we used a simple test example, this example covers the main features of nuclear reactor physics, and it can be seen that the neutron flux calculation method proposed in this application can reduce the amount of calculation with a small loss of calculation accuracy.

[0156] The present application also proposes a method for solving physical field equations, which includes using the method described above to perform at least one of the following: solving neutron transport equations, fluid mechanics equations, heat conduction equations, and engineering integral and differential physical equations.

[0157] That is to say, the neutron flux calculation method proposed in this application can be applied not only to the solution of the neutron flux equation, but also to the solution of integral and differential physical equations in engineering such as fluid mechanics equations and heat conduction equations, and thus provides a method for solving various physical phenomenon equations in other simulation scenarios such as devices where nuclear reactions occur.

[0158] Corresponding to the method provided in this application, this application also proposes a neutron flux calculation device. FIG7 schematically shows a structural diagram of a neutron flux calculation device 100 according to an embodiment of this application. The calculation device 100 includes:

[0159] A first calculation module 110 calculates a first objective function using a kernel density estimation method and a sampling method;

[0160] A second calculation module 120 obtains a kernel function using the inner product of random Fourier eigenvectors;

[0161] A third calculation module 130 obtains a second objective function based on the first objective function and the kernel function using an average Fourier eigenvector of the neutron flux;

[0162] A fourth calculation module 140 calculates the average Fourier eigenvector of the neutron flux using a sampling method;

[0163] A fifth calculation module 150 calculates a third objective function based on the second objective function and the average Fourier eigenvector of the neutron flux;

[0164] A sixth calculation module 160 calculates an average Fourier eigenvector of the neutron flux in the spatial subset based on the average Fourier eigenvector of the neutron flux;

[0165] The seventh calculation module 170 calculates a fourth objective function based on the average Fourier eigenvector of the neutron flux calculated in the spatial subset and the third objective function; wherein,

[0166] The first objective function, the second objective function, the third objective function, and the fourth objective function are functional expressions for calculating the neutron flux of the device where the nuclear reaction occurs.

[0167] In some embodiments of the present application, the first calculation module 110 calculates the first objective function using the kernel density estimation method and the sampling method, including:

[0168] When the sampling unit of the sampling method is a low-dimensional geometric body, according to formula (1), the first objective function is obtained by using the average value of the integral of the product of the kernel function and the first weight function on the sampled low-dimensional geometric body:

[0169] Among them, in the d-dimensional complex space In the sampling process, N low-dimensional geometric bodies U are sampled in space. n , n=1…N, n is the sampling index, and its value is a positive integer; is the first weight function, and its domain is The range is real numbers, and, because The corresponding sample index is n, so the first weight function of different samples may be the same or different; is the kernel function, and its domain is and The Cartesian product of Its range is non-negative real numbers; low-dimensional geometry is mathematically a manifold, which is a low-dimensional complex space arrive The mapping of U n For space A subset of Existence from Subset of To U n Mapping Moreover, the low-dimensional complex space The dimension of is d′, 0≤d′≤d. A spatial line or a spatial triangle or a sphere in three-dimensional space are examples of low-dimensional geometric bodies.

[0170] When the sampling unit of the sampling method is a point, according to formula (2), the first objective function is obtained by using the average value of the product of the kernel function and the second weight function at the sampled point:

[0171] Among them, in the d-dimensional complex space In the sampling process, N points are sampled in space. n=1…N, n is the sampling index, and its value is a positive integer; is the second weight function, whose domain is The range is real numbers, and, because The corresponding sample index is n, so the second weight function of different samples may be the same or different; is the kernel function, and its domain is and The Cartesian product of Its value range is non-negative real numbers.

[0172] In some embodiments of the present application, the second calculation module 120 uses the inner product of the random Fourier eigenvector to obtain the kernel function, including:

[0173] According to formula (3), determine the random Fourier eigenvector that satisfies formula (3) and

[0174] in, and The domain of The range is D-dimensional complex space for The conjugate transpose of for and The inner product of .

[0175] In some embodiments of the present application, the third calculation module 130 obtains the second objective function based on the first objective function and the kernel function using the average Fourier eigenvector of the neutron flux, including:

[0176] When the sampling unit of the sampling method is a low-dimensional geometric body, substitute formula (3) into formula (1) to obtain formula (4):

[0177] In formula (4), Moving outside the summation, we get formula (5):

[0178] When the sampling unit of the sampling method is point, substitute formula (3) into formula (2) to obtain formula (6):

[0179] In formula (6), Moving outside the summation, we get Equation (7):

[0180] in, for Random Fourier eigenvectors at , for Random Fourier eigenvectors at , for Random Fourier eigenvectors at , is the first weight function, is the second weight function.

[0181] Optionally, the fourth calculation module 140 calculates the average Fourier eigenvector of the neutron flux using a sampling method, including:

[0182] According to formula (8), calculate the sampled low-dimensional geometry U n Random Fourier eigenvector values ​​on The average value of the integral of the product with the first weight function yields the average Fourier eigenvector of the neutron flux

[0183] Substituting Equation (8) into Equation (5) yields Equation (9), which calculates the third objective function based on the second objective function and the average Fourier eigenvector of the neutron flux:

[0184] in, for Random Fourier eigenvectors at , for Random Fourier eigenvectors at , is the first weight function.

[0185] In some embodiments of the present application, the fourth calculation module 140 uses a sampling method to calculate the average Fourier eigenvector of the neutron flux, further comprising:

[0186] According to formula (10), the sampling points are calculated The average Fourier eigenvector of the neutron flux is obtained by averaging the integral of the product of the random Fourier eigenvector values ​​at and the second weight function

[0187] The fifth calculation module 150 calculates the third objective function based on the second objective function and the average Fourier eigenvector of the neutron flux, including:

[0188] Substituting formula (10) into formula (7) yields formula (9):

[0189] in, for Random Fourier eigenvectors at , For sampling points Random Fourier eigenvectors at , is the second weight function.

[0190] In some embodiments of the present application, the sixth calculation module 160 calculates the average Fourier eigenvector of the neutron flux in the spatial subset based on the average Fourier eigenvector of the neutron flux, including:

[0191] Use formula (11) to calculate the space The subset T of the sampled low-dimensional geometry U n The average of the integrals of the products of random Fourier eigenvectors and the first weighting function over the intersecting parts yields the average Fourier eigenvector of the neutron flux calculated in the spatial subset T:

[0192] in, is the average Fourier eigenvector of the neutron flux calculated in the spatial subset T.

[0193] The seventh calculation module 170 calculates the fourth objective function based on the average Fourier eigenvector of the neutron flux calculated in the spatial subset and the third objective function, including:

[0194] Use formula (12) to calculate the fourth objective function:

[0195] Among them, T m For space A subset of , m = 1…M, m is the index of the subset, and its value is a positive integer.

[0196] The seventh calculation module 170 calculates the fourth objective function based on the average Fourier eigenvector of the neutron flux calculated in the spatial subset and the third objective function, further comprising:

[0197] Use formula (13) to calculate in space The sampling points in the subset T of The average of the products of the random Fourier eigenvectors in and the second weighting function yields the average Fourier eigenvector of the neutron flux calculated in the spatial subset T:

[0198] in, is the identity function of T, if In T, The value is 1, otherwise The value of is 0; is the average Fourier eigenvector of the neutron flux calculated in the spatial subset T.

[0199] The fourth objective function is calculated based on the average Fourier eigenvector of the neutron flux calculated in the spatial subset and the third objective function:

[0200] Among them, T m For space A subset of , m = 1…M, m is the index of the subset, and its value is a positive integer.

[0201] because It can be regarded as correct , so the average Fourier eigenvector of the neutron flux calculated in the spatial subset is based on the average Fourier eigenvector of the neutron flux, and, therefore, the calculation of the fourth objective function is based on the third objective function.

[0202] The present application also provides an electronic device, comprising: a processor and a memory storing computer program instructions; when the processor executes the computer program instructions, the object data processing method of any one of the above embodiments is implemented.

[0203] FIG8 schematically shows a hardware structure diagram of an electronic device according to an embodiment of the present application.

[0204] As shown in FIG8 , the electronic device may include a processor 601 and a memory 602 storing computer program instructions.

[0205] Specifically, the processor 601 may include a central processing unit (CPU), or an application specific integrated circuit (ASIC), or may be configured to implement one or more integrated circuits of the embodiments of the present application.

[0206] The memory 602 may include a large capacity memory for data or instructions. By way of example and not limitation, the memory 602 may include a hard disk drive (HDD), a floppy disk drive, a flash memory, an optical disk, a magneto-optical disk, a magnetic tape, or a universal serial bus (USB) drive, or a combination of two or more of these. Where appropriate, the memory 602 may include a removable or non-removable or fixed medium. Where appropriate, the memory 602 may be inside or outside the integrated gateway disaster recovery device. In a specific embodiment, the memory 602 is a non-volatile solid-state memory.

[0207] The memory may include read-only memory (ROM), random access memory (RAM), magnetic disk storage media devices, optical storage media devices, flash memory devices, electrical, optical or other physical / tangible memory storage devices. Thus, generally, the memory includes one or more tangible (non-transitory) computer-readable storage media (e.g., memory devices) encoded with software including computer-executable instructions, and when the software is executed (e.g., by one or more processors), it is operable to perform the operations described with reference to the method according to an aspect of the present disclosure.

[0208] The processor 601 reads and executes computer program instructions stored in the memory 602 to implement any one of the neutron flux calculation methods in the above embodiments.

[0209] In one example, the electronic device may further include a communication interface 603 and a bus 610. As shown in FIG8 , the processor 601, the memory 602, and the communication interface 603 are connected and communicate with each other via the bus 610. The electronic device in the embodiment of the present application may be a server or other computing device, or a cloud server.

[0210] The communication interface 603 is mainly used to implement communication between various modules, devices, units and / or equipment in the embodiments of the present application.

[0211] Bus 610 includes hardware, software or both, and couples the components of online data flow metering equipment to each other. For example, and not limitation, bus may include accelerated graphics port (AGP) or other graphics bus, enhanced industry standard architecture (EISA) bus, front side bus (FSB), hypertransport (HT) interconnection, industry standard architecture (ISA) bus, infinite bandwidth interconnection, low pin count (LPC) bus, memory bus, micro channel architecture (MCA) bus, peripheral component interconnect (PCI) bus, PCI-Express (PCI-X) bus, serial advanced technology attachment (SATA) bus, video electronics standard association local (VLB) bus, Infinity Fabric bus, cache coherent interconnect (CCIX) bus applicable to accelerator or other suitable bus or two or more of these combinations. In appropriate cases, bus 610 may include one or more buses. Although the present application embodiment describes and shows a specific bus, the present application considers any suitable bus or interconnection.

[0212] In addition, in conjunction with the neutron flux calculation method in the above embodiments, embodiments of the present application may provide a computer storage medium for implementation. The computer storage medium stores computer program instructions; when the computer program instructions are executed by a processor, any of the neutron flux calculation methods in the above embodiments is implemented.

[0213] It should be understood that the present application is not limited to the specific configurations and processes described above and illustrated in the figures. For the sake of brevity, a detailed description of known methods is omitted here. In the above embodiments, several specific steps are described and illustrated as examples. However, the method process of the present application is not limited to the specific steps described and illustrated. Those skilled in the art can make various changes, modifications, and additions, or change the order of the steps after understanding the spirit of the present application.

[0214] The functional blocks shown in the above-described block diagram can be implemented as hardware, software, firmware or a combination thereof. When implemented in hardware, it can be, for example, an electronic circuit, an application-specific integrated circuit (ASIC), appropriate firmware, a plug-in, a function card, etc. When implemented in software, the elements of the present application are programs or code segments that are used to perform the required tasks. The program or code segment can be stored in a machine-readable medium, or transmitted on a transmission medium or a communication link by a data signal carried in a carrier wave. "Machine-readable medium" can include any medium capable of storing or transmitting information. The machine-readable medium can include a non-transient computer-readable storage medium, such as an electronic circuit, a semiconductor memory device, a ROM, a flash memory, an erasable ROM (EROM), a floppy disk, a CD-ROM, an optical disc, a hard disk, an optical fiber medium, and the machine-readable medium can also include a radio frequency (RF) link, etc. The code segment can be downloaded via a computer network such as the Internet, an intranet, etc.

[0215] It should also be noted that the exemplary embodiments mentioned in this application describe some methods or systems based on a series of steps or devices. However, this application is not limited to the order of the above steps. In other words, the steps can be performed in the order mentioned in the embodiments, or in a different order, or several steps can be performed simultaneously.

[0216] Aspects of the present disclosure have been described above with reference to the flowcharts and / or block diagrams of the methods, devices (systems) and computer program products according to the embodiments of the present disclosure. It should be understood that each box in the flowchart and / or block diagram and the combination of each box in the flowchart and / or block diagram can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer or other programmable data processing device to produce a machine so that these instructions executed by the processor of the computer or other programmable data processing device enable the implementation of the function / action specified in one or more boxes of the flowchart and / or block diagram. Such a processor can be, but is not limited to, a general-purpose processor, a special-purpose processor, a special application processor or a field programmable logic circuit. It is also understood that each box in the block diagram and / or flowchart and the combination of the boxes in the block diagram and / or flowchart can also be implemented by dedicated hardware that performs the specified function or action, or can be implemented by a combination of dedicated hardware and computer instructions.

[0217] The above description is only a specific embodiment of the present application. Those skilled in the art will clearly understand that for the convenience and brevity of description, the specific working processes of the systems, modules and units described above can refer to the corresponding processes in the aforementioned method embodiments, and will not be repeated here. It should be understood that the scope of protection of the present application is not limited thereto. Any person skilled in the art can easily think of various equivalent modifications or replacements within the technical scope disclosed in the present application, and these modifications or replacements should be included in the scope of protection of the present application.

Claims

1. A method for calculating neutron flux, It is characterized in that include: Calculate the first objective function using a kernel density estimation method and a sampling method; The kernel function is obtained using the inner product of random Fourier eigenvectors; Based on the first objective function and the kernel function, obtaining a second objective function using an average Fourier eigenvector of the neutron flux; The average Fourier eigenvector of the neutron flux is calculated using a sampling method; calculating a third objective function based on the second objective function and an average Fourier eigenvector of the neutron flux; calculating an average Fourier eigenvector of the neutron flux in a spatial subset based on the average Fourier eigenvector of the neutron flux; A fourth objective function is calculated based on the average Fourier eigenvector of the neutron flux calculated in the spatial subset and the third objective function; wherein, The first objective function, the second objective function, the third objective function and the fourth objective function are all functional expressions for calculating the neutron flux of a device where a nuclear reaction occurs.

2. The method according to claim 1, It is characterized in that The method of calculating the first objective function using a kernel density estimation method and a sampling method includes: When the sampling unit of the sampling method is a low-dimensional geometric body, according to formula (1), the first objective function is obtained by using the average value of the integral of the product of the kernel function and the first weight function on the sampled low-dimensional geometric body: Among them, in the d-dimensional complex space In the sampling process, N low-dimensional geometric bodies U are sampled in space. n , n=1…N, n is the sampling index, and its value is a positive integer; is the first weight function, and its domain is The range is real numbers, and The corresponding sample with index n; is the kernel function, and its domain is and The Cartesian product of Its value range is non-negative real numbers; the low-dimensional geometric body is mathematically a manifold, which is a low-dimensional complex space arrive The mapping of U n For space A subset of Existence from Subset of To U n Mapping Moreover, the low-dimensional complex space The dimension of is d′, and 0≤d′≤d; When the sampling unit of the sampling method is a point, according to formula (2), the first objective function is obtained by using the average value of the product of the kernel function at the sampled point and the second weight function: Among them, in the d-dimensional complex space In the sampling process, N points are sampled in space. n=1…N, n is the sampling index, and its value is a positive integer; is the second weight function, whose domain is The range is real numbers; is the kernel function, and its domain is and The Cartesian product of Its value range is non-negative real numbers.

3. The method according to claim 1, It is characterized in that The method of obtaining a kernel function by using the inner product of a random Fourier eigenvector comprises: According to formula (3), determine the random Fourier eigenvector that satisfies formula (3) and in, and The domain of The range is D-dimensional complex space for The conjugate transpose of for and The inner product of .

4. The method according to claim 2, It is characterized in that The method of obtaining a second objective function using the average Fourier eigenvector of the neutron flux comprises: When the sampling unit of the sampling method is a low-dimensional geometric body, substitute equation (3) into equation (1) to obtain equation (4): In formula (4), Moving outside the summation, we obtain equation (5): When the sampling unit of the sampling method is point, substitute formula (3) into formula (2) to obtain formula (6): In formula (6), Moving outside the summation, we obtain equation (7): in, for The random Fourier eigenvector at , for The random Fourier eigenvector at , for Random Fourier eigenvectors at .

5. The method according to claim 4, It is characterized in that The method of calculating the average Fourier eigenvector of the neutron flux using the sampling method includes: According to formula (8), the sampled low-dimensional geometric body U is calculated n Random Fourier eigenvectors on The average value of the integral of the product with the first weighting function yields the average Fourier eigenvector of the neutron flux Substituting equation (8) into equation (5) yields equation (9), that is, calculating the third objective function based on the second objective function and the average Fourier eigenvector of the neutron flux: in, for The random Fourier eigenvector at , for The random Fourier eigenvector at , is the first weight function.

6. The method according to claim 4, It is characterized in that The method of calculating the average Fourier eigenvector of the neutron flux using a sampling method further comprises: According to formula (10), the sampling point is calculated The average of the products of the random Fourier eigenvectors at and the second weight function is used to obtain the average Fourier eigenvector of the neutron flux. Substituting formula (10) into formula (7) yields formula (9): in For sampling point Random Fourier eigenvectors at .

7. The method according to claim 5 or 6, It is characterized in that The calculating the average Fourier eigenvector of the neutron flux in the spatial subset based on the average Fourier eigenvector of the neutron flux comprises: Use formula (11) to calculate the space The subset T of the sampled low-dimensional geometry U n The average of the integrals of the random Fourier eigenvectors multiplied by the first weight function over the intersecting parts yields the average Fourier eigenvector of the neutron flux calculated in the spatial subset T: in, is the average Fourier eigenvector of the neutron flux calculated in the spatial subset T. The fourth objective function is calculated based on the average Fourier eigenvector of the neutron flux calculated in the spatial subset and the third objective function: Among them, T m For space A subset of , m = 1…M, m is the index of the subset, and its value is a positive integer.

8. The method according to claim 5 or 6, It is characterized in that The step of calculating the average Fourier eigenvector of the neutron flux in the spatial subset based on the average Fourier eigenvector of the neutron flux further comprises: Use formula (13) to calculate in space The sampling points in the subset T of The average of the products of the random Fourier eigenvectors in and the second weight function obtains the average Fourier eigenvector of the neutron flux calculated in the spatial subset T: in, is the identity function of T, if In T, The value of is 1, otherwise The value of is 0; is the average Fourier eigenvector of the neutron flux calculated in the spatial subset T. The fourth objective function is calculated based on the average Fourier eigenvector of the neutron flux calculated in the spatial subset and the third objective function: Among them, T m For space A subset of , m = 1…M, m is the index of the subset, and its value is a positive integer.

9. A method for solving physical field equations, It is characterized in that The method for solving physical field equations comprises using the method described in any one of claims 1 to 8 to perform at least one of the following: solving neutron transport equations, fluid mechanics equations, heat conduction equations, and engineering integral and differential physical equations.

10. A device for calculating neutron flux, It is characterized in that include: A first calculation module calculates a first objective function using a kernel density estimation method and a sampling method; The second computing module obtains the kernel function using the inner product of the random Fourier eigenvector; A third calculation module, based on the first objective function and the kernel function, uses an average Fourier eigenvector of the neutron flux to obtain a second objective function; A fourth calculation module calculates the average Fourier eigenvector of the neutron flux using a sampling method; a fifth calculation module, calculating a third objective function based on the second objective function and an average Fourier eigenvector of the neutron flux; a sixth calculation module, calculating the average Fourier eigenvector of the neutron flux in the spatial subset based on the average Fourier eigenvector of the neutron flux; A seventh calculation module calculates a fourth objective function based on the average Fourier eigenvector of the neutron flux calculated in the spatial subset and the third objective function; wherein, The first objective function, the second objective function, the third objective function and the fourth objective function are functional expressions for calculating the neutron flux of the device where the nuclear reaction occurs.

11. An electronic device, It is characterized in that The electronic device comprises: a processor and a memory storing computer program instructions; When the electronic device executes the computer program instructions, the method according to any one of claims 1 to 8 is implemented.

12. A computer-readable storage medium, It is characterized in that The computer storage medium stores computer program instructions, which, when executed by a processor, implement the method according to any one of claims 1 to 8.

Citation Information

Patent Citations

  • Method suitable for transportation burnup coupling calculation of nuclear reactor

    CN107092784A

  • Multi-physical coupling method in transient calculation of pressurized water reactor

    CN107122331A

  • Pressurized water reactor multi-fuel circulation dynamic rod carving space correction factor calculation method

    CN114783637A

  • Fast neutron flux high signal-to-noise ratio monitoring method and system

    CN115390127A

  • Detectors, systems, and methods for continuously monitoring neutrons with enhanced sensitivity

    US20220285040A1