Dear OpenMC Users and experts,
I want to use the pythonAPI—get_decay_heat in DepleteResults, as shown in Figure2. It shows that there are no chain_file, what’s the reason? Before depletion calculation, the chain had been there and the calculation were done.
Thank you for your advice !
Hello, I think it asks for the decay file again because these two are distinct processes. One gets you the activated compositions, and from that you have to get the decay heat, which is a function of the decay constant and the decay energy, which is the data in the chain file. Easiest way to mitigate this is to set the openmc.config[‘chain_file’] or set a environment variable OPENMC_CHAIN_FILE
.
Hope this helps!
1 Like
It works! Thanks so much!