remove spelling mistakes

This commit is contained in:
lisazeyen 2023-10-05 12:03:06 +02:00
parent be0214be13
commit 1eed747bde
3 changed files with 6 additions and 18 deletions

View File

@ -1,19 +1,7 @@
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
# SPDX-FileCopyrightText: : 2020-2023 The PyPSA-Eur Authors
## Copyright 2015-2017 Frankfurt Institute for Advanced Studies #
# SPDX-License-Identifier: MIT
## This program is free software; you can redistribute it and/or
## modify it under the terms of the GNU General Public License as
## published by the Free Software Foundation; either version 3 of the
## License, or (at your option) any later version.
## This program is distributed in the hope that it will be useful,
## but WITHOUT ANY WARRANTY; without even the implied warranty of
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
## GNU General Public License for more details.
## You should have received a copy of the GNU General Public License
## along with this program. If not, see <http://www.gnu.org/licenses/>.
""" """
""" """

View File

@ -553,7 +553,7 @@ def plot_carbon_budget_distribution(input_eurostat):
markersize=12, markersize=12,
markerfacecolor="black", markerfacecolor="black",
markeredgecolor="black", markeredgecolor="black",
label="EU commited target", label="EU committed target",
) )
for col in co2_cap.columns: for col in co2_cap.columns:

View File

@ -200,7 +200,7 @@ def concat_networks(years):
else: else:
# this is to avoid adding multiple times assets with # this is to avoid adding multiple times assets with
# infinit lifetime as ror # infinite lifetime as ror
cols = pnl_year.columns.difference(pnl[k].columns) cols = pnl_year.columns.difference(pnl[k].columns)
pnl[k] = pd.concat([pnl[k], pnl_year[cols]], axis=1) pnl[k] = pd.concat([pnl[k], pnl_year[cols]], axis=1)
@ -233,7 +233,7 @@ def adjust_stores(n):
Make sure that stores still behave cyclic over one year and not whole Make sure that stores still behave cyclic over one year and not whole
modelling horizon. modelling horizon.
""" """
# cylclic constraint # cyclic constraint
cyclic_i = n.stores[n.stores.e_cyclic].index cyclic_i = n.stores[n.stores.e_cyclic].index
n.stores.loc[cyclic_i, "e_cyclic_per_period"] = True n.stores.loc[cyclic_i, "e_cyclic_per_period"] = True
n.stores.loc[cyclic_i, "e_cyclic"] = False n.stores.loc[cyclic_i, "e_cyclic"] = False