correct the unit tests
This commit is contained in:
parent
11d493ba0e
commit
bf23730281
|
@ -83,7 +83,7 @@ class MontrealCustomEnergySystemParameters:
|
||||||
def _create_generation_systems(archetype_system):
|
def _create_generation_systems(archetype_system):
|
||||||
_generation_systems = []
|
_generation_systems = []
|
||||||
for archetype_generation_system in archetype_system.generation_systems:
|
for archetype_generation_system in archetype_system.generation_systems:
|
||||||
if archetype_generation_system.system_type == 'PV system':
|
if archetype_generation_system.system_type == 'Photovoltaic':
|
||||||
_generation_system = PvGenerationSystem()
|
_generation_system = PvGenerationSystem()
|
||||||
_type = 'PV system'
|
_type = 'PV system'
|
||||||
_generation_system.system_type = Dictionaries().montreal_generation_system_to_hub_energy_generation_system[_type]
|
_generation_system.system_type = Dictionaries().montreal_generation_system_to_hub_energy_generation_system[_type]
|
||||||
|
|
Loading…
Reference in New Issue
Block a user