 
                                                 
                                                 
                                                
                                                
                                                 
                                                 
                                                
                                                 
                                                
                                         
                                                 
                                                \[\sigma(E,\vec{r},\hat{\Omega},T,t,x,i)\]
 
                                         
                                          \[k\]
 
                                          \[i\]
 
                                          \[\beta_i\]
 
                                         
 
 
 
 
 
 
                                                
                                        
# External Reactivity
from reactivity_insertion \
import ImpulseReactivityInsertion as pulse
rho_ext = pulse(timer=ti,
                t_start=1.0*units.seconds,
                t_end=2.0*units.seconds,
                rho_init=0.0*units.delta_k,
                rho_max=0.05*units.delta_k)
                                                 
                                                
                                                   
                                                
                                        
   fuel = th.THComponent(name="fuel",
                         mat=SFRMetal(name="sfrfuel"),
                         vol=vol_fuel,
                         T0=t_fuel,
                         alpha_temp=alpha_f,
                         timer=ti,
                         heatgen=True,
                         power_tot=power_tot)
   cool = th.THComponent(name="cool",
                         mat=Sodium(name="sodiumcoolant"),
                         vol=vol_cool,
                         T0=t_cool,
                         alpha_temp=alpha_c,
                         timer=ti)
   inlet = th.THComponent(name="inlet",
                         mat=Sodium(name="sodiumcoolant"),
                         vol=vol_cool,
                         T0=t_inlet,
                         alpha_temp=0.0*units.pcm/units.K,
                         timer=ti)
                                                
   # The clad convects with the coolant
   fuel.add_convection('cool', h=h_cool, area=a_fuel)
   cool.add_convection('fuel', h=h_cool, area=a_fuel)
   # The coolant flows
   cool.add_mass_trans('inlet', H=h_core, u=v_cool)
   components = [fuel, cool, inlet]
                                                 
                                                
                                                   
                                                
                                        
 
                                                
                                                
                                                 
                                                
                                                
                                                 
                                                
                                        