Final version summercourse with final graphs. Pie chart mistake correction
This commit is contained in:
parent
95698d61ed
commit
b74e0f21b5
|
@ -262,12 +262,14 @@ class Results:
|
||||||
columns=[
|
columns=[
|
||||||
f'{building.name} electrical consumption for distribution Wh'])
|
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(),
|
heating_consumption_results.values.sum(),
|
||||||
cooling_consumption_results.values.sum(),
|
cooling_consumption_results.values.sum(),
|
||||||
dhw_consumption_results.values.sum(),
|
dhw_consumption_results.values.sum(),
|
||||||
extra_electrical_consumption.values.sum()
|
extra_electrical_consumption.values.sum()
|
||||||
]
|
]
|
||||||
|
print(listgraph)
|
||||||
outputs_energy[f'building {building.name}'] = listgraph
|
outputs_energy[f'building {building.name}'] = listgraph
|
||||||
outputs_energy.index = ['Lighting consumption', 'Appliances consumption', 'Heating consumption',
|
outputs_energy.index = ['Lighting consumption', 'Appliances consumption', 'Heating consumption',
|
||||||
'Cooling consumption', 'DHW consumption', 'Extra electrical consumption']
|
'Cooling consumption', 'DHW consumption', 'Extra electrical consumption']
|
||||||
|
|
Loading…
Reference in New Issue
Block a user