[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
This commit is contained in:
parent
0375359c82
commit
cb94e5974e
@ -509,7 +509,7 @@ def attach_hydro(n, costs, ppl, profile_hydro, hydro_capacities, carriers, **con
|
|||||||
hydro_stats["E_store[TWh]"] * 1e3 / hydro_stats["p_nom_discharge[GW]"]
|
hydro_stats["E_store[TWh]"] * 1e3 / hydro_stats["p_nom_discharge[GW]"]
|
||||||
)
|
)
|
||||||
|
|
||||||
max_hours_country.clip(0, inplace = True)
|
max_hours_country.clip(0, inplace=True)
|
||||||
|
|
||||||
missing_countries = pd.Index(hydro["country"].unique()).difference(
|
missing_countries = pd.Index(hydro["country"].unique()).difference(
|
||||||
max_hours_country.dropna().index
|
max_hours_country.dropna().index
|
||||||
|
Loading…
Reference in New Issue
Block a user