-
Notifications
You must be signed in to change notification settings - Fork 4
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
Update material compositions #14
Merged
Merged
Changes from all commits
Commits
Show all changes
91 commits
Select commit
Hold shift + click to select a range
877ad5a
remove pytest install calls
abachma2 879d4a1
add pytest and nose install
abachma2 2327646
add step to list conde env
abachma2 ab743eb
install python 3.11
abachma2 7f7500e
build openmc from source
abachma2 0be970f
change build file path
abachma2 2c5ccd8
add install dependencies steps
abachma2 cbc481f
change model path to relative path
abachma2 5a4bd72
add notes about file and recipe names
abachma2 754a6d6
adjust print statements, add call to Depletion.update_materials
abachma2 6a61c9d
add function to update material definitions in OpenMC model
abachma2 cc8bf8d
move spent fuel recipes to separate file
abachma2 0def789
update OpenMC model to have more materials present and correct naming
abachma2 710752b
change from atom fraction to weight fraction
abachma2 df594c9
remove some prints and comments with transmute
abachma2 0dfc6a6
use openmc function to convert zaid
abachma2 a3ab1bc
call transmute method, print transmuted comp
abachma2 6127f6e
hard code spent fuel file name
abachma2 dbf7f6a
update cyclus repo branch to install from
abachma2 4c4897f
move openmc files to examples directory, reflect in inputs
abachma2 90029c9
change create_recipe to use ET, correct output file name
abachma2 3727f5e
move to examples/ with other openmc files
abachma2 b7b637d
change to examples dir for model path
abachma2 c7481d4
move to examples/ with other openmc files
abachma2 8ac6829
change where prototype name is passed
abachma2 bf91703
remove from tests dir, previously moved to examples dir
abachma2 b471a38
remove file, not needed
abachma2 1903577
change reacte_recipe to not use export_to_materials
abachma2 e32903f
pass recipe names from prototype to Depletion.create_recipe
abachma2 c8786ae
use out recipe names in create_recipe, add tolerance for including nu…
abachma2 dab00c3
pass the openmc material ids to create_recipe
abachma2 5841c57
pep8 fixes
abachma2 b40bd16
add conditional so that only 1 composition for each recipe gets written
abachma2 bf58053
move removal of duplicate recipe names to Depletion class
abachma2 2466c5c
Merge branch 'main' into circle-ci
abachma2 ab55448
add dependencies from README
abachma2 d2d7a1a
change env update to conda
abachma2 865fbaa
reduce dependencies to install for now
abachma2 f6df8f0
switch to mamba and mamba install of openmc
abachma2 4b903e1
remove call to sudo
abachma2 7962004
remove line to install pytest
abachma2 55ba731
add dependencies back in
abachma2 547dcea
add steps to build cyclus from abachma2/cyclus python-api branch
abachma2 55a231a
fix spelling error in command
abachma2 da23fad
adjust build-cyclus file to get permission
abachma2 1ae2875
change file permissions
abachma2 6df9c71
move conda dependencies to main file
abachma2 02fcbe3
reduce dependencies, install h5py
abachma2 0c29596
remove h5py install
abachma2 c03839a
remove mamba update env
abachma2 ac4089d
explicit call to activate env
abachma2 24d8bf8
Merge branch 'main' into depletion
abachma2 259304b
change writing of spent comps, calls to OpenMC
abachma2 a758406
update README
abachma2 c028326
change model path to relative
abachma2 bec805c
change model path handleing
abachma2 2c15672
add path as input variable for each function
abachma2 6e5ae1b
update doc strings
abachma2 8ca8020
change large numbers to scietific notation
abachma2 8803602
change depletion timesteps to 30 days
abachma2 64cb2f6
Merge branch 'circle-ci' into depletion
abachma2 86c9a94
move install for cyclus to main file
abachma2 e92199e
auto activate base false
abachma2 f69a311
correct MW to W conversion factor
abachma2 cfeb1d6
ignore cyclus install, run unit tests
abachma2 394fc0c
adjust workflow to match a previously passing setup
abachma2 ea0ab48
add extra step to install pytest
abachma2 b863eff
set auto activate base to false
abachma2 c834203
change conda install to pip rquriements.txt
abachma2 3571e81
change openmc to source install
abachma2 3013783
correct syntax for version specs
abachma2 190fd2e
remove call to requirements.txt
abachma2 1bd84cc
adjust call to run build-openmc.sh
abachma2 9b2a241
correct dir for build-openmc.sh
abachma2 b0019f2
add install of openmc dependencies
abachma2 e17e4ad
add openmc library install, mirror saltproc more
abachma2 3773947
remove install openmc deps
abachma2 ccb4ebb
add step to install sudo
abachma2 a44eaf8
remove docker image, install openmc from mamba
abachma2 49778ab
remove pip install, no openssh found via pip
abachma2 8ac4c79
remove commented out parts, install cycamore and cyclus
abachma2 3d8a146
install python3.10
abachma2 93da2e3
remove default in top section
abachma2 b19fef3
change dep syntax
abachma2 461cdeb
go back to docker image
abachma2 a0cc1ba
comment out check_cmd for running cyclus
abachma2 494e6ef
match environment.yml and requirement.txt
abachma2 dd875af
Merge branch 'main' into depletion
abachma2 357286c
update gnd_name method to gnds_name
abachma2 bcca908
change transmute back to transmuting all assemblies
abachma2 8560bd9
remove print statements
abachma2 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
#!/bin/bash | ||
|
||
# Build cyclus | ||
cd cyclus | ||
conda activate openmcyclus-env | ||
python install.py | ||
cd ../ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
<recipes> | ||
<recipe> | ||
<name>spent_uox</name> | ||
<basis>mass</basis> | ||
<nuclide> | ||
<id>92235</id> | ||
<comp>0.05</comp> | ||
</nuclide> | ||
<nuclide> | ||
<id>92238</id> | ||
<comp>0.95</comp> | ||
</nuclide> | ||
</recipe> | ||
|
||
<recipe> | ||
<name>spent_mox</name> | ||
<basis>mass</basis> | ||
<nuclide> | ||
<id>94239</id> | ||
<comp>0.05</comp> | ||
</nuclide> | ||
<nuclide> | ||
<id>94241</id> | ||
<comp>0.95</comp> | ||
</nuclide> | ||
</recipe> | ||
</recipes> |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
<?xml version='1.0' encoding='utf-8'?> | ||
<geometry> | ||
<cell id="6" material="5" region="-9" universe="2" /> | ||
<cell id="7" material="6" region="-10" universe="2" /> | ||
<cell id="8" material="7" region="-11" universe="2" /> | ||
<cell id="9" material="8" region="9 10 11 -12" universe="2" /> | ||
<cell id="10" material="void" region="12" universe="2" /> | ||
<surface boundary="vacuum" coeffs="-15 0.0 0.0 5" id="9" type="sphere" /> | ||
<surface boundary="vacuum" coeffs="0.0 0.0 0.0 5" id="10" type="sphere" /> | ||
<surface boundary="vacuum" coeffs="15 0.0 0.0 5" id="11" type="sphere" /> | ||
<surface boundary="vacuum" coeffs="0.0 0.0 0.0 50" id="12" type="sphere" /> | ||
</geometry> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
<materials> | ||
<material depletable="true" id="5" name="assembly_1" temperature="900" volume="78.53981633974483"> | ||
<density units="g/cm3" value="19.1" /> | ||
<nuclide wo="0.99289" name="U238" /><nuclide wo="0.00711" name="U235" /></material> | ||
<material depletable="true" id="6" name="assembly_2" temperature="900" volume="78.53981633974483"> | ||
<density units="g/cm3" value="19.1" /> | ||
<nuclide wo="0.99289" name="U238" /><nuclide wo="0.00711" name="U235" /></material> | ||
<material depletable="true" id="7" name="assembly_3" temperature="900" volume="78.53981633974483"> | ||
<density units="g/cm3" value="19.1" /> | ||
<nuclide wo="0.99289" name="U238" /><nuclide wo="0.00711" name="U235" /></material> | ||
<material id="8" name="water" temperature="900" volume="7853.981633974483"> | ||
<density units="g/cm3" value="1" /> | ||
<nuclide ao="0.6667" name="H1" /> | ||
<nuclide ao="0.3333" name="O16" /> | ||
</material> | ||
</materials> |
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
is numpy really not used in this package?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe not. I just always add numpy as a force of habit.