Energy group structure has a significant effect on the results of multigroup transport calculations. It is known that UO
_{2}
–PuO
_{2}
(MOX) is a recently developed fuel which consumes recycled plutonium. For such fuel which contains various resonant nuclides, the selection of energy group structure is more crucial comparing to the UO
_{2}
fuels. In this paper, in order to improve the accuracy of the integral results in MOX thermal lattices calculated by WIMSD5B code, a swarm intelligence method is employed to optimize the energy group structure of WIMS library. In this process, the NJOY code system is used to generate the 69 group cross sections of WIMS code for the specified energy structure. In addition, the multiplication factor and spectral indices are compared against the results of continuous energy MCNP4C code for evaluating the energy group structure. Calculations performed in four different types of H
_{2}
O moderated UO
_{2}
–PuO
_{2}
(MOX) lattices show that the optimized energy structure obtains more accurate results in comparison with the WIMS original structure.
1. INTRODUCTION
The energy dependence of cross sections is rather complex. To represent some reactions of resonant nuclides accurately, more than 100,000 energy points are required. Most nuclear codes cannot handle this vast amount of data. So, the pointwise cross sections are averaged over energy groups to form multigroup cross sections. These group constants depending on the energy group structure and weight function can be used for specific types of problems, such as thermal reactors, fast reactors, fusion problems or shielding calculations.
The number of energy groups also has a significant impact on the computations from two important aspects: accuracy and computation time. A tradeoff exists between these two parameters. To mitigate these contradictions the selection of energy group structure becomes crucial. The choice of such structure is quite difficult due to four important physical phenomena in the reactor which shall be taken into account. These phenomena include: fission, slowing down and diffusion, resonance absorption and finally thermalization of neutrons. The conventional procedure to select energy structure is dividing energy into equal lethargy width groups in fast and thermal energy regions. In resonance energy region, groups are taken according to the main resonances of materials
[1]
.
Several studies have been performed toward the selection of energy structure. Pazirandeh and Tabesh
[2]
studied the impact of increasing the number of energy groups in the resonance region. A sensitivity study on the group structure was carried out by Sanggene Han
[3]
for high temperature reactor analysis. Eventually Mosca et al.
[4]
used an adaptive approach to select energy meshes based on desired precision and calculation time.
In current research, the WIMSD5B code is used to study the effect of energy group structure on the integral results of MOX thermal lattices. A brief description of this code and its original library has been given in section 2.1. The original WIMS library
[5]
is a 69 group set which can be used in a wide range of reactor types
[6]
. The WIMS energy group structure and those derived from it (e.g., 70 energy groups used in CASMO) have been widely used not only in academic investigations, but also for production calculations for light water reactors.
In this paper, we have used a heuristic optimization method for selection of group energy boundaries to obtain an optimized structure suitable for MOX thermal lattices. Particle swarm optimization (PSO)
[7]
which is a population based stochastic optimization technique (refer to section 3.3) is used for this purpose.
The contents of the paper are organized as follows. In the first part, WIMS and NJOY codes are described briefly. The specifications of benchmark problems and also the procedure of the work are described in section 3, and finally the results generated by the PSO method are presented in section 4. We summarize this work with a discussion in section 5.
2. CALCULATION SYSTEM
 2.1 WIMSD5B Code
The Winfrith Improved Multigroup Scheme (WIMS) code
[8]
was widely used for reactor calculations of a wide variety of thermal reactors. It consisted of a lattice transport code and the associated library. Temperature dependent thermal scattering matrices for a variety of scattering laws are included in the library for the principal moderators which include hydrogen, deuterium, graphite, beryllium and oxygen. The resonance treatment is based on the intermediate resonance (IR) approximation and the equivalence theorems.
The collision theory procedure gives accurate spectrum computations in the 69 groups of the library for the principal regions of the lattice using a simplified geometric representation of lattice cells. The computed spectra are then used for the condensation of cross sections to the number of groups selected for the solution of transport equation in detailed geometry.
The solution of the transport equation is provided either by use of the Carlson DSN method or by collision probability methods. Leakage calculations including an allowance for streaming asymmetries may be made using either the diffusion theory model or the more elaborate B1method. The output of the code provides eigenvalues for the cases where a simple buckling mode is applicable or cellaveraged parameters for use in overall reactor calculations. Various reaction rate edits are provided for direct comparison with experimental measurements. It is worth noting that the WIMSD5B code has more capability to use flexible energy group structure compared with its predecessor WIMSD/4.
The WIMS library was first proposed in 1966. It uses a 69 group structure comprising:

14 groups in fast energy range (10 MeV to 9.118 KeV) with equal lethargy width of 0.5 to represent the Fermi age in light water and to cover fast fission of U238[6]

13 groups in resonance energy range (9.118 KeV to 4 eV), group boundaries are selected to locate important resonances of U238 (6.7, 20 and 33 eV) at their lethargy midpoint

42 energy groups in thermal energy range (below 4 eV) including 12 groups clustered around the 1.05 resonance of PU240 and 5 groups around the 0.3 eV resonance of PU239 for treating the resonances located in this range.
 2.2 NJOY Data Processing System
The NJOY System
[9]
is a modular computer code designed to read evaluated nuclear data files in ENDF format, process the data, and output the results as libraries to be used in various applications. This code uses sophisticated methods for resonance reconstruction using multilevel BreitWigner resonance parameters, Doppler broadening by accurate point kernel method, group to group thermal scattering matrices and special thermal law treatment, flux weighted fission fraction vectors, and a weighting flux produced by a point solution of the slowing down problem that accurately accounts for broad and intermediate resonance effects.
3. METHODOLOGY
The methodology implemented in this paper for coupling the multigroup neutron cross section generation and transport calculation to investigate the optimized energy group structure is shown in
Fig. 1
. As seen in this figure, at first, the energy boundaries are selected by the optimization algorithm. In the next stage, the 69 group cross section library based on the specified energy structure is generated using the NJOY code system. Afterwards, multiplication factor and reactions of U235 and U238 are calculated using the WIMSD5B code. An interface program was
Flow Chart of Calculations to Find Optimized Energy Structure
written using Fortran 90 language to read the output of WIMS and calculate the spectral indices. The multiplication factor and the calculated spectral indices are compared against the MCNP code
[14]
results. To minimize the discrepancy of the results due to input data, the processed
General Specifications of Benchmark Lattices
General Specifications of Benchmark Lattices
pointwise cross sections are converted to MCNP format, therefore similar pointwise data are used for MCNP and WIMS calculations. The optimization algorithm evaluates the errors and generates the new energy structure.
 3.1 Benchmarks and Evaluated Parameters
In the current study, four different H2O moderated UO
_{2}
–PuO
_{2}
lattice problems which are proposed by WIMS Library Update Project (WLUP) for benchmarking purposes are selected. These include:

i) CRX facility: WCRXPU1[10]

ii) TCA facility: JTCAPU1[11]

iii) GE Experiment: GE_PU1[12]

iv) BNW Experiment: BNWPUa1 to BNWPUd1[13]
Each case is selected to be representative of the individual set. The general specifications of these benchmarks are summarized in
Table 1
. Also their PU isotopic composition is shown in
Table 2
. The geometrical representations of benchmark lattices are also depicted in
Fig. 2
.
The reactions of isotopes U235 and U238 at 293° K are calculated in benchmark lattices using WIMSD5B code. To evaluate the accuracy of energy group structure the integral parameters are calculated and compared with the MCNP code results. These integral parameters include
Pu isotopic Composition (wt%)
Pu isotopic Composition (wt%)
Geometrical Representation of Benchmark Problems
the infinite multiplication factor (K
_{∞}
) and the following spectral indices
[15]
which are calculated with the thermal cutoff energy of 0.625 eV:
Due to the paucity of experimental data for spectral indices as well as the uncertainty in the measured multiplication factor, the MCNP code was used to evaluate the accuracy of the results. Using this approach, the error would just be originated from the selection of energy group structure. To model the benchmark lattices in the MCNP code, detailed geometrical specifications are required. Previous attempts
[16
,
17]
to model the similar lattices in MCNP have led to large discrepancies when compared to actual experiment results. These discrepancies have been attributed to the imprecise description of the whole core configuration. Due to these discrepancies, in this study the benchmark problems are modeled as 2D pin cell with a periodic boundary condition to define an infinite system without leakage through the use of MCNP and WIMS codes. The results of continuous energy MCNP code are used for evaluation of the error of integral parameters caused by the selected energy group structure.
 3.2 Data Processing Procedure
The NJOY code system is used for the generation of WIMS cross section library. Fifteen isotopes including fuel, clad, and moderator materials are processed using evaluated nuclear data files selected by WLUP. These data files are selected from different sources such as: JENDL3.2, FOND2.2, CENDL3, JEF2.2 and ENDF/ BVI.8 based on the results of analyses of more than 200 benchmark cases for different libraries
[18]
.
The following modules of NJOY are used respectively for data processing.

Moder: used for format conversion.

Reconr: to reconstruct the resonances and prepare linearized pointwise cross sections

Broadr: to add the temperature dependence to the pointwise cross sections. The cross sections were processed for 293°K according to the benchmark problems.

Unresr: Unresolved resonance data processing to self shield the cross sections in the unresolved resonance energy range. This module is used for moderator and clad materials.

Purr: Unresolved resonance data processing for the resonant isotopes. Since Unresr module produces nonmonotonic selfshielding factors at moderately high dilutions[18], it is used only for moderator and clad materials. The Bondarenko background cross sections are chosen according to the dimensions and compositions at which the materials are likely to be used[18].

Thermr: Adds thermal scattering law to the processed tape. A free gas model is used for all materials except hydrogen. The data of H when bounded in H2O is used for processing the thermal scattering of hydrogen. Up to this point all the processes were on a unionized energy grid.

Groupr: This module averages the pointwise cross sections over the energy groups. It produces multigroup cross sections and group to group scattering matrix. Groupr uses a feed function C(E) to generate the weighting spectrum based on the Bondarenko or flux calculator model. C(E) is chosen as the typical LWR neutron spectrum as in WLUP files. For resonant isotopes, the flux calculator model is used to obtain the flux in homogenous mixture of resonant isotope with hydrogen from 0.1 eV up to the upper limit of the resolved resonance range. The Narrow Resonance approximation is used above this energy. For other materials the Bondarenko flux model is used.

Wimsr: Used to prepare the WIMS library format cross sections from the processed Groupwise Evaluated Nuclear Data File (GENDF) tape. The P1 scattering matrix is included in the output library for H and O materials. For other materials transport correction is applied on P0cross sections (Total and Ingroup scattering) using the current spectrum generated by Groupr.

Acer: To convert the processed pointwise cross sections to MCNP library format
In addition, the WILLIE program
[18]
was used to make the library starter file and integrate the processed data in the new library. The accuracy of the processing procedure is verified against the WLUP results for different benchmarks.
 3.3. Particle Swarm Optimization
Eberhart and Kennedy (1995) proposed the Particle Swarm Optimizer (PSO) algorithm
[7]
, a simple but effective evolutionary algorithm, motivated from the simulation of birds’ social behavior. With the advantages of computing with real numbers and the need for only a few parameters requiring adjustment, the PSO algorithm has been applied to many fields. Moreover, its application in many kinds of scientific research fields shows its valuable properties and practicality. PSO, as an optimization tool, provides a populationbased search procedure in which agents (individuals) called particles change their positions with time. In PSO, a set of randomly generated solutions propagates in the design space towards the optimal solution over a number of iterations based on large amounts of information about the design space that is assimilated and shared by all members of the swarm. The new position of the particle is determined by the sum of its current position and the velocity
[19]
. At each time step (iteration) a particle updates its position and velocity by the following equations:
Where,
i
= [1,2,…,
n
], d= [1,2,…,m],
n
is number of particles in a group,
m
is number of particle vector elements, c
_{1}
, c
_{2}
are two positive constants,
r
_{1}
and
r
_{2}
are two random values into the range [0, 1],
w^{t}
is particle inertia weight.
w
(
inertia weight
) controls the algorithm capability of exploration, that is, it makes a balance between the global exploration (when it has high values) and local exploration (when it has low values). Briefly, the inertia weight could be picked out as a constant value but it is preferred to define a variable w which decreases linearly during a run, i.e.:
where
w
_{max}
is initial weight,
w
_{min}
is final weight,
t
_{max}
is maximum iteration (generation) number and
t
is current iteration number.
Pbest
is the previous best position of the particle at time step
t
and
Gbest
is the best position among all particles at time step
t
. It is worth noting that “the best position” means the particle with the best fitness value (objective function). Also, C
_{1}
.r
_{1}
.(Pbest
_{id}
X
_{id}
) represents knowledge, and social component and C
_{2}
.r
_{2}
.(Gbest
_{id}
X
_{id}
) represent collaboration between particles. In other words, (Pbest
_{id}
X
_{id}
) and (Gbest
_{id}
X
_{id}
) are known as acceleration by distance, representing the distance between the best position already found by particle i and its current location and the distance between the best position found by the swarm and the current position of the particle
i
, respectively
[20]
.
 3.3.1 Mapping of the Energy Group Structure Optimization Problem on the PSO
In present work, PSO is mapped, compared and used for the energygroup structure optimization problem. The convergence criterion of the PSO is assigned by a maximum iteration number. In our study case, there are 69 meshes in each energy group structure. A straightforward method of energygroup structure representation can be established using a 1×d position vector,
Thus, in this study the length of each position vector is considered as 69. The characteristics c
_{1}
and c
_{2}
which are respectively, the coefficients of individual and social learning of the particles were adjusted so that c
_{1}
+c
_{2}
=4.
In addition, the value of the
w
_{max}
,
w
_{min}
,
t
_{max}
are chosen through the evaluation of the outputs by running the program a few times. Following a survey, we used
w
_{max}
=0.75 and
w
_{min}
=0.4 and
t
_{max}
= 80.
In this study, the position of a particle represents a candidate solution (candidate energy group structure) to the optimization problem at hand. The behavior of a particle is determined by its fitness, which is evaluated through calculation of a fitness (objective) function relative to the problem to be solved at its current position. Thus, we need to define the objective function to evaluate each particle (energy group structure). A structure which improves the results in all benchmark cases is favorable, however to minimize the number of parameters in objective function just two different cases, BNW_PUa1 and JTCA_PU1, were selected. The fitness function (FF) is defined as follow:
Where,
Other parameters are repeated for JTCAPU1with relevant weights.
For more emphasize on the multiplication factor, the weights are selected as: W
_{1}
=W
_{3}
=2 and W
_{2}
=W
_{4}
=1.
It should be noted that in each step after the generation of a new particle position (see
Fig. 1
flowchart), we must sort its elements in order to use it in NJOY code input.
4. RESULTS AND DISCUSSION
The main goal of this investigation is to minimize the value of the objective function (Eq. (8)) as much as possible using the PSO method.
Fig. 3
illustrates the fitness function value in different iterations. As it can be seen, the fitness value decreases rapidly from 18.01 to 5.88 and the calculation converges after 41 iterations.
The optimal energy structure has been used to solve other benchmark problems. The comparison of fitness function values for different problems using original and optimal energy structures are shown in
Table 3
. The fitness function has decreased in all the benchmark problems.
Table 4
represents the optimal structure with the lowest fitness proposed in this paper using PSO for the test cases described in section 3.1.
The optimization has led to 21 fast groups with energies greater than 9.118 keV, 20 resonance groups and 28 thermal groups with energies lower than 4 eV. These values are the conventional boundaries for three different energy regions. Similar to the original structure, most energy groups are selected in the thermal region by the optimization process.
Fitness Function Variation
Fitness Function Value for Benchmark Problems
Fitness Function Value for Benchmark Problems
The total cross sections of PU isotopes under the original WIMS and the optimized energy structures are illustrated in
Figs. 4

9
. As can be seen from these figures, in resonance energy range the optimization algorithm has selected the groups according to the resonances of fuel material. As we know, to select the proper energy structure, complicated phenomena in the reactor are taken in to
Total Cross Section of U235
Total Cross Section of U238
Total Cross Section of U239
The proposed 69 Group WIMS Energy Group Structure for MOX Thermal Lattices
The proposed 69 Group WIMS Energy Group Structure for MOX Thermal Lattices
Total Cross Section of PU240
Total Cross Section of PU241
Total Cross Section of PU242
account; however by employing this heuristic method, such considerations are automatically incorporated in the selection of energy structure.
The infinite multiplication factor and spectral indices obtained from the generated library with the optimized
Comparison of Calculated Integral Parameters for WCRX, JTCA and GE Benchmarks using Original and Optimized Energy StructuresaStandard Deviationb(Error in %)=[(Calculated valueMCNP value)/MCNP value] ×100
Comparison of Calculated Integral Parameters for WCRX, JTCA and GE Benchmarks using Original and Optimized Energy Structures ^{a} Standard Deviation ^{b} (Error in %)=[(Calculated valueMCNP value)/MCNP value] ×100
energy group structure are shown in
Tables 5
and
6
. The results of the original WIMS library are also listed. As can be seen from the results, except the multiplication factor of JTCA_PU1 and two spectral indices of GE_PU1, other parameters are improved considerably.
5. CONCLUSION
The energy group structure of WIMS code was studied in this paper. A calculation system was prepared to generate the WIMS 69 group library based on the input energy structure using the NJOY code system and also to calculate integral parameters using WIMSD5B code. The PSO
Comparison of Calculated Integral Parameters for BNW Benchmarks using Original and Optimized Energy StructureaStandard Deviationb(Error in %)=[(Calculated valueMCNP value)/MCNP value] × 100
Comparison of Calculated Integral Parameters for BNW Benchmarks using Original and Optimized Energy Structure ^{a} Standard Deviation ^{b} (Error in %)=[(Calculated valueMCNP value)/MCNP value] × 100
optimization method was applied for the selection of energy boundaries. The error of multiplication factor and spectral indices in four categories of MOX thermal lattices were analyzed for this purpose. An optimal energy structure with the lowest fitness value has been proposed. The results show that using the optimal energy structure leads to more accurate spectral indices and multiplication factor in MOX thermal lattices in most cases.
By using this methodology, one can increase the efficiency of multigroup transport calculations employing the optimized energy structure. Such calculations lead to more accurate results with lower number of energy groups.
Acknowledgements
The authors are grateful to Dr. Trkov for his helpful recommendations, and Mr. Tabesh for his valuable suggestions.
Cacuci D.G.
(2010)
“Handbook of Nuclear Engineering”
Springer Science Publications
Berlin
Pazirandeh A.
,
Tabesh A.
(2002)
“New WIMS library generation from ENDF/B6 and effect of resonance group structure on cell parameters”
J. of Nucl. Sci. and Technol.(Tokyo, Jpn.)
(Suppl. 2)
900 
903
Sanggene Han J.
,
M.Sc. Thesis
(2008)
“Sensitivity study on the energy group structure for high temperature reactor analysis”
the Pennsylvania State University
M.Sc. Thesis
Mosca P.
,
Mounier C.
,
Sanchez R.
,
Arnaud G.
(2011)
“An adaptive energy mesh constructor for multigroup library generation for transport codes”
Nucl. Sci. Eng.
167
(1)
40 
60
Askew J R
,
Fayers F J
,
Kemshell P B
(1996)
“A general description of the lattice code WIMS”
Journal of the British Nuclear Energy Society
564
Stamm’ler R.J.J
,
Abbate M.J
(1983)
“Methods of SteadyState Reactor Physics in Nuclear Design”
Academic Press
Kennedy J.
,
Eberhart R.
(1995)
“Particle Swarm Optimization”
Proceedings of IEEE International Conference on Neural Networks, IV
1942 
1948
Winfrith
(1982)
“LWRWIMS, a Computer Code for Light Water Reactor Calculations”
AEE
UK
AEEWR 1498
MacFarlane
,
Muir D.W.
(1998)
“The NJOY Nuclear Data Processing System, NJOY97.0 Code System for Producing Pointwise and Multigroup Neutron and Photon Cross Sections from ENDF/B Data”
RSICC Code package PSR368
Leamer R.D.
(1967)
“PuO2–UO2Fueled Critical Experiments”
Westinghouse Electric Corporation
Pittsburgh, PA
Rep. WCAP 37261
Tsuruta H.
(1972)
“Experiment and Calculation of keff for the Lightwater Moderated Tworegion Core of UO2 and PuO2–UO2 Lattices”
Japan Atomic Energy Research Institute
Tokaimura
Rep. JAERIM 4696
(in Japanese)
Schmid L.C.
,
Liikala R.C.
,
Stinson W.P.
,
Worden J.R.
(1964)
“Experiments with PuO2？UO2 Fuel Elements in Light Water”
General Electric
Richland, WA
Physics Research Quarterly Rep. HW81659
Stinson W.P.
,
Lauby J.H.
(1969)
“Approachtocritical Experiments with UO2–4 wt% PuO2–H2O Lattices in Plutonium”, Utilization Program Technical Activities Quarterly Report, September？November 1968
Pacific Northwest Laboratories
Richland, WA
Rep. BNWL963
Briesmeister J.F.
(2000)
“MCNP4C User Manual”
Oak Ridge National Library
CCC700
Sher R.
,
Fiarman S.
(1976)
“Studies of Thermal Reactor Benchmark Data Interpretation: Experimental Corrections”
EPRI NP209
Maucec M.
,
Glumac B.
(1996)
“Thermal Lattice Benchmarks for Testing Basic Evaluated Data Files Developed with MCNP4B”
Jozef Stefan Institute
3rd Regional Meeting: Nuclear Energy in Central Europe
Marks N. A.
(1997)
“Installation and Validation of MCNP4A”
Australian Nuclear Science and TechnologyOrganization
NTD/TN 200
WLUP
(2007)
“WIMSD library update: Final Report of a Coordinated Research Project”
International Atomic Energy Agency
Vienna
Eberhart R.C.
,
Simpson P.
,
Dobbins R.
(1996)
“Computational Intelligence PC Tools”
Academic Press Professional
Massachussets, EUA
Khoshahval F.
,
Zolfaghari A.
,
Minuchehr H.
,
Sadighi M.
,
Norouzi A.
(2010)
“PWR fuel management optimization using continuous particle swarm intelligence”
Ann. of Nucl. En.
37
(10)
1263 
1271