Skip to content

Commit b2cc761

Browse files
committed
Merge branch 'add_ISIS_bench' of https://github.com/JADE-V-V/JADE into add_ISIS_bench
2 parents 28eba74 + afa200d commit b2cc761

File tree

189 files changed

+30833
-851
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

189 files changed

+30833
-851
lines changed

.github/workflows/pytest.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,7 @@ jobs:
7878
if: runner.os == 'Linux'
7979
run: |
8080
set -o pipefail
81+
git config --global http.sslBackend schannel
8182
source /usr/local/Modules/init/sh
8283
pytest --cov=. -cov-config=jade.coveragerc --cov-report xml
8384
env:
@@ -89,6 +90,7 @@ jobs:
8990
- name: Testing - Windows
9091
if: runner.os == 'Windows'
9192
run: |
93+
git config --global http.sslBackend schannel
9294
pytest
9395
env:
9496
ACCESS_TOKEN_GITHUB: ${{ secrets.ACCESS_TOKEN_GITHUB }}

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
[![Testing](https://github.com/JADE-V-V/JADE/actions/workflows/pytest.yml/badge.svg?branch=master)](https://github.com/JADE-V-V/JADE/actions/workflows/pytest.yml)
1+
[![Testing](https://github.com/JADE-V-V/JADE/actions/workflows/pytest.yml/badge.svg?branch=developing)](https://github.com/JADE-V-V/JADE/actions/workflows/pytest.yml)
22
[![Documentation Status](https://readthedocs.org/projects/jade-a-nuclear-data-libraries-vv-tool/badge/?version=latest)](https://jade-a-nuclear-data-libraries-vv-tool.readthedocs.io/en/latest/?badge=latest)
33
[![codecov](https://codecov.io/gh/JADE-V-V/JADE/graph/badge.svg?token=C0Q75M9FVH)](https://codecov.io/gh/JADE-V-V/JADE)
44
[![PyPi version](https://badgen.net/pypi/v/jadevv/)](https://pypi.org/project/jadevv)

docs/source/dev/insertbenchmarks.rst

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,8 @@ OpenMC
5454
A compiled library file, ``libsource.so`` must be provided, which has been compiled using ``gcc``
5555
with shared libraries enabled. An example of how to compile an OpenMC source is provided in the
5656
`OpenMC documentation <https://docs.openmc.org/en/stable/usersguide/settings.html#compiled-sources>`_.
57+
- If the model uses weight windows, a weight windows file in HDF5 format should be provided.
58+
The file should be named ``weight_windows.h5``. This weight window will be used in simulation if it is provided.
5759
- The tallies IDs should be explicitly fixed when creating the ``tallies.xml`` file. This prevents
5860
OpenMC from creating them automatically and, thus, potentially changing them between different runs
5961
of a same benchmark. If possible, the tallies identifiers should be the same as the ones used in the
@@ -169,6 +171,8 @@ and the tallies themselves can be modified through the use of *modifiers*.
169171
The currently supported modifiers are:
170172

171173
* ``no_action``: no action is taken on the tally. No arguments are expected.
174+
* ``volume``: a volume divisor is applied to the tally, obtained from a ``volumes.json`` file supplied with the bechmark inputs. No arguments are expected.
175+
* ``mass``: a mass divisor is applied to the tally, obtained from a ``volumes.json`` file supplied with the bechmark inputs, and OpenMC ``xml`` files. No arguments are expected.
172176
* ``scale``: the tally is scaled by a factor. The *factor* is expected as key argument and the provided value can
173177
be either a float, and integer or a list (of floats or integers).
174178
* ``lethargy``: a neutron flux tally is expected and converted to a neutron flux per unit lethargy.
@@ -241,6 +245,11 @@ The currently supported modifiers are:
241245
to be used for the cumulative sum, and *norm*, a boolean indicating whether to normalize the result with respect to the total sum (a percentage is returned).
242246
If no *column* argument is provided, the cumulative sum is computed on the 'Value' column by default. The argument *norm* is True by default.
243247

248+
* ``gaussian_broadening``: applies Gaussian broadening to the 'Value' column. The optional keyarg to provide is *fwhm_frac*,
249+
which specifies the fraction of the FWHM (Full Width at Half Maximum) to use for Gaussian broadening. This can be provided either
250+
as a single float value, which will be applied uniformly to all energy bins, or as a list of float values with the same length as the
251+
'Energy' column, allowing for a different broadening parameter for each energy bin. If not specified, the default value is 0.1 (10%).
252+
244253
More than one modifiers can be applied in series to a single tally.
245254
If your benchmark requires a new modifier, please refer to :ref:`add_tally_mod`.
246255

@@ -458,6 +467,13 @@ An example of plot configuration is shown below:
458467
shorten_x_name: 2
459468
select_runs: SphereSDDR_\d+_[A-Za-z]+-\d+_
460469
470+
Update the documentation
471+
==============================
472+
473+
The final step to add a new benchmark to JADE, assuming that no new functionalities are added, as detailed
474+
below, is to add the associated documentation. This includes a description of the benchmark as well as updating
475+
the overview table of implemented benchmarks in :ref:`benchmarks`.
476+
461477
Implement new functionalities
462478
=============================
463479

docs/source/dev/pp_gallery.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -147,6 +147,8 @@ These are the extra ``plot_args`` that this type of plot can accept:
147147
in the same subplot. Default is false.
148148
* ``xscale``: The scale of the x-axis. Every argument that could be passed to the matplotlib function
149149
``set_xscale()`` is accepted. Common ones are 'linear' or 'log'. Default is 'log'.
150+
* ``yscale``: The scale of the y-axis. Every argument that could be passed to the matplotlib function
151+
``set_yscale()`` is accepted. Common ones are 'linear' or 'log'. Default is 'log'.
150152

151153
Ratio plot (ratio)
152154
------------------

docs/source/documentation/benchdesc/ISIS-800MeV-C.rst

Lines changed: 7 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ ISIS Benchmark Experiment on Deep-Penetration Neutrons through Concrete and Iron
22

33
.. important::
44

5+
56
This benchmark is part of the SINBAD collection and cannot be freely distributed with JADE.
67

78
The purpose of this experiment was to measure the deep-penetration neutrons through a thick bulk shield at an intense spallation neutron source facility, ISIS, of the Rutherford Appleton Laboratory (RAL), United Kingdom.
@@ -11,15 +12,10 @@ The experiments were performed with 800MeV protons. The protons stopped on a Tan
1112
Different measurements were performed during the experiments to fully cover the neutron spectrum, including solid state neutron track detectors (SSNTD), thermoluminiscent dosimeters (TLD), activation detectors and an indium activation multi-moderator detector. The fast neutron flux was measured with the activation threshold detectors by using the C12(n,2n)C11, Al27(n,a)Na24 and the various threshold Bi209(n,xn)Bi210-x reactions. The activation of C12 dosimeters was measured between layers of ordinary concrete and stell located on top of the biological shield, i.e. at an emission angle of 90º relative to beam direction.
1213

1314
In this experiment additional shielding slabs of ordinary concrete and iron were placed upon the top center of the bulk shield just above the target, as shown in Fig. 1.
14-
15-
Figs. 2 ∼ 4 show photos of this experiment at the top of the target station. The additional
16-
15+
Figs. 2 - 4 show photos of this experiment at the top of the target station. The additional
1716
concrete and iron were assembled by 119-cm-diameter by 20-cm-thick slabs of 2.36-g/cm3
18-
1917
density, and 119-cm-diameter by 10-cm-thick slabs of 7.8-g/cm3 density, respectively.
20-
2118
The concrete slabs contained iron mesh for reinforcement.
22-
2319
The experiment is identified as NEA-1552/38 in the SINBAD database.
2420

2521
Geometry and run parameters
@@ -74,16 +70,8 @@ Those quantities have been scored in a 0.1 mm thickness cylinder located at 90 d
7470

7571
.. seealso:: **Related papers and contributions:**
7672

77-
OECD Nuclear Energy Agency Data Bank SINBAD, http://www.oecd-nea.org/science/wprs/shielding/sinbad/sinbadis.htm
78-
79-
T. Nunomiya, N. Nakao, P. Wright, T. Nakamura, E. Kim, T. Kurosawa, S. Taniguchi, M. Sasaki,, H. Iwase, Y. Uwamino, T. Shibata, S. Ito, D.R. Perry “Measurements of deep penetration of neutrons produced by 800MeV proton beam through concrete and iron at ISIS” Nuclear Instruments and Methods in Physics Research B179 (2001) 89-102.
80-
81-
S. Kitsos and I. Kodeli. SINBAD Compilation NEA-1552/21 “ISIS Deep-Penetration of Neutrons through Concrete and Iron shields”
82-
83-
84-
85-
T. Nunomiya, N. Nakao, P. Wright, T. Nakamura, E. Kim, T. Kurosawa, S. Taniguchi, M. Sasaki,, H. Iwase, Y. Uwamino, T. Shibata, S. Ito, D.R. Perry. “Experimental Data of Deep Penetration Neutrons through a Concrete and Iron Shield at the ISIS Spallation Neutron Source Facility using an 800MeV Proton Beam” KEK Report 2001-24 (February 2002).
86-
87-
88-
89-
Y. Uwamino, T Shibata, T. Ohkubo, S. Sato and D. Perry. Proceedings of SATIF-1, page 185. Arlington, Texas (1994).
73+
- OECD Nuclear Energy Agency Data Bank SINBAD, http://www.oecd-nea.org/science/wprs/shielding/sinbad/sinbadis.htm
74+
- T. Nunomiya, N. Nakao, P. Wright, T. Nakamura, E. Kim, T. Kurosawa, S. Taniguchi, M. Sasaki,, H. Iwase, Y. Uwamino, T. Shibata, S. Ito, D.R. Perry “Measurements of deep penetration of neutrons produced by 800MeV proton beam through concrete and iron at ISIS” Nuclear Instruments and Methods in Physics Research B179 (2001) 89-102.
75+
- S. Kitsos and I. Kodeli. SINBAD Compilation NEA-1552/21 “ISIS Deep-Penetration of Neutrons through Concrete and Iron shields”
76+
- T. Nunomiya, N. Nakao, P. Wright, T. Nakamura, E. Kim, T. Kurosawa, S. Taniguchi, M. Sasaki,, H. Iwase, Y. Uwamino, T. Shibata, S. Ito, D.R. Perry. “Experimental Data of Deep Penetration Neutrons through a Concrete and Iron Shield at the ISIS Spallation Neutron Source Facility using an 800MeV Proton Beam” KEK Report 2001-24 (February 2002).
77+
- Y. Uwamino, T Shibata, T. Ohkubo, S. Sato and D. Perry. Proceedings of SATIF-1, page 185. Arlington, Texas (1994).

docs/source/documentation/benchdesc/itercylSDDR.rst

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ SDDR parameters
6060
The irradiation schedule considered for ITER Cylinder SDDR benchmark is
6161
reported hereafter:
6262

63-
.. list-table:: Irradiation schedule (ITER SA2 irradiation scenario)
63+
.. list-table:: Irradiation schedule (Conservative ITER SA2 irradiation scenario)
6464
:header-rows: 1
6565

6666
* - Source Intensity [n/s]
@@ -95,6 +95,11 @@ Two different cool-down times were considered in the photon tallies: 0s and 1e6
9595
That is, these are the time interval waited after the irradiation phase has finished before tallying
9696
the SDDR and the photon flux.
9797

98+
.. note::
99+
This scenario does not match exactly the official ITER SA2 irradiation scenario which has only 3
100+
final pulses instead of 4. The results from JADE will be conservative with respect to the official
101+
scenario.
102+
98103
The possible reactions considered during the simulation are listed in the following table:
99104

100105
.. list-table:: List of parent-daughter couples generated by the considered reactions for the ITER Cylinder SDDR benchmark
Lines changed: 161 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,161 @@
1+
(RCR-Fe+Ni) RCR Iron/Nickel Sphere Experiment with 252Cf source
2+
------------------------------------------------------------------
3+
4+
.. include:: /documentation/benchdesc/icbep_disclaimer.rst
5+
6+
This benchmark was designed to evaluate fast neutron leakage spectra and neutron activation
7+
from an Iron and Nickel sphere of 50cm of diameter and with a 252Cf (spontaneous fission)
8+
neutron source placed in its centre. The experimental measurements were carried out in 2021
9+
at the Neutron Source Laboratory (NSL) in the Research Centre Řež (RCR, Centrum Výzkumu Řež)
10+
by the proton recoil method and by evaluating the reaction rates in irradiated activation foils.
11+
12+
The experiment is identified as ALARM-CF-Fe-SHIELD-002 in the ICSBEP database.
13+
14+
Benchmark structure
15+
^^^^^^^^^^^^^^^^^^^^^^^^^^^
16+
17+
The benchmark is organized into two single experimental case which just differs by the sphere material.
18+
19+
**Material**
20+
* Case-1: Iron
21+
* Case-2: Nickel
22+
**Objective**
23+
#. measure the direct fast neutron leakage and its energy spectrum from the Fe sphere.
24+
#. measure the spatial distribution of neutron-induced reaction rates on the surface of the sphere.
25+
**Method**
26+
#. Proton recoil method using hydrogen proportional counters (HPD, 0.1-1.3 MeV neutrons) and a stilbene
27+
scintillation detector for 0.8-12 MeV neutrons, with digital pulse shape discrimination for neutron/gamma separation.
28+
#. Activation foils (58Ni(n, p)58Co, 115In(n, n')115m1) are placed at defined positions on the sphere surface and
29+
irradiated during the neutron leakage measurements.
30+
31+
Geometry and run parameters
32+
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
33+
**Sphere dimensions and materials**
34+
* Case-1: 50 cm Fe sphere
35+
* Case-2: 50 cm Ni Sphere
36+
**Density**
37+
* Case-1 Iron sphere: 7.85 :math:`g/cm^3`
38+
* Case-2 Nickel sphere: 8.89 :math:`g/cm^3`
39+
**Material**
40+
Composition determined by XRF analysis:
41+
* Case-1 Iron sphere: Fe 99.737%, Mn 0.075%, P 0. 025%, C 0.04%, S 0.026%, Al 0.005%, Mo 0. 01%, Cr 0.02%, Cu 0.062%.
42+
* Case-2 Nickel sphere: Ni 99.631%, Mo 0.007%, Fe 0.21%, W 8.45E-05%, Al 0.102%, Gd 7.40E-07%, Cr 0.022%, B 5.00E-06%,
43+
Mn 0.019%, Cd 8.32E-06%, Cu 0.01%.
44+
**Source**
45+
252Cf oxide in a palladium matrix, encapsulated in double stainless-steel cladding.
46+
**Source position**
47+
Geometric center of the sphere, placed in a 2.6 cm diameter, 28 cm deep hole drilled in a central 3 cm thick plate.
48+
**Experimental hall**
49+
Room dimensions :math:`7.24\,\mathrm{m} \times 6.5\,\mathrm{m} \times 7.2\,\mathrm{m}` (height), sphere center
50+
2 m above floor.
51+
**Set-up of case**
52+
It contains only the activation foils on the outside the Fe sphere (on the surface) and the neutron detectors at
53+
1 m from the sphere center.
54+
55+
.. figure:: /img/benchmarks/RCR-Fe+Ni_1.png
56+
:width: 600
57+
:align: center
58+
59+
Figure 1. Scheme of Iron/Nickel Sphere - Side View. Dimensions in cm.
60+
61+
.. figure:: /img/benchmarks/RCR-Fe+Ni_2.png
62+
:width: 600
63+
:align: center
64+
65+
Figure 2. Photo of Iron Sphere with Shadow Cone and Stilbene Detector.
66+
67+
MCNP modelling
68+
^^^^^^^^^^^^^^^^^^^^^^^^^^^
69+
70+
Two independent MCNP inputs are employed, one for each case, just with different sphere material and with the hereinafter
71+
described tallies:
72+
73+
*Detector tallies, Fn5 MCNP type*
74+
Two detector-flux tallies have been used to collect the energy-binned neutron spectra at the same detector position
75+
with a course energy binning (F5, for the Stilbene detector) and a finer one (F15 for the hydrogen proportional
76+
counters, HPD) which matches the measurement performed.
77+
*Track length flux tallies, Fn4 MCNP type*
78+
A track length flux tally has been used to collect results in the cells corresponding to the activation foils in MCNP
79+
geometry. The tally has been multiplied in each input (with FM card) by the appropriate microscopic reaction cross
80+
section, to obtain results in terms of number of reactions per unit neutron from the source. Energy binning was applied
81+
to half of the tallies, while the other half recorded the total reaction rate in the same cells (see table below). Nuclear
82+
data for tally collection was taken from IRDFF-II dosimetry libraries and experimental values averaged when multiplies
83+
values where present. In the following, a list of the reactions considered for each activation foil material is reported:
84+
85+
.. list-table:: Tally Details
86+
:header-rows: 1
87+
:widths: 10 25 25 10
88+
89+
* - Tally No.
90+
- Where
91+
- Foils Reactions
92+
- Energy binned
93+
* - 4
94+
- Outer sphere surface
95+
- 58Ni(n,p)58Co
96+
- Yes
97+
* - 14
98+
- Outer sphere surface
99+
- 115In(n,n')115m1 In
100+
- Yes
101+
* - 24
102+
- Outer sphere surface
103+
- 58Ni(n,p)58Co
104+
- No
105+
* - 34
106+
- Outer sphere surface
107+
- 115In(n,n')115m1 In
108+
- No
109+
110+
Implemented broadening on Monte Carlo computed results
111+
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
112+
Following the ICSBEP documentation, MCNP neutron spectra are broadened with a Gaussian function using a constant 10% FWHM
113+
for all energy ranges for the hydrogen proportional counters while as per the table below for the stilbene scintillation detector.
114+
115+
.. list-table:: Energy Resolution of the Stilbene Detector for Neutron Spectra Measurement
116+
:header-rows: 1
117+
:widths: 15 15
118+
119+
* - Elow (MeV)
120+
- FWHM (%)
121+
* - 17.02
122+
- 1
123+
* - 15.05
124+
- 1.35
125+
* - 13.63
126+
- 1.65
127+
* - 12.5
128+
- 1.92
129+
* - 11.42
130+
- 2.23
131+
* - 11.02
132+
- 2.35
133+
* - 10.97
134+
- 2.37
135+
* - 10.67
136+
- 2.47
137+
* - 9.96
138+
- 2.73
139+
* - 9.3
140+
- 3.01
141+
* - 8.05
142+
- 3.68
143+
* - 6.59
144+
- 4.97
145+
* - 5.91
146+
- 6.07
147+
* - 5.46
148+
- 7.41
149+
* - 5.25
150+
- 8.61
151+
* - 5.13
152+
- 10
153+
154+
.. seealso:: **Related papers and contributions:**
155+
156+
* ICSBEP, NEA/NSC/DOC/(95)03/VIII, Volume VIII, ALARM-CF-Fe-SHIELD-002.
157+
* https://www-nds.iaea.org/INDEN/
158+
* M. Schulc et al., "Measuring neutron leakage spectra using spherical benchmarks with 252Cf source in its centers",
159+
Nucl. Instrum. Methods Phys. Res. A 914 (2019) 53-56.
160+
* M. Schulc et al., "Application of 252Cf neutron source for precise nuclear data experiments", Appl. Radiat.
161+
Isot. 151 (2019) 187-195.

0 commit comments

Comments
 (0)