started to work on systems
This commit is contained in:
parent
923b1fe267
commit
0528aa0718
|
@ -194,6 +194,24 @@ class NorthAmericaEnergySystemCatalog(Catalog):
|
||||||
storage_components.append(storage_component)
|
storage_components.append(storage_component)
|
||||||
return storage_components
|
return storage_components
|
||||||
|
|
||||||
|
def _load_systems(self):
|
||||||
|
systems = []
|
||||||
|
catalog_systems = self._archetypes['encomp:EnergySystemCatalog']['energysystemconfiguration']
|
||||||
|
for catalog_system in catalog_systems:
|
||||||
|
system_configuration = catalog_system['@configurationName']
|
||||||
|
energy_system = System(None,
|
||||||
|
None,
|
||||||
|
system_configuration,
|
||||||
|
None,
|
||||||
|
None,
|
||||||
|
None,
|
||||||
|
None,
|
||||||
|
None,
|
||||||
|
None,
|
||||||
|
None)
|
||||||
|
systems.append(energy_system)
|
||||||
|
return systems
|
||||||
|
|
||||||
def _load_materials(self):
|
def _load_materials(self):
|
||||||
materials = []
|
materials = []
|
||||||
_materials = self._archetypes['encomp:EnergySystemCatalog']['energycomponent']['materials']
|
_materials = self._archetypes['encomp:EnergySystemCatalog']['energycomponent']['materials']
|
||||||
|
|
|
@ -50,7 +50,7 @@
|
||||||
<demands name="domesticHotWater"/>
|
<demands name="domesticHotWater"/>
|
||||||
</energysystemconfiguration>
|
</energysystemconfiguration>
|
||||||
<energysystemconfiguration configurationName="hpTesBoiler"/>
|
<energysystemconfiguration configurationName="hpTesBoiler"/>
|
||||||
<energysystemconfiguration/>
|
<energysystemconfiguration configurationName="hpTes"/>
|
||||||
<energydemand name="heating"/>
|
<energydemand name="heating"/>
|
||||||
<energydemand name="domesticHotWater"/>
|
<energydemand name="domesticHotWater"/>
|
||||||
<energydemand name="electricity"/>
|
<energydemand name="electricity"/>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user