diff --git a/main.py b/main.py index 03e712d..eea396e 100644 --- a/main.py +++ b/main.py @@ -173,9 +173,13 @@ for retrofitting_scenario in retrofitting_scenarios: life_cycle_maintenance_costs, life_cycle_operational_incomes] - life_cycle_results.index = ['total_capital_costs_skin','total_capital_costs_systems','end_of_life_costs', - 'total_operational_costs','total_maintenance_costs','operational_incomes'] + life_cycle_results.index = [f'total_capital_costs_skin', + f'total_capital_costs_systems', f'end_of_life_costs', + f'total_operational_costs', f'total_maintenance_costs', + f'operational_incomes'] print(life_cycle_results) -#life_cycle_results.to_excel(Path(__file__).parent/'out_files'/f'Results{building.name}.xlsx', index=True) + +#todo: change if there is more than 1 building +life_cycle_results.to_excel(Path(__file__).parent/'out_files'/f'Results.xlsx', index=True)