forked from s_ranjbar/city_retrofit
solved 2 todos
This commit is contained in:
parent
76ab65ea0f
commit
5a99f16bc9
|
@ -42,6 +42,7 @@ class Surface:
|
||||||
self._associated_thermal_boundaries = []
|
self._associated_thermal_boundaries = []
|
||||||
self._vegetation = None
|
self._vegetation = None
|
||||||
self._percentage_shared = None
|
self._percentage_shared = None
|
||||||
|
self._pv_coverage = None
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def name(self):
|
def name(self):
|
||||||
|
|
|
@ -45,9 +45,10 @@ class MontrealCustomEnergySystemParameters:
|
||||||
energy_system.demand_types = equipment.demand_types
|
energy_system.demand_types = equipment.demand_types
|
||||||
_generation_system = GenericGenerationSystem()
|
_generation_system = GenericGenerationSystem()
|
||||||
archetype_generation_equipment = equipment.generation_system
|
archetype_generation_equipment = equipment.generation_system
|
||||||
# todo: calculate powers
|
# dhw peak does not add anything to the total heat peak
|
||||||
_generation_system.heat_power = 0
|
_generation_system.heat_power = building.heating_peak_load
|
||||||
_generation_system.cooling_power = 0
|
_generation_system.cooling_power = building.cooling_peak_load
|
||||||
|
# the only system that generates electricity in the montreal custom catalog is PV systems
|
||||||
_generation_system.electricity_power = 0
|
_generation_system.electricity_power = 0
|
||||||
_generation_system.fuel_type = archetype_generation_equipment.fuel_type
|
_generation_system.fuel_type = archetype_generation_equipment.fuel_type
|
||||||
_generation_system.source_types = archetype_generation_equipment.source_types
|
_generation_system.source_types = archetype_generation_equipment.source_types
|
||||||
|
|
Loading…
Reference in New Issue
Block a user