continued working on the importer
This commit is contained in:
parent
087384475f
commit
23a8fbe86d
|
@ -43,9 +43,9 @@
|
|||
</heatPumps>
|
||||
<templateGenerationEquipments generation_id="16" name="template Natural-Gas Boiler" nominalEfficiency="0.90" fuel="natural gas"/>
|
||||
<templateGenerationEquipments generation_id="17" name="template Electric Boiler" nominalEfficiency="0.95" fuel="electricity"/>
|
||||
<templateGenerationEquipments generation_id="18" name="template Air-to-Water Heat Pump" fuel="Electricity" heatSource="Air" nominalCOP="3" supply_medium="water"/>
|
||||
<templateGenerationEquipments generation_id="19" name="template Groundwater-to-Water Heat Pump" fuel="Electricity" heatSource="Ground" nominalCOP="3.5" supply_medium="water"/>
|
||||
<templateGenerationEquipments generation_id="20" name="template Water-to-Water Heat Pump" fuel="Electricity" heatSource="Water" nominalCOP="3.5" supply_medium="water"/>
|
||||
<templateGenerationEquipments generation_id="18" name="template Air-to-Water Heat Pump" fuel="electricity" heatSource="Air" nominalCOP="3" supply_medium="water"/>
|
||||
<templateGenerationEquipments generation_id="19" name="template Groundwater-to-Water Heat Pump" fuel="electricity" heatSource="Ground" nominalCOP="3.5" supply_medium="water"/>
|
||||
<templateGenerationEquipments generation_id="20" name="template Water-to-Water Heat Pump" fuel="electricity" heatSource="Water" nominalCOP="3.5" supply_medium="water"/>
|
||||
<templateGenerationEquipments generation_id="21" name="template Photovoltaic Module" nominalEfficiency="0.2" width="1.0" height="1.0"/>
|
||||
<manufacturers manufacturer_id="1" name="Alpine" country="USA" product="Natural Gas Boiler"/>
|
||||
<manufacturers manufacturer_id="2" name="Alta" country="USA" product="Natural Gas Boiler"/>
|
||||
|
|
|
@ -199,7 +199,7 @@ BOILER = 'Boiler'
|
|||
HEAT_PUMP = 'Heat Pump'
|
||||
BASEBOARD = 'Baseboard'
|
||||
CHILLER = 'Chiller'
|
||||
SENSIBLE = 'Sensible'
|
||||
SENSIBLE = 'sensible'
|
||||
LATENT = 'Latent'
|
||||
LITHIUMION = 'Lithium Ion'
|
||||
NICD = 'NiCd'
|
||||
|
|
|
@ -15,12 +15,7 @@ class NorthAmericaStorageSystemToHubEnergyStorage:
|
|||
"""
|
||||
def __init__(self):
|
||||
self._dictionary = {
|
||||
'Air Source Heat Pump with Natural Gas Boiler and thermal storage': cte.SENSIBLE,
|
||||
'Air Source Heat Pump with Electrical Boiler and thermal storage': cte.SENSIBLE,
|
||||
'Ground Source Heat Pump with Natural Gas Boiler and thermal storage': cte.SENSIBLE,
|
||||
'Ground Source Heat Pump with Electrical Gas Boiler and thermal storage': cte.SENSIBLE,
|
||||
'Water Source Heat Pump with Natural Gas Boiler and thermal storage': cte.SENSIBLE,
|
||||
'Water Source Heat Pump with Electrical Gas Boiler and thermal storage': cte.SENSIBLE,
|
||||
'template Hot Water Storage Tank': cte.SENSIBLE,
|
||||
}
|
||||
|
||||
@property
|
||||
|
|
|
@ -15,13 +15,13 @@ class NorthAmericaSystemToHubEnergyGenerationSystem:
|
|||
"""
|
||||
def __init__(self):
|
||||
self._dictionary = {
|
||||
'Air Source Heat Pump with Natural Gas Boiler and thermal storage': [cte.HEAT_PUMP, cte.BOILER],
|
||||
'Air Source Heat Pump with Electrical Boiler and thermal storage': [cte.HEAT_PUMP, cte.BOILER],
|
||||
'Ground Source Heat Pump with Natural Gas Boiler and thermal storage': [cte.HEAT_PUMP, cte.BOILER],
|
||||
'Ground Source Heat Pump with Electrical Gas Boiler and thermal storage': [cte.HEAT_PUMP, cte.BOILER],
|
||||
'Water Source Heat Pump with Natural Gas Boiler and thermal storage': [cte.HEAT_PUMP, cte.BOILER],
|
||||
'Water Source Heat Pump with Electrical Gas Boiler and thermal storage': [cte.HEAT_PUMP, cte.BOILER],
|
||||
'Photovoltaic system': cte.PHOTOVOLTAIC,
|
||||
'template Natural-Gas Boiler': cte.BOILER,
|
||||
'template Electric Boiler': cte.BOILER,
|
||||
'template Air-to-Water Heat Pump': cte.HEAT_PUMP,
|
||||
'template Groundwater-to-Water Heat Pump': cte.HEAT_PUMP,
|
||||
'template Water-to-Water Heat Pump': cte.HEAT_PUMP,
|
||||
'template Photovoltaic Module': cte.PHOTOVOLTAIC,
|
||||
'e': cte.HEATING,
|
||||
}
|
||||
|
||||
@property
|
||||
|
|
|
@ -118,11 +118,12 @@ class NorthAmericaCustomEnergySystemParameters:
|
|||
energy_system.generation_systems = _generation_systems
|
||||
|
||||
_thermal_storage_system = ThermalStorageSystem()
|
||||
archetype_storage_equipment = system.energy_storage_systems
|
||||
_thermal_storage_system.generic_storage_system.storage_type = Dictionaries().north_america_storage_system_to_hub_storage[archetype_storage_equipment.storage_type]
|
||||
_thermal_storage_system.maximum_operating_temperature = archetype_storage_equipment.maximum_operating_temperature
|
||||
_thermal_storage_system.height = archetype_storage_equipment.height
|
||||
_thermal_storage_system.layers = archetype_storage_equipment.layers
|
||||
archetype_storage_equipments = system.energy_storage_systems
|
||||
for archetype_storage_equipment in archetype_storage_equipments:
|
||||
_type = archetype_storage_equipment.name
|
||||
_thermal_storage_system.maximum_operating_temperature = archetype_storage_equipment.maximum_operating_temperature
|
||||
_thermal_storage_system.height = archetype_storage_equipment.height
|
||||
_thermal_storage_system.layers = archetype_storage_equipment.layers
|
||||
energy_system.energy_storage_system = _thermal_storage_system
|
||||
|
||||
building_systems.append(energy_system)
|
||||
|
|
Loading…
Reference in New Issue
Block a user