Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Corrected spelling in task 14 #273

Merged
merged 1 commit into from
Feb 27, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"This example simulates a shield room / bunker with corridor entrance a neutron source in the center of the room.\n",
"This example simulates a shield room / bunker with a corridor entrance and a neutron source in the center of the room.\n",
"\n",
"Variance reduction is used to accelerate the simulation.\n",
"\n",
Expand Down Expand Up @@ -75,7 +75,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"Now we define and plot the geometry. This geometry is define by parameters for every width and height. The parameters input into the geometry in a stacked manner so they can easily be adjusted to change the geometry without creating overlapping cells."
"Now we define and plot the geometry. This geometry is defined by parameters for every width and height. The parameters input into the geometry in a stacked manner so they can easily be adjusted to change the geometry without creating overlapping cells."
]
},
{
Expand Down Expand Up @@ -230,7 +230,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"Create a mesh that encompasses the entire geoemtry and scores neutron flux"
"Create a mesh that encompasses the entire geometry and scores neutron flux"
]
},
{
Expand Down Expand Up @@ -346,7 +346,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"Now we run the model without survival_biasing and save the meesh tally image"
"Now we run the model without survival_biasing and save the mesh tally image"
]
},
{
Expand All @@ -363,7 +363,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"Now we run the model again with survival_biasing enabled. This needs to me set on the model settings. The values chosen can be fine tunned to the model but for this example we have chosen some values after a little exploration."
"Now we run the model again with survival_biasing enabled. This needs to be set on the model settings. The values chosen can be fine tuned to the model but for this example we have chosen some values after a little exploration."
]
},
{
Expand Down
10 changes: 5 additions & 5 deletions tasks/task_14_variance_reduction/2_shielded_room_single_ww.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@
"source": [
"# Variance Reduction - Weight Windows\n",
"\n",
"## Creating and utilizing a wight window to accelerate deep shielding simulations\n",
"## Creating and utilizing a weight window to accelerate deep shielding simulations\n",
"\n",
"This example simulates a shield room / bunker with corridor entrance a neutron source in the center of the room with. This example implements a single step of the Magic method of weight window generation. \n",
"This example simulates a shield room / bunker with corridor entrance and a neutron source in the center of the room. This example implements a single step of the Magic method of weight window generation. \n",
"\n",
"In this tutorial we shall focus on generating a weight window to accelerate the simulation of particles through a shield.\n",
"\n",
Expand Down Expand Up @@ -93,7 +93,7 @@
"id": "424b234c-48a2-4d1b-b374-f69430e464db",
"metadata": {},
"source": [
"Now we define and plot the geometry. This geometry is define by parameters for every width and height. The parameters input into the geometry in a stacked manner so they can easily be adjusted to change the geometry without creating overlapping cells."
"Now we define and plot the geometry. This geometry is defined by parameters for every width and height. The parameters input into the geometry in a stacked manner so they can easily be adjusted to change the geometry without creating overlapping cells."
]
},
{
Expand Down Expand Up @@ -310,7 +310,7 @@
"id": "9bc4e52b",
"metadata": {},
"source": [
"Creates and export the model"
"Creates and exports the model"
]
},
{
Expand Down Expand Up @@ -458,7 +458,7 @@
"source": [
"You might have to fine tune the particle numbers to get the two simulations taking exactly the same amount of time to make it a fair test.\n",
"\n",
"However on this laptop both simulations tok 30 seconds and it is clear from the two images that the weight window simulation was more efficient at getting particles through the shielding.\n",
"However on this laptop both simulations took 30 seconds and it is clear from the two images that the weight window simulation was more efficient at getting particles through the shielding.\n",
"\n",
"Weight windows can be fine tuned for a specific problem to improve their performance.\n",
"\n",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"source": [
"# Variance Reduction - Weight Windows\n",
"\n",
"## Iteratively creating and utilizing a wight window to accelerate deep shielding simulations\n",
"## Iteratively creating and utilizing a weight window to accelerate deep shielding simulations\n",
"\n",
"This example simulates a sphere of material with a neutron source in the center.This example implements the MAGIC method of weight window generation on each simulation run.\n",
"\n",
Expand Down Expand Up @@ -211,7 +211,7 @@
"id": "9bc4e52b",
"metadata": {},
"source": [
"Creates and export the model"
"Creates and exports the model"
]
},
{
Expand Down Expand Up @@ -363,7 +363,7 @@
"id": "0c6548fc-a538-432f-9694-3092db42b1b4",
"metadata": {},
"source": [
"The iterative improvment of the flux / standard deviation / weight windows with each simulation run can be seen when we plot all the simulation results one after each other."
"The iterative improvement of the flux / standard deviation / weight windows with each simulation run can be seen when we plot all the simulation results one after each other."
]
},
{
Expand Down Expand Up @@ -399,11 +399,11 @@
"\n",
"Weight windows can be incrementally improved by running subsequent simulations.\n",
"\n",
"Running lots of small simulations where the weight window can incrementally improve the wieght window and can yields better results that a big single simulation to generate weight windows and a single big simulation to make use of the weight windows.\n",
"Running lots of small simulations where the weight window can incrementally improve the weight window can yield better results than a big single simulation to generate weight windows and a single big simulation to make use of the weight windows.\n",
"\n",
"Doing this iteration with openmc.lib means we don't need to reload the nuclear data between simulations which saves time.\n",
"\n",
"Additionally we have access to openmc.lib methods which are nessecary for updating the weight window with the MAGIC method and exporting the weight window to a h5 file.\n"
"Additionally we have access to openmc.lib methods which are necessary for updating the weight window with the MAGIC method and exporting the weight window to a h5 file.\n"
]
},
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@
"source": [
"This section makes the tallies.\n",
"\n",
"We have a spherical mesh tally for the getting the flux. This is used to generate the weight windows.\n",
"We have a spherical mesh tally for getting the flux. This is used to generate the weight windows.\n",
"\n",
"We also have a neutron spectra tally to show how the neutrons energy distribution in the outer shell cell is resolved."
]
Expand Down Expand Up @@ -376,13 +376,13 @@
"id": "b2c74788-8de5-4be7-9263-7f988fc43890",
"metadata": {},
"source": [
"In the left hand side colum we see that just running a non varience reduction simulation and only occational neutrons get to the outer shell cell to contribute to the tally. This would take a long time to converge the spectra.\n",
"In the left hand side column we see that just running a non variance reduction simulation and only occational neutrons get to the outer shell cell to contribute to the tally. This would take a long time to converge the spectra.\n",
"\n",
"However with weight windows we see the tally results are developing relatively quickly and we can start to see some spectra structure after just a few batches.\n",
"\n",
"We have previously seen flux maps benefit from weight windows but this example showed that spectra simulations can also be improved.\n",
"\n",
"The other difference is that we are improving the weight window each batch instead of each simulation. This is quite fine grain evolution of the weight windows. The finaly tally result ends up getting contributions from several batches where each batch has different weight windows."
"The other difference is that we are improving the weight window each batch instead of each simulation. This is quite fine grain evolution of the weight windows. The final tally result ends up getting contributions from several batches where each batch has different weight windows."
]
}
],
Expand Down
Loading