From b74e0f21b5c9f10e3dec88c4bc1b8bb8d47a89ac Mon Sep 17 00:00:00 2001 From: jgavalda Date: Tue, 18 Jul 2023 09:22:37 -0400 Subject: [PATCH] Final version summercourse with final graphs. Pie chart mistake correction --- results.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/results.py b/results.py index 1161222..4824729 100644 --- a/results.py +++ b/results.py @@ -262,12 +262,14 @@ class Results: columns=[ f'{building.name} electrical consumption for distribution Wh']) - listgraph = [lighting_results.values.sum(),appliances_results.values.sum(), + listgraph = [lighting_results.values.sum(), + appliances_results.values.sum(), heating_consumption_results.values.sum(), cooling_consumption_results.values.sum(), dhw_consumption_results.values.sum(), extra_electrical_consumption.values.sum() ] + print(listgraph) outputs_energy[f'building {building.name}'] = listgraph outputs_energy.index = ['Lighting consumption', 'Appliances consumption', 'Heating consumption', 'Cooling consumption', 'DHW consumption', 'Extra electrical consumption']