Skip to content

Commit

Permalink
storage OAR fix
Browse files Browse the repository at this point in the history
  • Loading branch information
maartenbrinkerink committed Dec 11, 2024
1 parent 309e2d9 commit cdd6bfd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion workflow/scripts/osemosys_global/storage/activity.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ def activity_storage(storage_set, df_iar_base, df_oar_base, storage_param,

for each_tech in storage_param.keys():
df_storage_oar.loc[df_storage_oar['TECHNOLOGY'].str.contains(each_tech),
'VALUE'] = round(1 / (efficiency_dict[each_tech] / 100), 3)
'VALUE'] = round(efficiency_dict[each_tech] / 100, 3)

df_storage_oar["TECHNOLOGY"] = "PWR" + df_storage_oar["TECHNOLOGY"]
df_storage_oar["FUEL"] = "ELC" + df_storage_oar["TECHNOLOGY"].str[6:13]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ def set_user_defined_capacity_sto(tech_capacity_sto,

for idx, tech_params in tech_capacity_sto.items():
df_oar.loc[df_oar['TECHNOLOGY'] == tech_params[0],
'VALUE'] = round(1 / (efficiency_dict[idx] / 100), 3)
'VALUE'] = round(efficiency_dict[idx] / 100, 3)

# Update CapitalCostStorage with user-defined capex costs by storage technology
df_cap_cost_sto = cap_cost_sto_base.copy()
Expand Down

0 comments on commit cdd6bfd

Please sign in to comment.