Skip to content

Option to pass fission q values to Chain, Operator, Model#1273

Merged
paulromano merged 2 commits intoopenmc-dev:developfrom
drewejohnson:feat-op-qvalues
Jun 29, 2019
Merged

Option to pass fission q values to Chain, Operator, Model#1273
paulromano merged 2 commits intoopenmc-dev:developfrom
drewejohnson:feat-op-qvalues

Conversation

@drewejohnson
Copy link
Copy Markdown
Contributor

A dictionary of constant fission q values [eV] can be passed into the initialization of deplete.Chain, deplete.Operator, and model.Model objects. This can be used for direct comparisons with other codes with readily available constant Q-values.

Tests have been added on the Chain and Operator side. The additional fiss_q_values passed into Model is forwarded directly on to the Operator call.

A dictionary of constant fission q values [eV] can be passed
into the initialization of deplete.Chain, deplete.Operator,
and model.Model objects. This can be used for direct
comparisons with other codes with readily available
constant Q-values.

Tests have been added on the Chain and Operator side.
The additional fiss_q_values passed into Model is forwarded
directly on to the Operator call.
Copy link
Copy Markdown
Contributor

@paulromano paulromano left a comment

Choose a reason for hiding this comment

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

Nice and simple; thanks! On the naming of the optional argument, I guess I would prefer the slightly more verbose "fission_q_values" or "fission_q" (your pick).

Comment thread openmc/deplete/abc.py Outdated
Comment thread openmc/deplete/chain.py Outdated
@paulromano
Copy link
Copy Markdown
Contributor

@drewejohnson looks like you missed naming changes in operator.py and nuclide.py

@drewejohnson
Copy link
Copy Markdown
Contributor Author

::facepalm:: sure enough. Thanks for catching that

@paulromano paulromano merged commit 3952f5b into openmc-dev:develop Jun 29, 2019
@drewejohnson drewejohnson deleted the feat-op-qvalues branch June 29, 2019 16:27
apingegno pushed a commit to apingegno/openmc that referenced this pull request May 7, 2026
Option to pass fission q values to Chain, Operator, Model
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants