[pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci
This commit is contained in:
pre-commit-ci[bot] 2023-06-28 08:05:16 +00:00
parent d943e3bb68
commit febd293374
6 changed files with 29 additions and 31 deletions

View File

@ -2,7 +2,7 @@
#
# SPDX-License-Identifier: CC0-1.0
# docs in
# docs in
version: 0.8.0
tutorial: false
@ -10,22 +10,22 @@ logging:
level: INFO
format: '%(levelname)s:%(name)s:%(message)s'
# docs in
run:
# docs in
run:
name: ""
disable_progressbar: false
shared_resources: false
shared_cutouts: true
# docs in
# docs in
foresight: overnight
# docs in
# Wildcard docs in
scenario:
# docs in
# Wildcard docs in
scenario:
simpl:
- ''
ll:
ll:
- v1.5
clusters:
- 37
@ -33,7 +33,7 @@ scenario:
- 256
- 512
- 1024
opts:
opts:
- ''
sector_opts:
- Co2L0-3H-T-H-B-I-A-solar+p3-dist1
@ -43,18 +43,16 @@ scenario:
# - 2040
- 2050
# docs in
countries: ['AL', 'AT', 'BA', 'BE', 'BG', 'CH', 'CZ', 'DE', 'DK', 'EE', 'ES',
'FI', 'FR', 'GB', 'GR', 'HR', 'HU', 'IE', 'IT', 'LT', 'LU', 'LV',
'ME', 'MK', 'NL', 'NO', 'PL', 'PT', 'RO', 'RS', 'SE', 'SI', 'SK']
# docs in
countries: ['AL', 'AT', 'BA', 'BE', 'BG', 'CH', 'CZ', 'DE', 'DK', 'EE', 'ES', 'FI', 'FR', 'GB', 'GR', 'HR', 'HU', 'IE', 'IT', 'LT', 'LU', 'LV', 'ME', 'MK', 'NL', 'NO', 'PL', 'PT', 'RO', 'RS', 'SE', 'SI', 'SK']
# docs in
# docs in
snapshots:
start: "2013-01-01"
end: "2014-01-01"
inclusive: 'left'
# docs in
# docs in
enable:
prepare_links_p_nom: false
retrieve_databundle: true
@ -66,7 +64,7 @@ enable:
retrieve_natura_raster: true
custom_busmap: false
# docs in
# docs in
co2_budget:
2020: 0.701
2025: 0.524
@ -76,7 +74,7 @@ co2_budget:
2045: 0.032
2050: 0.000
# docs in
# docs in
electricity:
voltages: [220., 300., 380.]
gaslimit: false
@ -157,7 +155,7 @@ renewable:
resource:
method: wind
turbine: Vestas_V112_3MW
capacity_per_sqkm: 3
capacity_per_sqkm: 3
# correction_factor: 0.93
corine:
grid_codes: [12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 31, 32]
@ -172,7 +170,7 @@ renewable:
resource:
method: wind
turbine: NREL_ReferenceTurbine_5MW_offshore
capacity_per_sqkm: 2
capacity_per_sqkm: 2
correction_factor: 0.8855
corine: [44, 255]
natura: true

View File

@ -1,2 +1,2 @@
,Unit,Values,Description
countries,--,"Subset of {'AL', 'AT', 'BA', 'BE', 'BG', 'CH', 'CZ', 'DE', 'DK', 'EE', 'ES', 'FI', 'FR', 'GB', 'GR', 'HR', 'HU', 'IE', 'IT', 'LT', 'LU', 'LV', 'ME', 'MK', 'NL', 'NO', 'PL', 'PT', 'RO', 'RS', 'SE', 'SI', 'SK'}","European countries defined by their `Two-letter country codes (ISO 3166-1) <https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2>`_ which should be included in the energy system model."
countries,--,"Subset of {'AL', 'AT', 'BA', 'BE', 'BG', 'CH', 'CZ', 'DE', 'DK', 'EE', 'ES', 'FI', 'FR', 'GB', 'GR', 'HR', 'HU', 'IE', 'IT', 'LT', 'LU', 'LV', 'ME', 'MK', 'NL', 'NO', 'PL', 'PT', 'RO', 'RS', 'SE', 'SI', 'SK'}","European countries defined by their `Two-letter country codes (ISO 3166-1) <https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2>`_ which should be included in the energy system model."

1 Unit Values Description
2 countries -- Subset of {'AL', 'AT', 'BA', 'BE', 'BG', 'CH', 'CZ', 'DE', 'DK', 'EE', 'ES', 'FI', 'FR', 'GB', 'GR', 'HR', 'HU', 'IE', 'IT', 'LT', 'LU', 'LV', 'ME', 'MK', 'NL', 'NO', 'PL', 'PT', 'RO', 'RS', 'SE', 'SI', 'SK'} European countries defined by their `Two-letter country codes (ISO 3166-1) <https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2>`_ which should be included in the energy system model.

View File

@ -1,2 +1,2 @@
,Unit,Values,Description
foresight,string,"{overnight, myopic, perfect}","See :ref:`Foresight Options` for detail explanations."
foresight,string,"{overnight, myopic, perfect}","See :ref:`Foresight Options` for detail explanations."

1 Unit Values Description
2 foresight string {overnight, myopic, perfect} See :ref:`Foresight Options` for detail explanations.

View File

@ -4,7 +4,7 @@ district_heating,--,,`prepare_sector_network.py <https://github.com/PyPSA/pypsa-
-- progress,--,Dictionary with planning horizons as keys.,Progress = 0 means today's district heating share. Progress = 1 means maximum fraction of urban demand is supplied by district heating
-- district_heating_loss,--,float,
cluster_heat_buses,--,true or false,cluster residential and service heat buses in `prepare_sector_network.py <https://github.com/PyPSA/pypsa-eur-sec/blob/master/scripts/prepare_sector_network.py>`_ to one to save memory.
bev_dsm_restriction_value,--,float,Adding a stage of charge (SOC) limit for battery electric vehicles (BEV) to manage its own energy demand (DSM). Located in `build_transport_demand.py <https://github.com/PyPSA/pypsa-eur-sec/blob/master/scripts/build_transport_demand.py>`_.
bev_dsm_restriction_value,--,float,Adding a stage of charge (SOC) limit for battery electric vehicles (BEV) to manage its own energy demand (DSM). Located in `build_transport_demand.py <https://github.com/PyPSA/pypsa-eur-sec/blob/master/scripts/build_transport_demand.py>`_.
bev_dsm_restriction_time,--,float,Time at which SOC of BEV has to be dsm_restriction_value
transport_heating_deadband_upper,°C,float,"The minimum temperature in the vehicle. At lower temperatures, the energy required for heating in the vehicle increases."
transport_heating_deadband_lower,°C,float,"The maximum temperature in the vehicle. At higher temperatures, the energy required for cooling in the vehicle increases."

1 Unit Values Description
4 -- progress -- Dictionary with planning horizons as keys. Progress = 0 means today's district heating share. Progress = 1 means maximum fraction of urban demand is supplied by district heating
5 -- district_heating_loss -- float
6 cluster_heat_buses -- true or false cluster residential and service heat buses in `prepare_sector_network.py <https://github.com/PyPSA/pypsa-eur-sec/blob/master/scripts/prepare_sector_network.py>`_ to one to save memory.
7 bev_dsm_restriction_value -- float Adding a stage of charge (SOC) limit for battery electric vehicles (BEV) to manage its own energy demand (DSM). Located in `build_transport_demand.py <https://github.com/PyPSA/pypsa-eur-sec/blob/master/scripts/build_transport_demand.py>`_. Adding a stage of charge (SOC) limit for battery electric vehicles (BEV) to manage its own energy demand (DSM). Located in `build_transport_demand.py <https://github.com/PyPSA/pypsa-eur-sec/blob/master/scripts/build_transport_demand.py>`_.
8 bev_dsm_restriction_time -- float Time at which SOC of BEV has to be dsm_restriction_value
9 transport_heating_deadband_upper °C float The minimum temperature in the vehicle. At lower temperatures, the energy required for heating in the vehicle increases.
10 transport_heating_deadband_lower °C float The maximum temperature in the vehicle. At higher temperatures, the energy required for cooling in the vehicle increases.

View File

@ -3,4 +3,4 @@ version,--,0.x.x,"Version of PyPSA-Eur. Descriptive only."
tutorial,bool,"{true, false}","Switch to retrieve the tutorial data set instead of the full data set."
logging,,,
-- level,--,"Any of {'INFO', 'WARNING', 'ERROR'}","Restrict console outputs to all infos, warning or errors only"
-- format,--,"","Custom format for log messages. See `LogRecord <https://docs.python.org/3/library/logging.html#logging.LogRecord>`_ attributes."
-- format,--,"","Custom format for log messages. See `LogRecord <https://docs.python.org/3/library/logging.html#logging.LogRecord>`_ attributes."

1 Unit Values Description
3 tutorial bool {true, false} Switch to retrieve the tutorial data set instead of the full data set.
4 logging
5 -- level -- Any of {'INFO', 'WARNING', 'ERROR'} Restrict console outputs to all infos, warning or errors only
6 -- format -- Custom format for log messages. See `LogRecord <https://docs.python.org/3/library/logging.html#logging.LogRecord>`_ attributes.

View File

@ -64,7 +64,7 @@ The ``run`` section is used for running and storing scenarios with different con
:file: configtables/foresight.csv
.. note::
if you use myopic or perfect foresight, The investment years in
if you use myopic or perfect foresight, The investment years in
:ref:`planning_horizons` in scenario has to be set.
.. _scenario:
@ -173,7 +173,7 @@ Switches for some rules and optional features.
:file: configtables/co2_budget.csv
.. note::
this parameter is over-ridden if ``CO2Lx`` or ``cb`` is set in
this parameter is over-ridden if ``CO2Lx`` or ``cb`` is set in
sector_opts.
.. _electricity_cf:
@ -272,7 +272,7 @@ Define and specify the ``atlite.Cutout`` used for calculating renewable potentia
:file: configtables/offwind-dc.csv
.. note::
both ``offwind-ac`` and ``offwind-dc`` have the same assumption on
both ``offwind-ac`` and ``offwind-dc`` have the same assumption on
``capacity_per_sqkm`` and ``correction_factor``.
``solar``
@ -512,8 +512,8 @@ overwrite the existing values.
:widths: 25,7,22,30
:file: configtables/costs.csv
.. note::
``rooftop_share:`` are based on the potentials, assuming
.. note::
``rooftop_share:`` are based on the potentials, assuming
(0.1 kW/m2 and 10 m2/person)
.. _clustering_cf:
@ -531,11 +531,11 @@ overwrite the existing values.
:widths: 25,7,22,30
:file: configtables/clustering.csv
.. note::
``feature:`` in ``simplify_network:``
.. note::
``feature:`` in ``simplify_network:``
are only relevant if ``hac`` were chosen in ``algorithm``.
.. tip::
.. tip::
use ``min`` in ``p_nom_max:`` for more `
conservative assumptions.