Fix typos

This commit is contained in:
Koen van Greevenbroek 2024-03-19 08:54:58 +01:00
parent 09d5ce2512
commit 65af55c22b
2 changed files with 2 additions and 2 deletions

View File

@ -145,7 +145,7 @@ def disable_grid_expansion_if_limit_hit(n):
for name, glc in glcs.iterrows(): for name, glc in glcs.iterrows():
total_expansion = ( total_expansion = (
( (
n.lines.query("p_nom_extendable") n.lines.query("s_nom_extendable")
.eval(f"s_nom_min * {cols[limit_type]}") .eval(f"s_nom_min * {cols[limit_type]}")
.sum() .sum()
) )

View File

@ -26,7 +26,7 @@ if __name__ == "__main__":
version = snakemake.params.version version = snakemake.params.version
if "/" in version: if "/" in version:
baseurl = f"https://raw.githubusercontent.com/{version}/outputs" baseurl = f"https://raw.githubusercontent.com/{version}/outputs/"
else: else:
baseurl = f"https://raw.githubusercontent.com/PyPSA/technology-data/{version}/outputs/" baseurl = f"https://raw.githubusercontent.com/PyPSA/technology-data/{version}/outputs/"
filepath = Path(snakemake.output[0]) filepath = Path(snakemake.output[0])