Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

stop using {sector_opts} wildcard by default #1058

Merged
merged 5 commits into from
May 13, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed May 13, 2024
commit 85a2e97f1ed542cd855ec01e4e70ef63a7f73fbb
4 changes: 3 additions & 1 deletion scripts/add_existing_baseyear.py
Original file line number Diff line number Diff line change
Expand Up @@ -285,7 +285,9 @@ def add_power_capacities_installed_before_baseyear(n, grouping_years, costs, bas
i for i in inv_ind if (i + name_suffix_by) in n.generators.index
]

p_max_pu = n.generators_t.p_max_pu[[i + name_suffix_by for i in inv_ind]]
p_max_pu = n.generators_t.p_max_pu[
[i + name_suffix_by for i in inv_ind]
]
p_max_pu.columns = [i + name_suffix for i in inv_ind]

n.madd(
Expand Down
Loading