pre-commit: update docformatter version
This commit is contained in:
parent
2baacfaebf
commit
5c8e0080c8
@ -39,7 +39,7 @@ repos:
|
|||||||
|
|
||||||
# Make docstrings PEP 257 compliant
|
# Make docstrings PEP 257 compliant
|
||||||
- repo: https://github.com/PyCQA/docformatter
|
- repo: https://github.com/PyCQA/docformatter
|
||||||
rev: v1.6.0
|
rev: v1.6.1-rc1
|
||||||
hooks:
|
hooks:
|
||||||
- id: docformatter
|
- id: docformatter
|
||||||
args: ["--in-place", "--make-summary-multi-line", "--pre-summary-newline"]
|
args: ["--in-place", "--make-summary-multi-line", "--pre-summary-newline"]
|
||||||
|
@ -2,7 +2,6 @@
|
|||||||
# SPDX-FileCopyrightText: : 2020-2023 The PyPSA-Eur Authors
|
# SPDX-FileCopyrightText: : 2020-2023 The PyPSA-Eur Authors
|
||||||
#
|
#
|
||||||
# SPDX-License-Identifier: MIT
|
# SPDX-License-Identifier: MIT
|
||||||
|
|
||||||
"""
|
"""
|
||||||
Prepares brownfield data from previous planning horizon.
|
Prepares brownfield data from previous planning horizon.
|
||||||
"""
|
"""
|
||||||
|
@ -2,7 +2,6 @@
|
|||||||
# SPDX-FileCopyrightText: : 2020-2023 The PyPSA-Eur Authors
|
# SPDX-FileCopyrightText: : 2020-2023 The PyPSA-Eur Authors
|
||||||
#
|
#
|
||||||
# SPDX-License-Identifier: MIT
|
# SPDX-License-Identifier: MIT
|
||||||
|
|
||||||
"""
|
"""
|
||||||
Adds existing power and heat generation capacities for initial planning
|
Adds existing power and heat generation capacities for initial planning
|
||||||
horizon.
|
horizon.
|
||||||
|
@ -2,7 +2,6 @@
|
|||||||
# SPDX-FileCopyrightText: : 2020-2023 The PyPSA-Eur Authors
|
# SPDX-FileCopyrightText: : 2020-2023 The PyPSA-Eur Authors
|
||||||
#
|
#
|
||||||
# SPDX-License-Identifier: MIT
|
# SPDX-License-Identifier: MIT
|
||||||
|
|
||||||
"""
|
"""
|
||||||
Reads biomass transport costs for different countries of the JRC report.
|
Reads biomass transport costs for different countries of the JRC report.
|
||||||
|
|
||||||
|
@ -2,7 +2,6 @@
|
|||||||
# SPDX-FileCopyrightText: : 2017-2023 The PyPSA-Eur Authors
|
# SPDX-FileCopyrightText: : 2017-2023 The PyPSA-Eur Authors
|
||||||
#
|
#
|
||||||
# SPDX-License-Identifier: MIT
|
# SPDX-License-Identifier: MIT
|
||||||
|
|
||||||
"""
|
"""
|
||||||
Creates Voronoi shapes for each bus representing both onshore and offshore
|
Creates Voronoi shapes for each bus representing both onshore and offshore
|
||||||
regions.
|
regions.
|
||||||
|
@ -2,7 +2,6 @@
|
|||||||
# SPDX-FileCopyrightText: : 2020-2023 The PyPSA-Eur Authors
|
# SPDX-FileCopyrightText: : 2020-2023 The PyPSA-Eur Authors
|
||||||
#
|
#
|
||||||
# SPDX-License-Identifier: MIT
|
# SPDX-License-Identifier: MIT
|
||||||
|
|
||||||
"""
|
"""
|
||||||
Build population layouts for all clustered model regions as total as well as
|
Build population layouts for all clustered model regions as total as well as
|
||||||
split by urban and rural population.
|
split by urban and rural population.
|
||||||
|
@ -2,7 +2,6 @@
|
|||||||
# SPDX-FileCopyrightText: : 2020-2023 The PyPSA-Eur Authors
|
# SPDX-FileCopyrightText: : 2020-2023 The PyPSA-Eur Authors
|
||||||
#
|
#
|
||||||
# SPDX-License-Identifier: MIT
|
# SPDX-License-Identifier: MIT
|
||||||
|
|
||||||
"""
|
"""
|
||||||
Build coefficient of performance (COP) time series for air- or ground-sourced
|
Build coefficient of performance (COP) time series for air- or ground-sourced
|
||||||
heat pumps.
|
heat pumps.
|
||||||
|
@ -2,7 +2,6 @@
|
|||||||
# SPDX-FileCopyrightText: : 2017-2023 The PyPSA-Eur Authors
|
# SPDX-FileCopyrightText: : 2017-2023 The PyPSA-Eur Authors
|
||||||
#
|
#
|
||||||
# SPDX-License-Identifier: MIT
|
# SPDX-License-Identifier: MIT
|
||||||
|
|
||||||
"""
|
"""
|
||||||
Create cutouts with `atlite <https://atlite.readthedocs.io/en/latest/>`_.
|
Create cutouts with `atlite <https://atlite.readthedocs.io/en/latest/>`_.
|
||||||
|
|
||||||
|
@ -2,7 +2,6 @@
|
|||||||
# SPDX-FileCopyrightText: : 2020 @JanFrederickUnnewehr, The PyPSA-Eur Authors
|
# SPDX-FileCopyrightText: : 2020 @JanFrederickUnnewehr, The PyPSA-Eur Authors
|
||||||
#
|
#
|
||||||
# SPDX-License-Identifier: MIT
|
# SPDX-License-Identifier: MIT
|
||||||
|
|
||||||
"""
|
"""
|
||||||
This rule downloads the load data from `Open Power System Data Time series.
|
This rule downloads the load data from `Open Power System Data Time series.
|
||||||
|
|
||||||
|
@ -2,7 +2,6 @@
|
|||||||
# SPDX-FileCopyrightText: : 2020-2023 The PyPSA-Eur Authors
|
# SPDX-FileCopyrightText: : 2020-2023 The PyPSA-Eur Authors
|
||||||
#
|
#
|
||||||
# SPDX-License-Identifier: MIT
|
# SPDX-License-Identifier: MIT
|
||||||
|
|
||||||
"""
|
"""
|
||||||
Build total energy demands per country using JRC IDEES, eurostat, and EEA data.
|
Build total energy demands per country using JRC IDEES, eurostat, and EEA data.
|
||||||
"""
|
"""
|
||||||
|
@ -2,7 +2,6 @@
|
|||||||
# SPDX-FileCopyrightText: : 2021-2023 The PyPSA-Eur Authors
|
# SPDX-FileCopyrightText: : 2021-2023 The PyPSA-Eur Authors
|
||||||
#
|
#
|
||||||
# SPDX-License-Identifier: MIT
|
# SPDX-License-Identifier: MIT
|
||||||
|
|
||||||
"""
|
"""
|
||||||
Build import locations for fossil gas from entry-points, LNG terminals and
|
Build import locations for fossil gas from entry-points, LNG terminals and
|
||||||
production sites with data from SciGRID_gas and Global Energy Monitor.
|
production sites with data from SciGRID_gas and Global Energy Monitor.
|
||||||
|
@ -2,7 +2,6 @@
|
|||||||
# SPDX-FileCopyrightText: : 2020-2023 The PyPSA-Eur Authors
|
# SPDX-FileCopyrightText: : 2020-2023 The PyPSA-Eur Authors
|
||||||
#
|
#
|
||||||
# SPDX-License-Identifier: MIT
|
# SPDX-License-Identifier: MIT
|
||||||
|
|
||||||
"""
|
"""
|
||||||
Preprocess gas network based on data from bthe SciGRID_gas project
|
Preprocess gas network based on data from bthe SciGRID_gas project
|
||||||
(https://www.gas.scigrid.de/).
|
(https://www.gas.scigrid.de/).
|
||||||
|
@ -2,7 +2,6 @@
|
|||||||
# SPDX-FileCopyrightText: : 2020-2023 The PyPSA-Eur Authors
|
# SPDX-FileCopyrightText: : 2020-2023 The PyPSA-Eur Authors
|
||||||
#
|
#
|
||||||
# SPDX-License-Identifier: MIT
|
# SPDX-License-Identifier: MIT
|
||||||
|
|
||||||
"""
|
"""
|
||||||
Build heat demand time series using heating degree day (HDD) approximation.
|
Build heat demand time series using heating degree day (HDD) approximation.
|
||||||
"""
|
"""
|
||||||
|
@ -4,7 +4,6 @@
|
|||||||
# SPDX-FileCopyrightText: : 2017-2023 The PyPSA-Eur Authors
|
# SPDX-FileCopyrightText: : 2017-2023 The PyPSA-Eur Authors
|
||||||
#
|
#
|
||||||
# SPDX-License-Identifier: MIT
|
# SPDX-License-Identifier: MIT
|
||||||
|
|
||||||
"""
|
"""
|
||||||
Build hydroelectric inflow time-series for each country.
|
Build hydroelectric inflow time-series for each country.
|
||||||
|
|
||||||
|
@ -2,7 +2,6 @@
|
|||||||
# SPDX-FileCopyrightText: : 2020-2023 The PyPSA-Eur Authors
|
# SPDX-FileCopyrightText: : 2020-2023 The PyPSA-Eur Authors
|
||||||
#
|
#
|
||||||
# SPDX-License-Identifier: MIT
|
# SPDX-License-Identifier: MIT
|
||||||
|
|
||||||
"""
|
"""
|
||||||
Build spatial distribution of industries from Hotmaps database.
|
Build spatial distribution of industries from Hotmaps database.
|
||||||
"""
|
"""
|
||||||
|
@ -2,7 +2,6 @@
|
|||||||
# SPDX-FileCopyrightText: : 2020-2023 The PyPSA-Eur Authors
|
# SPDX-FileCopyrightText: : 2020-2023 The PyPSA-Eur Authors
|
||||||
#
|
#
|
||||||
# SPDX-License-Identifier: MIT
|
# SPDX-License-Identifier: MIT
|
||||||
|
|
||||||
"""
|
"""
|
||||||
Build industrial energy demand per country.
|
Build industrial energy demand per country.
|
||||||
"""
|
"""
|
||||||
|
@ -2,7 +2,6 @@
|
|||||||
# SPDX-FileCopyrightText: : 2020-2023 The PyPSA-Eur Authors
|
# SPDX-FileCopyrightText: : 2020-2023 The PyPSA-Eur Authors
|
||||||
#
|
#
|
||||||
# SPDX-License-Identifier: MIT
|
# SPDX-License-Identifier: MIT
|
||||||
|
|
||||||
"""
|
"""
|
||||||
Build industrial energy demand per model region.
|
Build industrial energy demand per model region.
|
||||||
"""
|
"""
|
||||||
|
@ -2,7 +2,6 @@
|
|||||||
# SPDX-FileCopyrightText: : 2020-2023 The PyPSA-Eur Authors
|
# SPDX-FileCopyrightText: : 2020-2023 The PyPSA-Eur Authors
|
||||||
#
|
#
|
||||||
# SPDX-License-Identifier: MIT
|
# SPDX-License-Identifier: MIT
|
||||||
|
|
||||||
"""
|
"""
|
||||||
Build industrial energy demand per model region.
|
Build industrial energy demand per model region.
|
||||||
"""
|
"""
|
||||||
|
@ -2,7 +2,6 @@
|
|||||||
# SPDX-FileCopyrightText: : 2020-2023 The PyPSA-Eur Authors
|
# SPDX-FileCopyrightText: : 2020-2023 The PyPSA-Eur Authors
|
||||||
#
|
#
|
||||||
# SPDX-License-Identifier: MIT
|
# SPDX-License-Identifier: MIT
|
||||||
|
|
||||||
"""
|
"""
|
||||||
Build industrial production per country.
|
Build industrial production per country.
|
||||||
"""
|
"""
|
||||||
|
@ -2,7 +2,6 @@
|
|||||||
# SPDX-FileCopyrightText: : 2020-2023 The PyPSA-Eur Authors
|
# SPDX-FileCopyrightText: : 2020-2023 The PyPSA-Eur Authors
|
||||||
#
|
#
|
||||||
# SPDX-License-Identifier: MIT
|
# SPDX-License-Identifier: MIT
|
||||||
|
|
||||||
"""
|
"""
|
||||||
Build future industrial production per country.
|
Build future industrial production per country.
|
||||||
"""
|
"""
|
||||||
|
@ -2,7 +2,6 @@
|
|||||||
# SPDX-FileCopyrightText: : 2020-2023 The PyPSA-Eur Authors
|
# SPDX-FileCopyrightText: : 2020-2023 The PyPSA-Eur Authors
|
||||||
#
|
#
|
||||||
# SPDX-License-Identifier: MIT
|
# SPDX-License-Identifier: MIT
|
||||||
|
|
||||||
"""
|
"""
|
||||||
Build industrial production per model region.
|
Build industrial production per model region.
|
||||||
"""
|
"""
|
||||||
|
@ -2,7 +2,6 @@
|
|||||||
# SPDX-FileCopyrightText: : 2020-2023 The PyPSA-Eur Authors
|
# SPDX-FileCopyrightText: : 2020-2023 The PyPSA-Eur Authors
|
||||||
#
|
#
|
||||||
# SPDX-License-Identifier: MIT
|
# SPDX-License-Identifier: MIT
|
||||||
|
|
||||||
"""
|
"""
|
||||||
Build specific energy consumption by carrier and industries.
|
Build specific energy consumption by carrier and industries.
|
||||||
"""
|
"""
|
||||||
|
@ -2,7 +2,6 @@
|
|||||||
# SPDX-FileCopyrightText: : 2017-2023 The PyPSA-Eur Authors
|
# SPDX-FileCopyrightText: : 2017-2023 The PyPSA-Eur Authors
|
||||||
#
|
#
|
||||||
# SPDX-License-Identifier: MIT
|
# SPDX-License-Identifier: MIT
|
||||||
|
|
||||||
"""
|
"""
|
||||||
Rasters the vector data of the `Natura 2000.
|
Rasters the vector data of the `Natura 2000.
|
||||||
|
|
||||||
|
@ -2,7 +2,6 @@
|
|||||||
# SPDX-FileCopyrightText: : 2020-2023 The PyPSA-Eur Authors
|
# SPDX-FileCopyrightText: : 2020-2023 The PyPSA-Eur Authors
|
||||||
#
|
#
|
||||||
# SPDX-License-Identifier: MIT
|
# SPDX-License-Identifier: MIT
|
||||||
|
|
||||||
"""
|
"""
|
||||||
Build mapping between cutout grid cells and population (total, urban, rural).
|
Build mapping between cutout grid cells and population (total, urban, rural).
|
||||||
"""
|
"""
|
||||||
|
@ -2,7 +2,6 @@
|
|||||||
# SPDX-FileCopyrightText: : 2020-2023 The PyPSA-Eur Authors
|
# SPDX-FileCopyrightText: : 2020-2023 The PyPSA-Eur Authors
|
||||||
#
|
#
|
||||||
# SPDX-License-Identifier: MIT
|
# SPDX-License-Identifier: MIT
|
||||||
|
|
||||||
"""
|
"""
|
||||||
Distribute country-level energy demands by population.
|
Distribute country-level energy demands by population.
|
||||||
"""
|
"""
|
||||||
|
@ -4,7 +4,6 @@
|
|||||||
# SPDX-FileCopyrightText: : 2017-2023 The PyPSA-Eur Authors
|
# SPDX-FileCopyrightText: : 2017-2023 The PyPSA-Eur Authors
|
||||||
#
|
#
|
||||||
# SPDX-License-Identifier: MIT
|
# SPDX-License-Identifier: MIT
|
||||||
|
|
||||||
"""
|
"""
|
||||||
Calculates for each network node the (i) installable capacity (based on land-
|
Calculates for each network node the (i) installable capacity (based on land-
|
||||||
use), (ii) the available generation time series (based on weather data), and
|
use), (ii) the available generation time series (based on weather data), and
|
||||||
|
@ -3,7 +3,6 @@
|
|||||||
# SPDX-FileCopyrightText: : 2020-2023 The PyPSA-Eur Authors
|
# SPDX-FileCopyrightText: : 2020-2023 The PyPSA-Eur Authors
|
||||||
#
|
#
|
||||||
# SPDX-License-Identifier: MIT
|
# SPDX-License-Identifier: MIT
|
||||||
|
|
||||||
"""
|
"""
|
||||||
This script calculates the space heating savings through better insulation of
|
This script calculates the space heating savings through better insulation of
|
||||||
the thermal envelope of a building and corresponding costs for different
|
the thermal envelope of a building and corresponding costs for different
|
||||||
|
@ -2,7 +2,6 @@
|
|||||||
# SPDX-FileCopyrightText: : 2020-2023 The PyPSA-Eur Authors
|
# SPDX-FileCopyrightText: : 2020-2023 The PyPSA-Eur Authors
|
||||||
#
|
#
|
||||||
# SPDX-License-Identifier: MIT
|
# SPDX-License-Identifier: MIT
|
||||||
|
|
||||||
"""
|
"""
|
||||||
Build salt cavern potentials for hydrogen storage.
|
Build salt cavern potentials for hydrogen storage.
|
||||||
|
|
||||||
|
@ -2,7 +2,6 @@
|
|||||||
# SPDX-FileCopyrightText: : 2023 The PyPSA-Eur Authors
|
# SPDX-FileCopyrightText: : 2023 The PyPSA-Eur Authors
|
||||||
#
|
#
|
||||||
# SPDX-License-Identifier: MIT
|
# SPDX-License-Identifier: MIT
|
||||||
|
|
||||||
"""
|
"""
|
||||||
Build regionalised geological sequestration potential for carbon dioxide using
|
Build regionalised geological sequestration potential for carbon dioxide using
|
||||||
data from `CO2Stop <https://setis.ec.europa.eu/european-co2-storage-
|
data from `CO2Stop <https://setis.ec.europa.eu/european-co2-storage-
|
||||||
|
@ -2,7 +2,6 @@
|
|||||||
# SPDX-FileCopyrightText: : 2017-2023 The PyPSA-Eur Authors
|
# SPDX-FileCopyrightText: : 2017-2023 The PyPSA-Eur Authors
|
||||||
#
|
#
|
||||||
# SPDX-License-Identifier: MIT
|
# SPDX-License-Identifier: MIT
|
||||||
|
|
||||||
"""
|
"""
|
||||||
Creates GIS shape files of the countries, exclusive economic zones and `NUTS3 <
|
Creates GIS shape files of the countries, exclusive economic zones and `NUTS3 <
|
||||||
https://en.wikipedia.org/wiki/Nomenclature_of_Territorial_Units_for_Statistics>
|
https://en.wikipedia.org/wiki/Nomenclature_of_Territorial_Units_for_Statistics>
|
||||||
|
@ -2,7 +2,6 @@
|
|||||||
# SPDX-FileCopyrightText: : 2022 The PyPSA-Eur Authors
|
# SPDX-FileCopyrightText: : 2022 The PyPSA-Eur Authors
|
||||||
#
|
#
|
||||||
# SPDX-License-Identifier: MIT
|
# SPDX-License-Identifier: MIT
|
||||||
|
|
||||||
"""
|
"""
|
||||||
Transforms the global ship density data from the `World Bank Data Catalogue.
|
Transforms the global ship density data from the `World Bank Data Catalogue.
|
||||||
|
|
||||||
|
@ -2,7 +2,6 @@
|
|||||||
# SPDX-FileCopyrightText: : 2020-2023 The PyPSA-Eur Authors
|
# SPDX-FileCopyrightText: : 2020-2023 The PyPSA-Eur Authors
|
||||||
#
|
#
|
||||||
# SPDX-License-Identifier: MIT
|
# SPDX-License-Identifier: MIT
|
||||||
|
|
||||||
"""
|
"""
|
||||||
Build solar thermal collector time series.
|
Build solar thermal collector time series.
|
||||||
"""
|
"""
|
||||||
|
@ -2,7 +2,6 @@
|
|||||||
# SPDX-FileCopyrightText: : 2020-2023 The PyPSA-Eur Authors
|
# SPDX-FileCopyrightText: : 2020-2023 The PyPSA-Eur Authors
|
||||||
#
|
#
|
||||||
# SPDX-License-Identifier: MIT
|
# SPDX-License-Identifier: MIT
|
||||||
|
|
||||||
"""
|
"""
|
||||||
Build time series for air and soil temperatures per clustered model region.
|
Build time series for air and soil temperatures per clustered model region.
|
||||||
"""
|
"""
|
||||||
|
@ -2,7 +2,6 @@
|
|||||||
# SPDX-FileCopyrightText: : 2020-2023 The PyPSA-Eur Authors
|
# SPDX-FileCopyrightText: : 2020-2023 The PyPSA-Eur Authors
|
||||||
#
|
#
|
||||||
# SPDX-License-Identifier: MIT
|
# SPDX-License-Identifier: MIT
|
||||||
|
|
||||||
"""
|
"""
|
||||||
Build land transport demand per clustered model region including efficiency
|
Build land transport demand per clustered model region including efficiency
|
||||||
improvements due to drivetrain changes, time series for electric vehicle
|
improvements due to drivetrain changes, time series for electric vehicle
|
||||||
|
@ -2,7 +2,6 @@
|
|||||||
# SPDX-FileCopyrightText: : 2020-2023 The PyPSA-Eur Authors
|
# SPDX-FileCopyrightText: : 2020-2023 The PyPSA-Eur Authors
|
||||||
#
|
#
|
||||||
# SPDX-License-Identifier: MIT
|
# SPDX-License-Identifier: MIT
|
||||||
|
|
||||||
"""
|
"""
|
||||||
Cluster gas transmission network to clustered model regions.
|
Cluster gas transmission network to clustered model regions.
|
||||||
"""
|
"""
|
||||||
|
@ -2,7 +2,6 @@
|
|||||||
# SPDX-FileCopyrightText: : 2020-2023 The PyPSA-Eur Authors
|
# SPDX-FileCopyrightText: : 2020-2023 The PyPSA-Eur Authors
|
||||||
#
|
#
|
||||||
# SPDX-License-Identifier: MIT
|
# SPDX-License-Identifier: MIT
|
||||||
|
|
||||||
"""
|
"""
|
||||||
Copy used configuration files and important scripts for archiving.
|
Copy used configuration files and important scripts for archiving.
|
||||||
"""
|
"""
|
||||||
|
@ -2,7 +2,6 @@
|
|||||||
# SPDX-FileCopyrightText: : 2020-2023 The PyPSA-Eur Authors
|
# SPDX-FileCopyrightText: : 2020-2023 The PyPSA-Eur Authors
|
||||||
#
|
#
|
||||||
# SPDX-License-Identifier: MIT
|
# SPDX-License-Identifier: MIT
|
||||||
|
|
||||||
"""
|
"""
|
||||||
Create summary CSV files for all scenario runs including costs, capacities,
|
Create summary CSV files for all scenario runs including costs, capacities,
|
||||||
capacity factors, curtailment, energy balances, prices and other metrics.
|
capacity factors, curtailment, energy balances, prices and other metrics.
|
||||||
|
@ -2,7 +2,6 @@
|
|||||||
# SPDX-FileCopyrightText: : 2020-2023 The PyPSA-Eur Authors
|
# SPDX-FileCopyrightText: : 2020-2023 The PyPSA-Eur Authors
|
||||||
#
|
#
|
||||||
# SPDX-License-Identifier: MIT
|
# SPDX-License-Identifier: MIT
|
||||||
|
|
||||||
"""
|
"""
|
||||||
Creates plots for optimised network topologies, including electricity, gas and
|
Creates plots for optimised network topologies, including electricity, gas and
|
||||||
hydrogen networks, and regional generation, storage and conversion capacities
|
hydrogen networks, and regional generation, storage and conversion capacities
|
||||||
|
@ -2,7 +2,6 @@
|
|||||||
# SPDX-FileCopyrightText: : 2020-2023 The PyPSA-Eur Authors
|
# SPDX-FileCopyrightText: : 2020-2023 The PyPSA-Eur Authors
|
||||||
#
|
#
|
||||||
# SPDX-License-Identifier: MIT
|
# SPDX-License-Identifier: MIT
|
||||||
|
|
||||||
"""
|
"""
|
||||||
Creates plots from summary CSV files.
|
Creates plots from summary CSV files.
|
||||||
"""
|
"""
|
||||||
|
@ -4,7 +4,6 @@
|
|||||||
# SPDX-FileCopyrightText: : 2017-2023 The PyPSA-Eur Authors
|
# SPDX-FileCopyrightText: : 2017-2023 The PyPSA-Eur Authors
|
||||||
#
|
#
|
||||||
# SPDX-License-Identifier: MIT
|
# SPDX-License-Identifier: MIT
|
||||||
|
|
||||||
"""
|
"""
|
||||||
Extracts capacities of HVDC links from `Wikipedia.
|
Extracts capacities of HVDC links from `Wikipedia.
|
||||||
|
|
||||||
|
@ -2,7 +2,6 @@
|
|||||||
# SPDX-FileCopyrightText: : 2020-2023 The PyPSA-Eur Authors
|
# SPDX-FileCopyrightText: : 2020-2023 The PyPSA-Eur Authors
|
||||||
#
|
#
|
||||||
# SPDX-License-Identifier: MIT
|
# SPDX-License-Identifier: MIT
|
||||||
|
|
||||||
"""
|
"""
|
||||||
Adds all sector-coupling components to the network, including demand and supply
|
Adds all sector-coupling components to the network, including demand and supply
|
||||||
technologies for the buildings, transport and industry sectors.
|
technologies for the buildings, transport and industry sectors.
|
||||||
|
@ -3,7 +3,6 @@
|
|||||||
# SPDX-FileCopyrightText: : 2017-2023 The PyPSA-Eur Authors
|
# SPDX-FileCopyrightText: : 2017-2023 The PyPSA-Eur Authors
|
||||||
#
|
#
|
||||||
# SPDX-License-Identifier: MIT
|
# SPDX-License-Identifier: MIT
|
||||||
|
|
||||||
"""
|
"""
|
||||||
.. image:: https://zenodo.org/badge/DOI/10.5281/zenodo.3517935.svg
|
.. image:: https://zenodo.org/badge/DOI/10.5281/zenodo.3517935.svg
|
||||||
:target: https://doi.org/10.5281/zenodo.3517935
|
:target: https://doi.org/10.5281/zenodo.3517935
|
||||||
|
@ -2,7 +2,6 @@
|
|||||||
# SPDX-FileCopyrightText: : 2017-2023 The PyPSA-Eur Authors
|
# SPDX-FileCopyrightText: : 2017-2023 The PyPSA-Eur Authors
|
||||||
#
|
#
|
||||||
# SPDX-License-Identifier: MIT
|
# SPDX-License-Identifier: MIT
|
||||||
|
|
||||||
"""
|
"""
|
||||||
Solves optimal operation and capacity for a network with the option to
|
Solves optimal operation and capacity for a network with the option to
|
||||||
iteratively optimize while updating line reactances.
|
iteratively optimize while updating line reactances.
|
||||||
@ -444,7 +443,7 @@ def add_operational_reserve_margin(n, sns, config):
|
|||||||
|
|
||||||
n.model.add_constraints(lhs >= rhs, name="reserve_margin")
|
n.model.add_constraints(lhs >= rhs, name="reserve_margin")
|
||||||
|
|
||||||
# additional contraint that capacity is not exceeded
|
# additional constraint that capacity is not exceeded
|
||||||
gen_i = n.generators.index
|
gen_i = n.generators.index
|
||||||
ext_i = n.generators.query("p_nom_extendable").index
|
ext_i = n.generators.query("p_nom_extendable").index
|
||||||
fix_i = n.generators.query("not p_nom_extendable").index
|
fix_i = n.generators.query("not p_nom_extendable").index
|
||||||
|
@ -2,7 +2,6 @@
|
|||||||
# SPDX-FileCopyrightText: : 2017-2023 The PyPSA-Eur Authors
|
# SPDX-FileCopyrightText: : 2017-2023 The PyPSA-Eur Authors
|
||||||
#
|
#
|
||||||
# SPDX-License-Identifier: MIT
|
# SPDX-License-Identifier: MIT
|
||||||
|
|
||||||
"""
|
"""
|
||||||
Solves linear optimal dispatch in hourly resolution using the capacities of
|
Solves linear optimal dispatch in hourly resolution using the capacities of
|
||||||
previous capacity expansion in rule :mod:`solve_network`.
|
previous capacity expansion in rule :mod:`solve_network`.
|
||||||
|
Loading…
Reference in New Issue
Block a user