64 correct_current = 1e-9 * self.
S * self.
solver.js * (
exp(self.
solver.beta) - 1)
65 self.assertAlmostEqual(self.
solver.get_total_current(), correct_current, 3)
68 heat = correct_current * 1.
78 correct_current = 1e-9 * self.
S * self.
solver.js * (21000 - 1)
79 self.assertAlmostEqual(self.
solver.get_total_current(), correct_current, 3)
80 self.
solver.inTemperature = 250
82 correct_current = 1e-9 * self.
S * self.
solver.js * (17500 - 1)
83 self.assertAlmostEqual(self.
solver.get_total_current(), correct_current, 3)