How can i export my modified materials to a new materials.xml
file while dealing with depletion? I want to calculate MTC.
Hi @Tanvir21
import openmc.deplete as dep
r = dep.ResultsList.from_hdf5('depletion_results.h5')
exp = r.export_to_materials(1) # Index of burnup step to evaluate.
exp.export_to_xml()
You will find detailed docs here
Hope this will help
Best
pranto
@Pranto sir, i want to calculate MTC. How can i do it ? Can you give me a sample code that can help me?
@Pranto i will be grateful to you.
Hi @Tanvir21
Increment moderator temperature let’s say from 565K to 570K. You’ll get k_eff for each temperature after transport run,
- k1(565) =?
- k2(570) =?
Now calculate MTC
MTC = delta_rho/delta_T,
where delta_rho = (k2-k1)/k1*k2 & delta_T = (T2-T1)
Best
pranto
@Pranto i have followed this procedure, i haven’t got a graph that is compatible with the benchmark.
Sir, can i get your email address? I would like to send my scheme code to you.
in my procedure,
First i have computed Keff for 18 different steps ( 30 days) keeping moderator temperature at 574k.
Then i have changed moderator temperature to 594k and computed Keff for 18 more steps. Then i have followed your given equation to calculate MTC.
But, unfortunate for me, i haven’t got right figure.
Am i following any faulty steps ? Plz help me to sort my fault out.
Thanks @Pranto , plz give me your email address. I will be grateful to you.