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

Enabling axial expansion with detailed depletion #1954

Merged
merged 34 commits into from
Nov 6, 2024
Merged

Enabling axial expansion with detailed depletion #1954

merged 34 commits into from
Nov 6, 2024

Conversation

HunterPSmith
Copy link
Contributor

@HunterPSmith HunterPSmith commented Oct 15, 2024

What is the change?

Detailed depletion calculations currently do not allow for axial expansion as the untruncated isotope vector is saved at the block level. Since axial expansion needs the fuel component isotopic composition, some changes are made in the framework to support calculating and storing detailed depletion and the isotope vector at the component level.

  • Add component level parameters detailedNDens, powerDecay, and pdensDecay
  • Add functionality and testing to update component detailedNDens to changeNDensByFactor

Why is the change being made?

To support downstream depletion upgrades.


Checklist

  • The release notes have been updated if necessary.
  • The documentation is still up-to-date in the doc folder.
  • The dependencies are still up-to-date in pyproject.toml.

@HunterPSmith HunterPSmith changed the title [CDSD 530] Enabling axial expansion with detailed depletion Enabling axial expansion with detailed depletion Oct 16, 2024
@onufer onufer requested a review from albeanth October 17, 2024 17:24
@onufer
Copy link
Member

onufer commented Oct 17, 2024

this looks good to me, but i think we need @albeanth to confirm that he thinks it will hit all his axial expansion corner cases

@john-science john-science added the feature request Smaller user request label Oct 24, 2024
@john-science
Copy link
Member

bump

import collections
import os
import unittest
import copy
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We could alphabetize these imports.

Co-authored-by: John Stilley <[email protected]>
Copy link
Member

@john-science john-science left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved, though I wouldn't mind if some of my little comments were addressed.

Generally, it looks good!

@opotowsky opotowsky merged commit 1bb50ee into main Nov 6, 2024
21 checks passed
@opotowsky opotowsky deleted the CDSD-530 branch November 6, 2024 00:56
drewj-tp added a commit that referenced this pull request Nov 7, 2024
…u-rotate-with-pin-dep

* zprince/component_flux_up:
  fix linting
  release notes
  Enabling axial expansion with detailed depletion (#1954)
  Improving error testing (#2004)
  Addressing reviewer comments for component pin mg fluxes
  Removing mystery coverage line from tests (#2003)
  beef up assertions
  resolve fixme
  org imports
  No need to recast strings to strings
  Finishing up the numProcessors -> nTasks conversion (#2002)
  Using one-block reactor for component flux test
  Supporting Python 3.13 (#1996)
  Removing SmartList & adding coverage (#1992)
  Update `copyOrWarn` and `getFileSHA1Hash` to account for directories (#1984)
  Removing broken plot (#1994)
  Adding unit tests for `CylindricalComponentsDuctHetAverageBlockCollection` (#1991)
  Allowing creation of partially heterogeneous assemblies for 1D XS model (#1949)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request Smaller user request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants