def test_flibe_mat(self): expected_mat = '''\ % Fuel salt: 72%LiF + 16%BeF2 + 12%UF4, U enrichment 0.02 mat fuelsalt -3.35933104 rgb 240 30 30 burn 1 tmp 900.000 3006.09c -0.000003387223 % Li-6 3007.09c -0.079012785357 % Li-7 4009.09c -0.022555205339 % Be-9 9019.09c -0.451707690906 % F-19 92234.09c -0.000078196966 % U-234 92235.09c -0.008823828925 % U-235 92236.09c -0.000040762584 % U-236 92238.09c -0.437778142699 % U-238 ''' s = salts.Salt() self.assertEqual(s.serpent_mat(), expected_mat)
def test_fnak_mat(self): expected_mat = '''\ % Fuel salt: 50.5%NaF + 21.5%KF + 28%UF4, U enrichment 0.02 mat fuelsalt -4.25418148 rgb 240 30 30 burn 1 tmp 900.000 9019.09c -0.287451817982 % F-19 11023.09c -0.095467627104 % Na-23 19039.09c -0.064241463073 % K-39 19040.09c -0.000008266533 % K-40 19041.09c -0.004873891623 % K-41 92234.09c -0.000095917981 % U-234 92235.09c -0.010823487112 % U-235 92236.09c -0.000050000211 % U-236 92238.09c -0.536987528383 % U-238 ''' s = salts.Salt("50.5%NaF + 21.5%KF + 28%UF4") self.assertEqual(s.serpent_mat(), expected_mat)
def test_fnak_rho_900K(self): expected_rho = 4.254181480240144 s = salts.Salt("50.5%NaF + 21.5%KF + 28%UF4") self.assertAlmostEqual(s.densityK(900), expected_rho, my_accuracy)
def test_fnak_rho_700C(self): expected_rho = 4.185200261640766 s = salts.Salt("50.5%NaF + 21.5%KF + 28%UF4") self.assertAlmostEqual(s.densityC(700), expected_rho, my_accuracy)
def test_flibe_rho_900K(self): expected_rho = 3.35933104267251 s = salts.Salt() self.assertAlmostEqual(s.densityK(900), expected_rho, my_accuracy)
def test_flibe_rho_700C(self): expected_rho = 3.3093766477480715 s = salts.Salt() self.assertAlmostEqual(s.densityC(700), expected_rho, my_accuracy)