fix: finalizing the catalogs and importers
This commit is contained in:
parent
6d2bb98470
commit
df01d14514
|
@ -136,14 +136,14 @@ class MontrealCustomEnergySystemParameters:
|
||||||
_distribution_system.distribution_consumption_variable_flow = \
|
_distribution_system.distribution_consumption_variable_flow = \
|
||||||
archetype_distribution_system.distribution_consumption_variable_flow
|
archetype_distribution_system.distribution_consumption_variable_flow
|
||||||
_distribution_system.heat_losses = archetype_distribution_system.heat_losses
|
_distribution_system.heat_losses = archetype_distribution_system.heat_losses
|
||||||
_emission_system = None
|
_generic_emission_system = None
|
||||||
if archetype_distribution_system.emission_systems is not None:
|
if archetype_distribution_system.emission_systems is not None:
|
||||||
_emission_systems = []
|
_emission_systems = []
|
||||||
for emission_system in archetype_distribution_system.emission_systems:
|
for emission_system in archetype_distribution_system.emission_systems:
|
||||||
_emission_system = EmissionSystem()
|
_generic_emission_system = EmissionSystem()
|
||||||
_emission_system.parasitic_energy_consumption = emission_system.parasitic_energy_consumption
|
_generic_emission_system.parasitic_energy_consumption = emission_system.parasitic_energy_consumption
|
||||||
_emission_systems.append(_emission_system)
|
_emission_systems.append(_generic_emission_system)
|
||||||
_distribution_system.emission_systems = _emission_systems
|
_distribution_system.emission_systems = _emission_systems
|
||||||
_distribution_systems.append(_distribution_system)
|
_distribution_systems.append(_distribution_system)
|
||||||
return _distribution_systems
|
return _distribution_systems
|
||||||
|
|
||||||
|
|
|
@ -185,14 +185,14 @@ class MontrealFutureEnergySystemParameters:
|
||||||
_distribution_system.distribution_consumption_variable_flow = \
|
_distribution_system.distribution_consumption_variable_flow = \
|
||||||
archetype_distribution_system.distribution_consumption_variable_flow
|
archetype_distribution_system.distribution_consumption_variable_flow
|
||||||
_distribution_system.heat_losses = archetype_distribution_system.heat_losses
|
_distribution_system.heat_losses = archetype_distribution_system.heat_losses
|
||||||
_emission_system = None
|
_generic_emission_system = None
|
||||||
if archetype_distribution_system.emission_systems is not None:
|
if archetype_distribution_system.emission_systems is not None:
|
||||||
_emission_systems = []
|
_emission_systems = []
|
||||||
for emission_system in archetype_distribution_system.emission_systems:
|
for emission_system in archetype_distribution_system.emission_systems:
|
||||||
_emission_system = EmissionSystem()
|
_generic_emission_system = EmissionSystem()
|
||||||
_emission_system.parasitic_energy_consumption = emission_system.parasitic_energy_consumption
|
_generic_emission_system.parasitic_energy_consumption = emission_system.parasitic_energy_consumption
|
||||||
_emission_systems.append(_emission_system)
|
_emission_systems.append(_generic_emission_system)
|
||||||
_distribution_system.emission_systems = _emission_systems
|
_distribution_system.emission_systems = _emission_systems
|
||||||
_distribution_systems.append(_distribution_system)
|
_distribution_systems.append(_distribution_system)
|
||||||
return _distribution_systems
|
return _distribution_systems
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user