Add year of construction and function to meb and retofit, results
Add total heating area to meb results
This commit is contained in:
parent
d7634a0d45
commit
3be3121922
|
@ -34,6 +34,8 @@ class RetrofitResults(Resource, Config):
|
||||||
global_capital_incomes = life_cycle[f'Scenario {scenario_id}']['global_capital_incomes']
|
global_capital_incomes = life_cycle[f'Scenario {scenario_id}']['global_capital_incomes']
|
||||||
global_maintenance_costs = life_cycle[f'Scenario {scenario_id}']['global_maintenance_costs']
|
global_maintenance_costs = life_cycle[f'Scenario {scenario_id}']['global_maintenance_costs']
|
||||||
building_results['total_heating_area'] = building_info.total_heating_area
|
building_results['total_heating_area'] = building_info.total_heating_area
|
||||||
|
building_results['year_of_construction'] = building_info.year_of_construction
|
||||||
|
building_results['function'] = building_info.function
|
||||||
building_results['costs'] = {
|
building_results['costs'] = {
|
||||||
'total_capital_costs_skin': life_cycle[f'Scenario {scenario_id}']['total_capital_costs_skin'],
|
'total_capital_costs_skin': life_cycle[f'Scenario {scenario_id}']['total_capital_costs_skin'],
|
||||||
'total_capital_costs_systems': life_cycle[f'Scenario {scenario_id}']['total_capital_costs_systems'],
|
'total_capital_costs_systems': life_cycle[f'Scenario {scenario_id}']['total_capital_costs_systems'],
|
||||||
|
|
|
@ -111,6 +111,9 @@ class InselMonthlyEnergyBalance(Resource, Config):
|
||||||
results = {}
|
results = {}
|
||||||
for building in self._city.buildings:
|
for building in self._city.buildings:
|
||||||
results[building.name] = {
|
results[building.name] = {
|
||||||
|
'total_heating_area': building.floor_area * building.storeys_above_ground,
|
||||||
|
'year_of_construction': building.year_of_construction,
|
||||||
|
'function': building.function,
|
||||||
'monthly_heating_demand': building.heating_demand[cte.MONTH],
|
'monthly_heating_demand': building.heating_demand[cte.MONTH],
|
||||||
'yearly_heating_demand': building.heating_demand[cte.YEAR],
|
'yearly_heating_demand': building.heating_demand[cte.YEAR],
|
||||||
'monthly_cooling_demand': building.cooling_demand[cte.MONTH],
|
'monthly_cooling_demand': building.cooling_demand[cte.MONTH],
|
||||||
|
|
Loading…
Reference in New Issue
Block a user