Introduction
The Monte Carlo (MC) algorithm is commonly used in high-resolution modeling and high-fidelity analysis of reactor core models and other nuclear facilities. The Power Iteration (PI) process was adopted to solve the k-eigenvalue equations [1] and transient fixed-source equations [2]. Physical quantities such as k-eigenvalue and power densities are tallied cycle by cycle after source convergence. Commonly, these tally results are processed by assuming that they are independent and uncorrelated between cycles. However, in the PI process, the Fission Source Bank is transmitted between cycles, resulting in an inter-cycle correlation of the fission source distributions (FSDs). This inter-cycle correlation of the FSDs further led to the inter-cycle correlation of the tally results [3]. Thus, the calculated variance of the tally results is lower than the real variance owing to this inter-cycle correlation. This phenomenon is also called the MC variance underestimation phenomenon. In the PWR full-core power distribution calculations, the inter-cycle correlations can result in a variance underestimation ratio of 90%. Local tallies with relatively large sizes suffer the most from this problem [4]. The variance underestimation phenomenon belongs to the MC source convergence problem. Researchers have attempted to solve these problems [5-9].
To solve the variance underestimation problem, there are various proposed methods in literature, which can be divided into three categories. The first category involves modifying the PI process to reduce the inter-cycle correlations of the tally results. Brissenden and Garrick (1986) proposed the super history method [10]. This method simulates neutrons for i generations per cycle, and the physical quantities are tallied at the cycle end. This method is intuitively effective, but the number of neutron generations per cycle is set based on experience. Herman et al. (2014) proposed using CMFD feedback to adjust the neutron weight in the PI process to reduce FSD inter-cycle correlations [11-12]. However, it changes the fundamental mode of the FSD in the MC simulations. Gelbard and Prael (1990) proposed a batch method to de-correlate tally results by combining a certain number of active cycles into batches [13-14]. The physical quantities were tallied at the end of each batch. As observed with the super history method, setting an appropriate batch length is difficult. The second category quantifies the underestimation ratio by post-processing the auto-correlated tally results. Several mathematical models are used to analyze the auto-correlated tally results, such as the ARMA(2,1) model, orthonormal weighted standardized time series model (OWSTS), and fractional Brownian motion process [15-17]. These mathematical models are efficient in variance underestimation correction but lack a theoretical basis in the MC PI theory. The third category theoretically predicts the inter-cycle correlation. The prediction methods approximate MC simulations by using a surrogate model, calculating the correlation coefficients, and correcting the calculated variances. These methods are typically based on specific mesh grids or homogenized models [18-19].
Thus, the approaches to solving the variance underestimation problem are always demanding for users by setting appropriate mesh grids or tricky coefficients. This study proposes a mesh-free Semi-quantitative Variance Underestimation Elimination (SeVUE) method to obtain a credible confidence interval for the tallied results. This method comprised two procedures: Estimation and Elimination. The FSD inter-cycle correlation length was estimated in the Estimation procedure using the Sliced Wasserstein (SW) distance algorithm, the batch method was used in the Elimination procedure, and the FSD inter-cycle correlation length was set as the batch length. Local tallies with relatively large sizes were of interest in this study. The research was conducted on the RMC platform [20].
The paper proceeds as follows: Sect. 2 briefly introduces the batch method and SW-based FSD inter-cycle correlation observation method; Sect. 3 illustrates the SeVUE algorithm; Sect. 4 presents the validation calculations for the OECD sphere array model and the 3D PWR BEAVRS model; and Sect. 5 presents the conclusions.
Theory
The batch method is summarized in Sect. 2.1, and the SW distance algorithm and mesh-free FSD inter-cycle correlation observation method are introduced in Sects. 2.2 and 2.3. The optimum batch length is related to the FSD inter-cycle correlation length, discussed in Sect. 2.4.
The batch method
The batch method de-correlates the tally results by combining a certain number of active cycles into batches. In the MC simulation,
The apparent variance of
If we define
The true variance
The difference between
Thus, the correlation between the tally results of every cycle is the direct cause of the variance underestimation problem.
Furthermore, we used the batch method by combining a certain number of active cycles into batches and tallying the physical quantities at the end of each batch. Suppose that the batch length is
We defined
The apparent variance of
Then, the difference between
The correlation among batch tally results is generally less significant than that among cycle tally results in the PI process, owing to the weaker FSD inter-batch correlation. Thus, the difference between
A small batch length is appropriate for practical use, but the magnitude of variance underestimation elimination is unknown. Determining the optimum batch length was of interest in this study.
Sliced Wasserstein distance algorithm
The Sliced Wasserstein (SW) distance was developed from Optimum Transport theory [21]. Its initial definition is the minimum "cost" to transform the 1D distribution
-202301/1001-8042-34-01-013/alternativeImage/1001-8042-34-01-013-F001.jpg)
In this paper, the 1-norm distance is used to calculate
The SW distance algorithm is a commonly used mesh-free algorithm for measuring the difference between discrete vectors. Guo et al. (2021) introduced this algorithm into the scope of MC source convergence diagnosis [22]. Shen et al. (2022) adopted this algorithm to measure fission source error in the MC PI process [23]. In the calculation, the sorting procedure uses the fast sorting algorithm costs
SW-based FSD inter-cycle correlation observation method
The PI method in the MC algorithm is expressed by Eq. (14) in the discretization.
The number of particles per cycle is defined as m, the fundamental mode eigenvalue, and the normalized eigenvector of fission matrix
The fission source error in cycle i is introduced as
By substituting and considering the magnitude of the error terms [10], we disregarded some terms and obtained
We iterated Eq. (17) i times and obtained Eq. (19).
The fission source error consists of three components: the initial error, bias error, and random error terms. The FSD random error term is the dominant component after the source convergence, as expressed in Eq. (20) [24].
The FSD random error term is inter-cycle correlated because it is composed of stochastic error components induced in adjacent cycles. This is the theoretical basis of the FSD inter-cycle correlation.
The fission error difference between adjacent cycles can be written as
In fission systems, noise propagation matrix
Furthermore, the fission error difference between cycles can be written as
Similarly, the scalar error differences are expected to be
The scalar error differences increase with the interval j. When
The SW-based FSD inter-cycle correlation observation method uses the combined Sliced Wasserstein distance in three directions to measure the scalar fission source error
The combined SW distance is calculated in Eq. (26).
We combined Eqs. 24 and 25, and the average SW distance between the FSD of adjacent cycles increased along with the adjacent cycle number, as expressed in Eq. (27).
The FSD inter-cycle correlation can be ignored when the average FSD SW distance fluctuates.
Inter-cycle correlation length and Optimum batch length
We defined the interval cycle length
According to Eq. (25), the FSD SW distance was used to measure the scalar fission source error. Thus, Eq. (29) can be expressed as
If the interval cycle length j is greater than
According to the Law of Large Numbers, we can obtain
We assumed the cumulated scalar fission error of l cycles to be uncorrelated after
The cumulative scalar fission error of
In conclusion, the FSD inter-cycle correlation length is the optimum batch length.
Semi-quantitative Variance Underestimation Elimination (SeVUE) method
We used the SeVUE method to observe the FSD inter-cycle correlation length and eliminate the variance underestimation problem. Sections 3.1 and 3.2 describe the workflow of the SeVUE method and the implementation scheme, respectively (Fig. 2).
-202301/1001-8042-34-01-013/alternativeImage/1001-8042-34-01-013-F002.jpg)
Workflow
The SeVUE method comprises two procedures: the Estimation procedure and the Elimination procedure.
In the Estimation procedure, the SeVUE method requires an MC calculation to estimate the FSD inter-cycle correlation length of each model. This calculation should be in the criticality mode with no tallies. The number of particles per cycle can be set to a relatively small value because the FSD inter-cycle correlation is almost independent of it. For example, setting 10,000 neutrons per cycle is sufficient for a full-core model. By contrast, the number of active cycles should be relatively large. Thousands of active cycles are recommended for models with a high dominance ratio. The SW distances between FSDs can be calculated using external scripts (Fig. 4) or embedded codes. At the end of this procedure, the relationship between the average FSD SW distances and the interval cycle length can be plotted (Fig. 3). The FSD inter-cycle correlation length is the point at which the average FSD SW distance starts to fluctuate.
-202301/1001-8042-34-01-013/alternativeImage/1001-8042-34-01-013-F004.jpg)
-202301/1001-8042-34-01-013/alternativeImage/1001-8042-34-01-013-F003.jpg)
In the Elimination procedure, the batch method was used to eliminate variance underestimation. According to Eq. (19-22), the FSD inter-cycle correlation length was set as the batch length. The number of active cycles should be at least 10 times the FSD inter-cycle correlation length. The calculated variances of the tally results were close to the actual variances.
Implementation
The SeVUE method was implemented using the MC code RMC [20]. RMC is a neutron photon-electron transport code developed by the Reactor Engineering Analysis Lab (REAL) of Tsinghua University. RMC has been applied for nuclear reactor criticality, burnup, shielding, and neutronics-thermal coupling calculations [25-28].
In the Estimation procedure, an external script was used to calculate the SW distances between FSDs of different cycles. In the RMC code, the fission source distribution is the output for each cycle. The external script can run independently and be easily coupled with other MC codes. The coupled workflow is illustrated in Fig. 3.
In the Elimination procedure, the batch method is implemented in the RMC code. Tally results were processed at the end of each batch.
Validation and discussion
To validate the SeVUE method and study its characteristics, we calculated the flux distribution of the sphere array model from the OECD/NEA source convergence benchmark and the power distribution of the BEAVRS full-core model from the BEAVRS benchmark [29-30]. The platform used was an AMD Ryzen 9 3990X. The base RMC version was V3.5.0.
Flux distribution of sphere array model
The sphere array model was obtained from the OECD/NEA source convergence benchmark, with a dominance ratio of approximately 0.886. It comprised of 25 fissile metal spheres in a
-202301/1001-8042-34-01-013/alternativeImage/1001-8042-34-01-013-F005.jpg)
Reference flux distribution and variance underestimation phenomenon
The reference flux distribution and relative standard deviation (RSD) distributions were obtained using 100 independent calculations. The fluxes in each sphere were tallied. The reference flux results and RSDs are shown in Fig. 6. According to the Law of large numbers, the RSD of the sample variance was approximately
-202301/1001-8042-34-01-013/alternativeImage/1001-8042-34-01-013-F006.jpg)
The variance underestimation ratio distribution in Fig. 7 was obtained by comparing the relative standard deviations in a single simulation with the reference results. The Variance Underestimation Ratio (VUR) is defined in Eq. (33).
-202301/1001-8042-34-01-013/alternativeImage/1001-8042-34-01-013-F007.jpg)
As shown in Fig. 7, the VURs in each sphere varied from 24% to 47%. The average VUR was 37.3%.
Estimation procedure
The number of particles per cycle of 5,000, 50,000, and 5,000,000 was analyzed to observe the FSD inter-cycle correlation lengths in this procedure. Fig. 8 shows that the FSD average SW distance evolves with the interval cycle length. A visual check of the curves showed that the FSD inter-cycle correlation lengths were approximately 50 for all three batch sizes. Thus, the FSD inter-cycle correlation was almost independent of batch size.
-202301/1001-8042-34-01-013/alternativeImage/1001-8042-34-01-013-F008.jpg)
Semi-quantitative information can be obtained from Fig. 8. The initial FSD average SW distance was approximately 40% of the stationary SW distance. This "similarity coefficient" can be further used to measure the variance underestimation ratio of the total flux in this model.
Elimination procedure
We verified Eqs. (28-32) by setting different batch lengths. The batch lengths are listed in Table. 1. Notably, in the SeVUE method, only the case with
Serial number | Batch length/cycle | Number of batches | Number of active cycles |
---|---|---|---|
1 | 1 | 20,000 | 20,000 |
2 | 2 | 10,000 | 20,000 |
3 | 4 | 5000 | 20,000 |
4 | 5 | 4000 | 20,000 |
5 | 8 | 2500 | 20,000 |
6 | 10 | 2000 | 20,000 |
7 | 16 | 1250 | 20,000 |
8 | 20 | 1000 | 20,000 |
9 | 25 | 800 | 20,000 |
10 | 32 | 625 | 20,000 |
11 | 40 | 500 | 20,000 |
12 | 50 | 400 | 20,000 |
Figure 9 shows that the average VURs evolve with the batch length. The average VURs of different batch sizes are approximately 37% when the batch length is one cycle. With the batch length increases, the average VURs gradually declines. When batch length is 50, the average VURs are approximately
-202301/1001-8042-34-01-013/alternativeImage/1001-8042-34-01-013-F009.jpg)
The results of a single calculation for
-202301/1001-8042-34-01-013/alternativeImage/1001-8042-34-01-013-F010.jpg)
Power distribution of BEAVRS 3D full-core model
The BEAVRS full-core model is a detailed reactor core model used to test indicators in real-world PWRs. The geometric configuration is illustrated in Fig. 11. It consists of 193 fuel assemblies in a 15
-202301/1001-8042-34-01-013/alternativeImage/1001-8042-34-01-013-F011.jpg)
Reference power distribution and variance underestimation phenomenon
The reference power distribution and standard deviation distribution were obtained using 30 independent calculations, similar to the sphere array model. The power of each assembly was tallied. The reference results and RSDs are shown in Fig. 12.
-202301/1001-8042-34-01-013/alternativeImage/1001-8042-34-01-013-F012.jpg)
The variance underestimation ratio distribution in Fig. 13 was obtained by comparing the RSDs in a single MC simulation with the reference results. The VURs in each assembly varied from 72% to 91%. The VURs of the assemblies close to the center were lower than the average. By contrast, the outer assemblies had a VUR above 90%. The average VUR was 87.5%.
-202301/1001-8042-34-01-013/alternativeImage/1001-8042-34-01-013-F013.jpg)
Estimation procedure
A batch size of 50,000 was analyzed to observe the FSD inter-cycle correlation length. Fig. 14 shows that the FSD average SW distance evolves with the interval cycle length. A visual check of the curves showed that the FSD inter-cycle correlation length of this model was approximately 500.
-202301/1001-8042-34-01-013/alternativeImage/1001-8042-34-01-013-F014.jpg)
The initial FSD average SW distance was approximately 1/10 of the stationary SW distance. Thus, the variance underestimation problem is more severe in this model than in the sphere array model. This conclusion is consistent with the results presented in Figs. 7 and 13.
Elimination procedure
We set different batch lengths to verify that the FSD inter-cycle correlation length was the optimum batch length. The batch lengths are listed in Table 2. In the SeVUE method, only the case where
Serial number | Batch length/cycle | Number of batches | Number of active cycles |
---|---|---|---|
1 | 1 | 20,000 | 20,000 |
2 | 2 | 10,000 | 20,000 |
3 | 10 | 2000 | 20,000 |
4 | 20 | 1000 | 20,000 |
5 | 40 | 500 | 20,000 |
6 | 80 | 250 | 20,000 |
7 | 100 | 200 | 20,000 |
8 | 125 | 160 | 20,000 |
9 | 200 | 100 | 20,000 |
10 | 250 | 80 | 20,000 |
11 | 400 | 50 | 20,000 |
12 | 500 | 40 | 20,000 |
13 | 625 | 32 | 20,000 |
14 | 800 | 25 | 20,000 |
15 | 1000 | 20 | 20,000 |
Figure 15 shows that the average VURs evolve with the batch length. The average VUR was approximately 87% when the batch length was one cycle. It gradually declined with the batch length increases. When the batch length exceeded 500, the average VURs were within
-202301/1001-8042-34-01-013/alternativeImage/1001-8042-34-01-013-F015.jpg)
The results of the single MC simulation with
-202301/1001-8042-34-01-013/alternativeImage/1001-8042-34-01-013-F016.jpg)
Discussion
Relatively large tallies were used to exemplify the efficiency of the SeVUE method, and this method effectively eliminated the variance underestimation problem in MC criticality simulations. The FSD inter-cycle correlation length was validated to be independent of the batch size. The ratio between the initial FSD average SW distance and stationary SW distance in the Estimation procedure can be a potential reference for the variance underestimation of large local tallies.
The penalty is that an additional Estimation calculation must be conducted to estimate the FSD inter-cycle correlation length of every model. In addition, the FSD inter-cycle correlation length may be hundreds of cycles in the reactor full-core model. Thousands of active cycles and billions of neutron histories are required to eliminate the variance underestimation problem. Moreover, the standard deviation of the tally results may have
Conclusion
This study provides a mesh-free SeVUE method to obtain a credible confidence interval for the tallied results. This method comprises two procedures: Estimation and Elimination. The SW-based variance underestimation estimation method was used to estimate the FSD inter-cycle correlation length. The batch method was used in the Elimination procedure. The FSD inter-cycle correlation length is the interval cycle length
We exemplified this method by using the OECD sphere array model and 3D PWR BEAVRS model. The sphere flux and assembly power were analyzed. The average VURs of the sphere flux and assembly power decreased from 37% and 87% to within
One-step variance underestimation elimination methods are under development.
Monte Carlo confidence limits for iterated-source calculations. Nucl
. Sci. Eng. 50, 73-75 (1973). doi: 10.13182/NSE73-A22590Few-group neutron diffusion equation solver utilizing the nodal expansion method for eigenvalue, adjoint, fixed-source steadystate and transient problems. North Carolina State Univ. Report
. (1994).Real variance estimation using an intercycle fission source correlation for Monte Carlo eigenvalue calculations
. Nuclear science and engineering, 162(1), 98-108 (2009). doi: 10.13182/NSE09-2Real variance analysis of Monte Carlo eigenvalue calculation by McCARD for BEAVRS benchmark
. Annals of Nuclear Energy 90, 205-211 (2016). doi: 10.1016/j.anucene.2015.12.009Monte Carlo fission matrix acceleration method with adaptive mesh
. Nucl. Sci. Tech. 26, 050603 (2015). doi: 10.13538/j.1001-8042/nst.26.050603SP3-coupled global variance reduction method based on RMC code
. Nucl. Sci. Tech. 32, 122 (2021). doi: 10.1007/s41365-021-00973-0Biasing transition rate method based on direct MC simulation for probabilistic safety assessment
. Nucl. Sci. Tech. 28, 91 (2017). doi: 10.1007/s41365-017-0255-2Global variance reduction method for global Monte Carlo particle transport simulations of CFETR
. Nucl. Sci. Tech. 28, 115 (2017). doi: 10.1007/s41365-017-0270-3Forced propagation method for Monte Carlo fission source convergence acceleration in the RMC
. Nucl. Sci. Tech. 32, 27 (2021). doi: 10.1007/s41365-021-00868-0Biases in the estimation of Keff and its error by Monte Carlo methods
. Ann. Nucl. Energy 13, 63-83 (1986). doi: 10.1016/0306-4549(86)90095-2Performance evaluation of CMFD on inter-cycle correlation reduction of Monte Carlo simulation
. Computer Phys. Communications 235, 111-119 (2019). doi: 10.1016/j.cpc.2018.09.014Computation of standard deviations in Eigenvalue calculations
. Prog. Nucl. Energy 24(1), 237-241 (1990). doi: 10.1016/0149-1970(90)90041-3A high fidelity general purpose 3-D Monte Carlo particle transport program JMCT3.0
. Nucl. Sci. Tech. 33, 108 (2022). doi: 10.1007/s41365-022-01092-0Standard deviation of local tallies in global monte carlo calculation of nuclear reactor core
. Journal of nuclear science and technology 47 (8), 739-753 (2010). doi: 10.3327/jnst.47.739Application of a discretized phase space approach to the analysis of Monte Carlo uncertainties
. In:Fractal dimension analysis for run length diagnosis of Monte Carlo criticality calculation
. Journal of Nuclear Science and Technology 53 (3), 312-322 (2016). doi: 10.1080/00223131.2015.1039620Predicting correlation coefficients for Monte Carlo eigenvalue simulations with multitype branching process
. Annals of Nuclear Energy 112, 307-321 (2018). doi: 10.1016/j.anucene.2017.10.014Correlation diagnosis method for heterogeneous Monte Carlo eigenvalue simulations based on a diffusion approximation
. Annals of Nuclear Energy 130, 301-318 (2019). doi: 10.1016/j.anucene.2019.02.048RMC–a monte carlo code for reactor core analysis
. Ann. Nucl. Energy 82, 121-129 (2015). doi: 10.1016/j.anucene.2014.08.048Convergence diagnostics for Monte Carlo fission source distributions using the Wasserstein distance measure
. Nuclear Engineering and Design 389, 111675 (2022)Research on the correlations of fission source distribution in the Monte Carlo algorithm using mathematical tools
.Capturing and utilizing the random feature in Monte Carlo fission source distributions
. Ann. Nucl. Energy 180, 109468 (2022).Improved adaptive variance reduction algorithm based on RMC code for deep penetration problems
. Ann. Nucl. Energy 137, 107113 (2020). doi: 10.1016/j.anucene.2019.107113Research on global neighbor list method in Monte Carlo code RMC
. Ann. Nucl. Energy 167, 108861 (2022). doi: 10.1016/j.anucene.2021.108861Analysis of beavrs two-cycle benchmark using rmc based on full core detailed model
. Prog. Nucl. Energy 98, 301-312 (2017). doi: 10.1016/j.pnucene.2017.04.009A new neutronics-thermal-mechanics multi-physics coupling method for heat pipe cooled reactor based on RMC and OpenFOAM
. Prog. Nucl. Energy 139, 103842 (2021). doi: 10.1016/j.pnucene.2021.103842The OECD/NEA source convergence benchmark program
. Transactions of the American Nuclear Society 87, 143-145 (2002).Benchmark for evaluation and validation of reactor simulations (beavrs)
, v