Error in assembly depletion calculation

When I try to run assembly depletion calculation, the simulation stops after 1st statepoint geneation. I am attaching my python script below. Any help would be really helpful.
Thanks

pwr-17.py (9.56 KB)

Screenshot from 2020-02-20 12-34-54.png

U should assign which material should be depleted. in your python script… add

fuel.depletable = True

Best regards
Pranto

I did what you told. But same error resulted. Any idea how to fix it?

Hi Farshid,

The main error that you see, about no energy being reported, happens when the depletion routine obtains zero energy production from tallies. This seems a bit strange, because much of your model looks good. From a first glance at least.

For some reason, your simulation only performs one active batch and complains about not being able to compute the uncertainties. Looking at some of the other outputs, your k-eff values are reported as nan (not a number) as well. I also see you are using triggers, which I haven’t personally used before. Can you run the simulation with out these triggers and report back?

Regards,

Andrew

Hi Andrew,

I don’t know if actually Farshid replied back to your inquiry; I actually also got the same problem than him while trying to deplete in an assembly. Nevertheless, I did what you suggested to Farshid and actually it worked. So by getting rid of the tally triggers under settings, it actually worked. Thanks.

Hi Augusto,

There’s a small problem in Farshid’s input file. [ Tally trigger for which score? ] Add the following line

trigger = openmc.Trigger(trigger_type=‘std_dev’, threshold=5e-5)
trigger.scores = [‘flux’, ‘fission’]
Hope it helps