armi.reactor.blueprints.tests.test_materialModifications module

class armi.reactor.blueprints.tests.test_materialModifications.TestMaterialModifications(methodName='runTest')[source]

Bases: unittest.case.TestCase

Create an instance of the class that will use the named test method when executed. Raises a ValueError if the instance does not have a method with the specified name.

uZrInput = '\nnuclide flags:\n    U: {burn: false, xs: true}\n    ZR: {burn: false, xs: true}\nblocks:\n    fuel: &block_fuel\n        fuel1: &component_fuel_fuel1\n            shape: Hexagon\n            material: UZr\n            Tinput: 600.0\n            Thot: 600.0\n            ip: 0.0\n            mult: 1\n            op: 10.0\n        fuel2: &component_fuel_fuel2\n            shape: Hexagon\n            material: UZr\n            Tinput: 600.0\n            Thot: 600.0\n            ip: 0.0\n            mult: 1\n            op: 10.0\nassemblies:\n    fuel a: &assembly_a\n        specifier: IC\n        blocks: [*block_fuel]\n        height: [1.0]\n        axial mesh points: [1]\n        xs types: [A]\n'
boronInput = '\nnuclide flags:\n    U: {burn: false, xs: true}\n    ZR: {burn: false, xs: true}\nblocks:\n    fuel: &block_fuel\n        fuel1: &component_fuel_fuel1\n            shape: Hexagon\n            material: B\n            Tinput: 600.0\n            Thot: 600.0\n            ip: 0.0\n            mult: 1\n            op: 10.0\n        fuel2: &component_fuel_fuel2\n            shape: Hexagon\n            material: B\n            Tinput: 600.0\n            Thot: 600.0\n            ip: 0.0\n            mult: 1\n            op: 10.0\nassemblies:\n    fuel a: &assembly_a\n        specifier: IC\n        blocks: [*block_fuel]\n        height: [1.0]\n        axial mesh points: [1]\n        xs types: [A]\n'
loadUZrAssembly(materialModifications)[source]
test_noMaterialModifications()[source]
test_u235_wt_frac_modification()[source]
test_u235_wt_frac_byComponent_modification1()[source]
test_u235_wt_frac_byComponent_modification2()[source]
test_invalid_component_modification()[source]
test_zr_wt_frac_modification()[source]
test_both_u235_zr_wt_frac_modification()[source]
test_checkByComponentMaterialInput()[source]
test_filterMaterialInput()[source]