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
Allow depletion by burnup #1410
Comments
Good idea. I agree to add this kind of input parameters for burnup steps.
|
Agree, it would be really nice to support those settings as well. I think ultimately, the This also eases our testing, because we can throw a myriad of inputs at the One thing worth noting, is that some additional changes may be required for decay. Technically, we could simulate a decay step with a zero power step to compute zero particle-induced reaction rates [fission, (n,2n), etc.]. But this would require running a useless transport simulation only to throw the reaction rates away. Maybe modifying Lines 739 to 743 in 50a271b
if the step power is zero? |
I'm planning on implementing support for indicating steps by burnup rather than by time. My proposal is as follows:
@drewejohnson @rockfool @pshriwise Let me know if any of you have objections or can think of a better way of supporting all the different cases. |
Agree. That would be much flexible. Just one idea to add kind of |
No need to reinvent the wheel -- we should just point users to numpy.cumsum and numpy.diff if they need to convert between cumulative / non-cumulative. |
This sounds great; I really like the ability to support multiple units (days and years) 💯 |
Ideally, this could / should mimic the time steps, e.g.
where
burnup
is in MWd/kgHM [kg heavy metal].Looking over the
Integrator
, it would actually be a pretty straight forward inclusion. Given some power (or power density) and mass of initial heavy metal (throughoperator.heavy_metal
) we can back calculate the corresponding step sizes in days.If we want to add a regression test, it would probably benefit us to use the same HDF result file and specify the burnup steps to exactly match the current time steps. But these depletion tests are not super short...
I'm open to suggestions on testing this
The text was updated successfully, but these errors were encountered: