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

Change depletion time step sizes #22

Merged
merged 3 commits into from
Jul 18, 2024
Merged

Change depletion time step sizes #22

merged 3 commits into from
Jul 18, 2024

Conversation

abachma2
Copy link
Collaborator

@abachma2 abachma2 commented Jun 6, 2024

This PR changes the depletion time step size for OpenMC from assuming each time step is 30 days to using the dt parameter in Cyclus to define the time step size.

Depletion time steps are now in seconds, based on
the optional, user-defined dt parameter for Cyclus
@abachma2 abachma2 marked this pull request as ready for review July 17, 2024 19:23
Copy link
Member

@nsryan2 nsryan2 left a comment

Choose a reason for hiding this comment

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

LGTM! Is there an associated test that should be updated?

@abachma2
Copy link
Collaborator Author

Not at the moment. That would fall under the integration tests, which aren't working because of the seg fault (see #12).

@nsryan2
Copy link
Member

nsryan2 commented Jul 18, 2024

Gottcha, I'm happy to merge. I'll make a note in that issue so it doesn't get lost.

@nsryan2
Copy link
Member

nsryan2 commented Jul 18, 2024

@abachma2
Copy link
Collaborator Author

No. That function is to run the depletion solver just for the unit tests. It's not connected to the method in Cyclus to call the depletion solver. I can't update the test function to match with the Cyclus method because the dt parameter is only available in-situ of a Cyclus run.

@nsryan2
Copy link
Member

nsryan2 commented Jul 18, 2024

Ok, merging!

@nsryan2 nsryan2 merged commit 3d65ee4 into arfc:main Jul 18, 2024
3 checks passed
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