Skip to content

Commit

Permalink
rename functions in gas clustering strategies
Browse files Browse the repository at this point in the history
  • Loading branch information
CarlosEpia committed Oct 12, 2024
1 parent 26cbf1f commit 1f66b0e
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions etrago/cluster/gas.py
Original file line number Diff line number Diff line change
Expand Up @@ -417,20 +417,20 @@ def gas_postprocessing(etrago, busmap, medoid_idx=None):
},
one_port_strategies={
"Generator": {
"marginal_cost": np.mean,
"capital_cost": np.mean,
"p_nom_max": np.sum,
"p_nom_min": np.sum,
"e_nom_max": np.sum,
"marginal_cost": "mean",
"capital_cost": "mean",
"p_nom_max": "sum",
"p_nom_min": "sum",
"e_nom_max": "sum",
},
"Store": {
"marginal_cost": np.mean,
"capital_cost": np.mean,
"e_nom": np.sum,
"marginal_cost": "mean",
"capital_cost": "mean",
"e_nom": "sum",
"e_nom_max": sum_with_inf,
},
"Load": {
"p_set": np.sum,
"p_set": "sum",
},
},
)
Expand Down

0 comments on commit 1f66b0e

Please sign in to comment.