armi.reactor.converters.pinTypeBlockConverters module

Utilities that perturb specific types of block objects.

This code is relatively design-specific and will only work given certain object designs. At the moment it only works on Block objects.

Notes

These were once Block method and were moved here as part of an ongoing effort to remove design-specific assumptions from the reactor model.

These operations are shared by code that modifies objects in place during runtime and also for inputModifiers that change inputs for parameter sweeping.

armi.reactor.converters.pinTypeBlockConverters.adjustSmearDensity(obj, value, bolBlock=None)[source]

modifies the cold smear density of a fuel pin by adding or removing fuel dimension.

Adjusts fuel dimension while keeping cladding ID constant

sd = fuel_r**2/clad_ir**2 =(fuel_od/2)**2 / (clad_id/2)**2 = fuel_od**2 / clad_id**2 new fuel_od = sqrt(sd*clad_id**2)

useful for optimization cases

Parameters:
  • value (float) – new smear density as a fraction. This fraction must evaluate between 0.0 and 1.0

  • bolBlock (Block, optional) – See completeInitialLoading. Required for ECPT cases

armi.reactor.converters.pinTypeBlockConverters.adjustCladThicknessByOD(obj, value)[source]

Modifies the cladding thickness by adjusting the cladding outer diameter.

armi.reactor.converters.pinTypeBlockConverters.adjustCladThicknessByID(obj, value)[source]

Modifies the cladding thickness by adjusting the cladding inner diameter.

Notes

This WILL adjust the fuel smear density