Heating tally returns two results

Hi all, I’m trying to tally heating on the first wall of rudimentary blanket setup. For some reason when I print the tally it returns an array with two results, where I’d just expect a single value (MeV/source particle) for heating on the first wall. I can’t see why - there’s nothing in my code that I can see which would make it print two different results. I’d appreciate any help. Thanks.

onion_heating.py (7.5 KB)

Sorry if this is wrong but I wonder if you print the tally.mean instead of the tally you might get a single value

perhaps change

print(heating_tally)

to

print(heating_tally.mean)

Thanks for your reply - I did that and this occured:

So I’m still getting multiple results in the second part, but printing the mean does result in one value. I’m still kind of baffled as to why this is happening, though.

Ok it looks like the otuc.process_tally call is returning the tally value and the tally standard deviation

Try

Tally, stddev = otuc.process_tally(

ah that makes sense, thank you