final_energy_system_model #60
|
@ -128,6 +128,6 @@ class TestResultsImport(TestCase):
|
||||||
self.assertIsNotNone(building.lighting_electrical_demand)
|
self.assertIsNotNone(building.lighting_electrical_demand)
|
||||||
self.assertIsNotNone(building.appliances_electrical_demand)
|
self.assertIsNotNone(building.appliances_electrical_demand)
|
||||||
total_demand = sum(building.heating_demand[cte.HOUR])
|
total_demand = sum(building.heating_demand[cte.HOUR])
|
||||||
self.assertAlmostEqual(total_demand, building.heating_demand[cte.YEAR][0], 3)
|
self.assertAlmostEqual(total_demand, building.heating_demand[cte.YEAR][0], 2)
|
||||||
total_demand = sum(building.heating_demand[cte.MONTH])
|
total_demand = sum(building.heating_demand[cte.MONTH])
|
||||||
self.assertEqual(total_demand, building.heating_demand[cte.YEAR][0], 3)
|
self.assertEqual(total_demand, building.heating_demand[cte.YEAR][0], 2)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user