Skip to content

Commit

Permalink
Removed deleting of empty technologies
Browse files Browse the repository at this point in the history
  • Loading branch information
Sven Eggimann committed Feb 28, 2019
1 parent 4805acb commit 173644a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion energy_demand/assumptions/strategy_vars_def.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ def generate_default_parameter_narratives(
crit_single_dim = narrative_related.crit_dim_var(var_entries)

if crit_single_dim:

scenario_value = var_entries['default_value']

# Create default narrative with only one timestep from simulation base year to simulation end year
Expand Down
4 changes: 2 additions & 2 deletions energy_demand/enduse_func.py
Original file line number Diff line number Diff line change
Expand Up @@ -292,9 +292,9 @@ def __init__(
mode_constrained)

# Delete all technologies with no fuel assigned
for tech, fuel_tech in fuel_tech_y.items():
'''for tech, fuel_tech in fuel_tech_y.items():
if np.sum(fuel_tech) == 0:
self.enduse_techs.remove(tech)
self.enduse_techs.remove(tech)'''

# ------------------------------------------
# Assign load profiles
Expand Down

0 comments on commit 173644a

Please sign in to comment.