udpate cost data and fix caused bug

This commit is contained in:
Philipp Glaum 2022-09-06 10:37:03 +02:00
parent 548e955449
commit f7939d67d9
2 changed files with 1062 additions and 196 deletions

File diff suppressed because it is too large Load Diff

View File

@ -168,7 +168,7 @@ def load_costs(tech_costs, config, elec_config, Nyears=1.):
costs_for_storage(costs.loc["battery storage"], costs.loc["battery inverter"],
max_hours=max_hours['battery'])
costs.loc["H2"] = \
costs_for_storage(costs.loc["hydrogen storage"], costs.loc["fuel cell"],
costs_for_storage(costs.loc["hydrogen storage tank"], costs.loc["fuel cell"],
costs.loc["electrolysis"], max_hours=max_hours['H2'])
for attr in ('marginal_cost', 'capital_cost'):