Skip to content

Commit

Permalink
Merge pull request #162 from PyPSA/add-lifetime-to-solar-rooftop
Browse files Browse the repository at this point in the history
Add lifetime to solar-rooftop
  • Loading branch information
fneum authored Sep 8, 2021
2 parents 5b9f643 + 203a7f3 commit fc378b8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion scripts/prepare_sector_network.py
Original file line number Diff line number Diff line change
Expand Up @@ -770,7 +770,8 @@ def insert_electricity_distribution_grid(n, costs):
marginal_cost=n.generators.loc[solar, 'marginal_cost'],
capital_cost=costs.at['solar-rooftop', 'fixed'],
efficiency=n.generators.loc[solar, 'efficiency'],
p_max_pu=n.generators_t.p_max_pu[solar]
p_max_pu=n.generators_t.p_max_pu[solar],
lifetime=costs.at['solar-rooftop', 'lifetime']
)

n.add("Carrier", "home battery")
Expand Down

0 comments on commit fc378b8

Please sign in to comment.