armi.reactor.blueprints.tests.test_customIsotopics module
Unit test custom isotopics.
- class armi.reactor.blueprints.tests.test_customIsotopics.TestCustomIsotopics(methodName='runTest')[source]
Bases:
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.
- yamlString
meta hide-value:
- test_massFractionsAreApplied()[source]
Ensure that the custom isotopics can be specified via mass fractions.
- test_numberFractions()[source]
Ensure that the custom isotopics can be specified via number fractions.
- class armi.reactor.blueprints.tests.test_customIsotopics.TestCustomIsotopics_ErrorConditions(methodName='runTest')[source]
Bases:
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.
- class armi.reactor.blueprints.tests.test_customIsotopics.TestNuclideFlagsExpansion(methodName='runTest')[source]
Bases:
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.
- yamlString = '\nnuclide flags:\n U238: {burn: false, xs: true}\n U235: {burn: false, xs: true}\n ZR: {burn: false, xs: true}\n AL: {burn: false, xs: true}\n FE: {burn: false, xs: true, expandTo: ["FE54"]}\n C: {burn: false, xs: true}\n NI: {burn: true, xs: true}\n MN: {burn: true, xs: true}\n CR: {burn: true, xs: true}\n V: {burn: true, xs: true}\n SI: {burn: true, xs: true}\n MO: {burn: true, xs: true}\n W: {burn: true, xs: true}\nblocks:\n uzr fuel: &block_0\n fuel:\n shape: Hexagon\n material: UZr\n Tinput: 25.0\n Thot: 600.0\n mult: 1.0\n op: 10.0\n clad:\n shape: Circle\n material: HT9\n Tinput: 25.0\n Thot: 600.0\n id: 0.0\n mult: 1.0\n od: 10.0\nassemblies:\n fuel a:\n specifier: IC\n blocks: [*block_0]\n height: [10]\n axial mesh points: [1]\n xs types: [A]\n '