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

Block.p.percentBuPeak should replace Block.p.percentBuMax #2010

Open
drewj-tp opened this issue Nov 18, 2024 · 4 comments
Open

Block.p.percentBuPeak should replace Block.p.percentBuMax #2010

drewj-tp opened this issue Nov 18, 2024 · 4 comments
Assignees
Labels
enhancement New feature or request

Comments

@drewj-tp
Copy link
Contributor

Talked with @onufer this morning on my confusion between Block.p.percentBuMax

pb.defParam(
"percentBuMax",
units=units.PERCENT_FIMA,
description="Maximum percentage in a single pin of the initial heavy metal "
"atoms that have been fissioned",
location=ParamLocation.MAX,
)

and Block.p.percentBuPeak

pb.defParam(
"percentBuPeak",
units=units.PERCENT_FIMA,
description="Peak percentage of the initial heavy metal atoms that have been fissioned",
location=ParamLocation.MAX,
categories=["cumulative", "eq cumulative shift"],
)

Looking at their metadata, they feel very similar and redundant. @onufer indicated the "peak" parameter is a bounding burnup that could supersede percentBuMax as the metric for "maximum burnup for something in this block"

If I'm understanding his summary, that seems like a good argument for removing Block.p.percentBuMax.

We should also add the depletion category to the Block.p.percentBuPeak categories so it can be tracked and reported w/ other depletion parameters

@drewj-tp drewj-tp added the enhancement New feature or request label Nov 18, 2024
@drewj-tp drewj-tp self-assigned this Nov 18, 2024
@albeanth
Copy link
Member

This feels like a simple enough of a request that could be completed with #1990

@onufer
Copy link
Member

onufer commented Nov 18, 2024

yes we can remove max burnup if thats desired.

@drewj-tp
Copy link
Contributor Author

yes we can remove max burnup if thats desired.

Okay. It's desired because we have two ways of defining the same concept right now, and that's not helpful for devs, analysts, users, anyone

@drewj-tp
Copy link
Contributor Author

I'm going to fold this into the ongoing assembly rotation work (#1921) because the Block.p.percentBuMax and Block.p.percentBuMaxPinLocation parameters were only used for that feature

_maxBuAssem, maxBuBlock = a.getMaxParam("percentBuMax", returnObj=True)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants