Excel suppressed. To be defined with Pilar
This commit is contained in:
parent
b49fbcf4f4
commit
3b44f6563e
9
main.py
9
main.py
|
@ -27,9 +27,9 @@ from energy_systems_sizing import EnergySystemsSizing
|
|||
|
||||
from life_cycle_costs import LifeCycleCosts
|
||||
|
||||
def _npv_from_list(discount_rate, list_cashflow):
|
||||
lcc_value = np.npv(discount_rate,list_cashflow)
|
||||
raise KeyError('bad inputs')
|
||||
def _npv_from_list(npv_discount_rate, list_cashflow):
|
||||
lcc_value = np.npv(npv_discount_rate, list_cashflow)
|
||||
return lcc_value
|
||||
|
||||
def _search_archetype(costs_catalog, building_function):
|
||||
costs_archetypes = costs_catalog.entries('archetypes').archetypes
|
||||
|
@ -176,5 +176,6 @@ for retrofitting_scenario in retrofitting_scenarios:
|
|||
'total_operational_costs','total_maintenance_costs','life_cycle_costs',
|
||||
'maintenance_costs']
|
||||
|
||||
life_cycle_results.to_excel(Path(__file__).parent/'out_files'/f'Results{building.name}.xlsx', index=True)
|
||||
|
||||
#life_cycle_results.to_excel(Path(__file__).parent/'out_files'/f'Results{building.name}.xlsx', index=True)
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user