-
Notifications
You must be signed in to change notification settings - Fork 2
Cleanup #39
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
Cleanup #39
Changes from all commits
ee54801
82fab1c
8ecfe91
0df4c67
e7170c9
5c5288a
58844f9
3b32a9c
09c4608
f293ed5
152b468
c19d85a
6c8bd5b
cec5991
afc65ff
1c88bf3
2156f9a
e46fad1
76f50df
206915d
ccc9d46
80871f5
380cb96
6d70e31
00bf9b0
9b500b8
740c887
426d09e
27a0bae
91045d6
513cbb2
b4165aa
e97d807
4729674
601e993
7fbaf63
f98c2a8
b6a1179
5292186
454c7e7
535f753
34b000c
7645e53
8b381e6
8765748
fe5cc26
083e1ca
64b813c
85cae8f
6900b1a
a2ec4b0
c312302
62e4697
c87d8a4
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,6 +1,9 @@ | ||
| # MoSDeN | ||
| Molten Salt Delayed Neutron (MoSDeN) is a tool used for reconstruction of | ||
| Molten Salt Delayed Neutron (MoSDeN) is a tool used for generation of | ||
| delayed neutron precursor groups in molten salt reactors. | ||
| This tool can also be used for traditional light water reactors, as users | ||
| can adjust ex-core residence times of fissile samples to be zero and chemical | ||
| removal rates to be zero. | ||
|
|
||
| ## History | ||
| This tool had a previous version in this repository accessible with | ||
|
|
@@ -26,9 +29,12 @@ The exact organization of raw, unprocessed data is flexible, with some notable | |
| exceptions: | ||
| - OpenMC chain files to be should all be in a subdirectory labeled with | ||
| "omcchain" (see `preprocessing.py` for all keywords) | ||
| - ENDF NFY data should all be in a subdirectory labeled `nfy` | ||
| - ENDF fission yield data should all be in a subdirectory labeled `nfy` | ||
| - JEFF fission yield data should all be in a subdirectory labeled `nfpy` | ||
| - ENDF NFY files should be named "nfy-<ZZZ>_<ID>_<AAA>.csv", so 235U would be | ||
| `nfy-092_U_235.csv`. | ||
| - JEFF NFPY files should be named "nfpy_<NUMS>_<ZZ>-<ID>-<AAA>.dat", so 235U | ||
| would be `nfpy_3542_92-U-235.dat` (the `NUMS` value meaning is unclear). | ||
| - IAEA beta-delayed neutron emission data should be in a directory `iaea` and | ||
| be called `eval.csv` (default when downloading data). | ||
|
|
||
|
|
@@ -41,6 +47,20 @@ cumulative fission yields (with energy dependence based on nearest energy) | |
| - [IAEA data](https://www-nds.iaea.org/beta-delayed-neutron/database.html): | ||
| these give emission probabilities and half-lives | ||
|
|
||
| Some data are provided without additional downloading steps. | ||
| These data include: chemical reprocessing schemes and group parameter data. | ||
| - Chemical removal rates provided should represent *scaled* removal (the removal | ||
| rate applied to the entire volume). This is generally how the data is presented | ||
| in the literature. The scripts assume the data is in this form. The user input | ||
| captures this effect via the `base_removal_scaling`. This term represents, as a | ||
| value from 0 to 1, the ex-core fraction (assuming chemical removal in the that | ||
| region). Whatever chemical removal rates are used, this term should represent | ||
| the scaling that has been applied to that data (for example, if the removal | ||
| occurs everywhere in the primary loop, then the scaling would be 1.0 since this | ||
| term captures the spatial component.) | ||
| - The group parameter data from the literature should be given as absolute | ||
| yields (calculable from the relative yield and total yield values). | ||
|
|
||
| ### Processing | ||
| Processing consists of three steps: | ||
| 1. Generate concentrations (or collect fission yield data). | ||
|
|
@@ -67,11 +87,9 @@ including analysis of each step. | |
| ## Using the tool from source | ||
| Download the repository from GitHub. | ||
| The environment will also to be created by running | ||
| `conda env create -f environment.yml`. | ||
| `mamba env create -f environment.yml`. | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. is there a reason for this change?
Collaborator
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
|
||
| This should be followed with `conda activate mosdenv` to activate | ||
| the environment. | ||
| Run `pip install -e .` to make the package available to use on the command line | ||
| as `mosden` in the `mosdenv` environment. | ||
| Download the data used in tests by running `bash download_data.sh`. | ||
| Check that tests pass by running `pytest` or `pytest -m "not slow"` for the | ||
| faster version. | ||
|
|
@@ -97,4 +115,4 @@ various debug outputs. | |
| - [<20] is the info level (This is the suggested level) | ||
| - [<30] is the warning level | ||
| - [<40] is the error level | ||
| - [<50] is the critical level | ||
| - [<50] is the critical level | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,158 +1,17 @@ | ||
| name: mosdenv | ||
| channels: | ||
| - conda-forge | ||
| - defaults | ||
| dependencies: | ||
| - _libgcc_mutex=0.1 | ||
| - _openmp_mutex=4.5 | ||
| - asttokens=3.0.0 | ||
| - blosc=1.21.6 | ||
| - brotli=1.1.0 | ||
| - brotli-bin=1.1.0 | ||
| - bzip2=1.0.8 | ||
| - c-ares=1.34.5 | ||
| - ca-certificates=2025.10.5 | ||
| - cached-property=1.5.2 | ||
| - cached_property=1.5.2 | ||
| - colorama=0.4.6 | ||
| - contourpy=1.3.3 | ||
| - cycler=0.12.1 | ||
| - dagmc=3.2.4 | ||
| - decorator=5.2.1 | ||
| - eigen=3.4.0 | ||
| - endf=0.1.4 | ||
| - exceptiongroup=1.3.0 | ||
| - executing=2.2.0 | ||
| - fonttools=4.59.0 | ||
| - freetype=2.13.3 | ||
| - future=1.0.0 | ||
| - h5py=3.13.0 | ||
| - hdf4=4.2.15 | ||
| - hdf5=1.14.3 | ||
| - iniconfig=2.0.0 | ||
| - ipython=9.4.0 | ||
| - ipython_pygments_lexers=1.1.1 | ||
| - jedi=0.19.2 | ||
| - jinja2=3.1.6 | ||
| - keyutils=1.6.1 | ||
| - kiwisolver=1.4.8 | ||
| - krb5=1.21.3 | ||
| - lcms2=2.17 | ||
| - ld_impl_linux-64=2.44 | ||
| - lerc=4.0.0 | ||
| - libaec=1.1.4 | ||
| - libblas=3.9.0 | ||
| - libbrotlicommon=1.1.0 | ||
| - libbrotlidec=1.1.0 | ||
| - libbrotlienc=1.1.0 | ||
| - libcblas=3.9.0 | ||
| - libcurl=8.14.1 | ||
| - libdeflate=1.24 | ||
| - libedit=3.1.20250104 | ||
| - libev=4.33 | ||
| - libexpat=2.7.1 | ||
| - libffi=3.4.6 | ||
| - libfreetype=2.13.3 | ||
| - libfreetype6=2.13.3 | ||
| - libgcc=15.1.0 | ||
| - libgcc-ng=15.1.0 | ||
| - libgfortran=15.1.0 | ||
| - libgfortran5=15.1.0 | ||
| - libgomp=15.1.0 | ||
| - libiconv=1.18 | ||
| - libjpeg-turbo=3.1.0 | ||
| - liblapack=3.9.0 | ||
| - liblzma=5.8.1 | ||
| - libnetcdf=4.9.2 | ||
| - libnghttp2=1.64.0 | ||
| - libnsl=2.0.1 | ||
| - libopenblas=0.3.30 | ||
| - libpng=1.6.50 | ||
| - libsqlite=3.50.4 | ||
| - libssh2=1.11.1 | ||
| - libstdcxx=15.1.0 | ||
| - libstdcxx-ng=15.1.0 | ||
| - libtiff=4.7.0 | ||
| - libuuid=2.38.1 | ||
| - libwebp-base=1.6.0 | ||
| - libxcb=1.17.0 | ||
| - libxcrypt=4.4.36 | ||
| - libxml2=2.13.8 | ||
| - libxslt=1.1.43 | ||
| - libzip=1.11.2 | ||
| - libzlib=1.3.1 | ||
| - lxml=6.0.0 | ||
| - lz4-c=1.10.0 | ||
| - markupsafe=3.0.2 | ||
| - matplotlib-base=3.10.5 | ||
| - matplotlib-inline=0.1.7 | ||
| - metis=5.1.0 | ||
| - moab=5.5.1 | ||
| - munkres=1.1.4 | ||
| - ncrystal=4.2.6 | ||
| - ncrystal-core=4.2.6 | ||
| - ncrystal-lib=4.2.6 | ||
| - ncrystal-python=4.2.6 | ||
| - ncurses=6.5 | ||
| - njoy2016=2016.78 | ||
| - numpy=2.3.2 | ||
| - openjpeg=2.5.3 | ||
| - openmc=0.15.2 | ||
| - openssl=3.5.4 | ||
| - packaging=25.0 | ||
| - pandas=2.3.1 | ||
| - parso=0.8.4 | ||
| - patsy=1.0.1 | ||
| - pexpect=4.9.0 | ||
| - pickleshare=0.7.5 | ||
| - pillow=11.3.0 | ||
| - pip=25.2 | ||
| - pluggy=1.6.0 | ||
| - prompt-toolkit=3.0.51 | ||
| - pthread-stubs=0.4 | ||
| - ptyprocess=0.7.0 | ||
| - pure_eval=0.2.3 | ||
| - pygments=2.19.2 | ||
| - pyparsing=3.2.3 | ||
| - pytest=8.4.1 | ||
| - python=3.12.11 | ||
| - python-dateutil=2.9.0.post0 | ||
| - python-tzdata=2025.2 | ||
| - python_abi=3.12 | ||
| - pytz=2025.2 | ||
| - qhull=2020.2 | ||
| - readline=8.2 | ||
| - scipy=1.16.0 | ||
| - seaborn=0.13.2 | ||
| - seaborn-base=0.13.2 | ||
| - setuptools=80.9.0 | ||
| - six=1.17.0 | ||
| - snappy=1.2.2 | ||
| - stack_data=0.6.3 | ||
| - statsmodels=0.14.5 | ||
| - tempest-remap=2.2.0 | ||
| - tk=8.6.13 | ||
| - tomli=2.2.1 | ||
| - tqdm=4.67.1 | ||
| - traitlets=5.14.3 | ||
| - typing_extensions=4.14.1 | ||
| - tzdata=2025b | ||
| - uncertainties=3.2.3 | ||
| - unicodedata2=16.0.0 | ||
| - wcwidth=0.2.13 | ||
| - wheel=0.45.1 | ||
| - xorg-libxau=1.0.12 | ||
| - xorg-libxdmcp=1.1.5 | ||
| - zlib=1.3.1 | ||
| - zstd=1.5.7 | ||
| - python=3.12 | ||
| - numpy | ||
| - pip | ||
| - pytest | ||
| - pandas | ||
| - uncertainties | ||
| - scipy | ||
| - tqdm | ||
| - openmc | ||
| - seaborn | ||
| - pip: | ||
| - https://github.com/terrapower/armi/archive/main.zip | ||
| - coverage==7.10.5 | ||
| - ordered-set==4.1.0 | ||
| - pydoe==0.3.8 | ||
| - pyevtk==1.6.0 | ||
| - ruamel-yaml==0.18.15 | ||
| - ruamel-yaml-clib==0.2.12 | ||
| - toml==0.10.2 | ||
| - voluptuous==0.15.2 | ||
| - yamlize==0.7.1 | ||
| - -e . | ||
| - https://github.com/terrapower/armi/archive/main.zip | ||
LukeSeifert marked this conversation as resolved.
Show resolved
Hide resolved
|
||
Uh oh!
There was an error while loading. Please reload this page.