terrapower / armi

An open-source nuclear reactor analysis automation framework that helps design teams increase efficiency and quality
https://terrapower.github.io/armi/
Apache License 2.0
212 stars 82 forks source link

The `test_axialExpansionChanger.py` tests are too slow #1741

Open john-science opened 1 week ago

john-science commented 1 week ago

The unit tests in test_axialExpansionChanger.py are the slowest in ARMI. For instance, these three tests alone take 30 seconds to run:

Could we reduce the size of the detailed axial expansion test reactor? That is clearly the cause of the slowness:

https://github.com/terrapower/armi/blob/de4eeeec280abf155f19cd709a5f32b9f899fef0/armi/tests/detailedAxialExpansion/refSmallCoreGrid.yaml#L4-L20

Do we really need a full 9-ring reactor to test that assemblies expand thermally, in the axial direction?