Compare commits
2 Commits
305eca2718
...
98a60fa0a1
Author | SHA1 | Date | |
---|---|---|---|
98a60fa0a1 | |||
1a4a72bc1a |
|
@ -29,7 +29,7 @@ class Building:
|
||||||
heating_peak_load,
|
heating_peak_load,
|
||||||
cooling_peak_load,
|
cooling_peak_load,
|
||||||
onsite_electrical_production,
|
onsite_electrical_production,
|
||||||
catalog_energy_systems):
|
catalog_archetype):
|
||||||
self._function = function
|
self._function = function
|
||||||
self._area = area
|
self._area = area
|
||||||
self._volume = volume
|
self._volume = volume
|
||||||
|
@ -46,7 +46,7 @@ class Building:
|
||||||
self._heating_peak_load = heating_peak_load
|
self._heating_peak_load = heating_peak_load
|
||||||
self._cooling_peak_load = cooling_peak_load
|
self._cooling_peak_load = cooling_peak_load
|
||||||
self._onsite_electrical_production = onsite_electrical_production
|
self._onsite_electrical_production = onsite_electrical_production
|
||||||
self._catalog_energy_systems = catalog_energy_systems
|
self._catalog_archetype = catalog_archetype
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def function(self):
|
def function(self):
|
||||||
|
@ -117,9 +117,10 @@ class Building:
|
||||||
@property
|
@property
|
||||||
def energy_systems(self):
|
def energy_systems(self):
|
||||||
_energy_systems = []
|
_energy_systems = []
|
||||||
for value in self._catalog_energy_systems:
|
|
||||||
demands = value[0]
|
for system in self._catalog_archetype.systems:
|
||||||
fuel_type = value[1]
|
demands = system.demand_types
|
||||||
|
fuel_type = system.generation_system.fuel_type
|
||||||
generic_generation_system = GenericGenerationSystem()
|
generic_generation_system = GenericGenerationSystem()
|
||||||
generic_generation_system.fuel_type = fuel_type
|
generic_generation_system.fuel_type = fuel_type
|
||||||
generation_system = GenerationSystem()
|
generation_system = GenerationSystem()
|
||||||
|
|
Loading…
Reference in New Issue
Block a user