Skip to content

Enable residual calculation during irradiation and evaluation#48

Open
LukeSeifert wants to merge 102 commits intoarfc:mainfrom
LukeSeifert:residual-modification
Open

Enable residual calculation during irradiation and evaluation#48
LukeSeifert wants to merge 102 commits intoarfc:mainfrom
LukeSeifert:residual-modification

Conversation

@LukeSeifert
Copy link
Copy Markdown
Collaborator

@LukeSeifert LukeSeifert commented Mar 2, 2026

Summary of changes

This PR enables users to include calculation of the residual during irradiation, which differs from existing methodologies which only allow for calculation of residuals post-irradiation.
This PR also includes a point reactor kinetics solver in the phd_results example, such that comparisons can be made between results calculated using different methodologies to evaluate their impact on simplified reactor transients.
Also in this PR is a small change to the code such that a minimum timestep can be set for OpenMC. This allows the user to use a smaller timestep while maintaining the same in-core and ex-core residence times.
Finally, this PR also includes the debug DNP functionality, such that users may manually define a DNP for testing purposes.

Many of the line changes are due to changes in the integration test files. These changed because I have added the count rate at time 0 for easier debugging and to mitigate bugs in time offsets.

The main components I would like reviewed closely are the actual MoSDeN code changes (changes to the examples and tests are less critical; most of the test changes just cover testing the new functionality and adjustments based on restructured output files)

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • I have read the CONTRIBUTING document.
  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have added tests to cover my changes.
  • All new and existing tests passed.

Associated Issues and PRs

PRs:

#46 must be merged before this PR

Issues:

Associated Developers

  • Dev: @

Checklist for Reviewers

Reviewers should use this link to get to the
Review Checklist before they begin their review.

@LukeSeifert LukeSeifert self-assigned this Mar 2, 2026
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.

1 participant