more config tables and fixed table widths
This commit is contained in:
parent
7a4e9f22d4
commit
6aa6b20e26
19
doc/_static/theme_overrides.css
vendored
Normal file
19
doc/_static/theme_overrides.css
vendored
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
/* override table width restrictions */
|
||||||
|
@media screen and (min-width: 767px) {
|
||||||
|
|
||||||
|
.wy-table-responsive table td {
|
||||||
|
/* !important prevents the common CSS stylesheets from overriding
|
||||||
|
this as on RTD they are loaded after this stylesheet */
|
||||||
|
white-space: normal !important;
|
||||||
|
/* background: #eeeeee !important; */
|
||||||
|
}
|
||||||
|
|
||||||
|
.wy-table-responsive {
|
||||||
|
max-width: 100%;
|
||||||
|
overflow: visible !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
.wy-nav-content {
|
||||||
|
max-width: 910px !important;
|
||||||
|
}
|
||||||
|
}
|
12
doc/conf.py
12
doc/conf.py
@ -155,13 +155,13 @@ html_theme_options = {
|
|||||||
# Add any paths that contain custom static files (such as style sheets) here,
|
# Add any paths that contain custom static files (such as style sheets) here,
|
||||||
# relative to this directory. They are copied after the builtin static files,
|
# relative to this directory. They are copied after the builtin static files,
|
||||||
# so a file named "default.css" will overwrite the builtin "default.css".
|
# so a file named "default.css" will overwrite the builtin "default.css".
|
||||||
# html_static_path = ['_static']
|
html_static_path = ['_static']
|
||||||
|
|
||||||
# html_context = {
|
html_context = {
|
||||||
# 'css_files': [
|
'css_files': [
|
||||||
# '_static/theme_overrides.css', # override wide tables in RTD theme
|
'_static/theme_overrides.css', # override wide tables in RTD theme
|
||||||
# ],
|
],
|
||||||
# }
|
}
|
||||||
|
|
||||||
# Add any extra paths that contain custom files (such as robots.txt or
|
# Add any extra paths that contain custom files (such as robots.txt or
|
||||||
# .htaccess) here, relative to this directory. These files are copied
|
# .htaccess) here, relative to this directory. These files are copied
|
||||||
|
@ -1,13 +1,13 @@
|
|||||||
,Unit,Values,Description
|
,Unit,Values,Description
|
||||||
nprocesses,--,{'E'},TODO
|
nprocesses,--,int,"Number of parallel processes in cutout preparation"
|
||||||
cutouts,--,E,TODO
|
cutouts,--,E,TODO
|
||||||
-- europe-2013-era5,--,E,TODO
|
-- europe-2013-era5,--,,"Directory to write cutout data to."
|
||||||
-- -- module,--,E,TODO
|
-- -- module,--,"Must be 'era5'","Source of the reanalysis weather dataset. `ERA5 <https://www.ecmwf.int/en/forecasts/datasets/reanalysis-datasets/era5>`_"
|
||||||
-- -- xs,--,E,TODO
|
-- -- xs,°,"Float interval within [-180, 180]","Range of longitudes to download weather data for."
|
||||||
-- -- ys,--,E,TODO
|
-- -- ys,°,"Float interval within [-90, 90]","Range of latitudes to download weather data for."
|
||||||
-- -- years,--,E,TODO
|
-- -- years,--,"Integer interval within [1979,2018]","Range of years to download weather data for."
|
||||||
-- europe-2013-sarah,--,E,TODO
|
-- europe-2013-sarah,--,,"Directory to write cutout data to."
|
||||||
-- -- module,--,E,TODO
|
-- -- module,--,"Must be 'sarah'","Source of the surface solar radiation dataset. `SARAH-2 <https://wui.cmsaf.eu/safira/action/viewDoiDetails?acronym=SARAH_V002>`_"
|
||||||
-- -- xs,--,E,TODO
|
-- -- xs,°,"Float interval within [-180, 180]","Range of longitudes to download weather data for."
|
||||||
-- -- ys,--,E,TODO
|
-- -- ys,°,"Float interval within [-90, 90]","Range of latitudes to download weather data for."
|
||||||
-- -- years,--,E,TODO
|
-- -- years,--,"Integer interval within [1983,2015]","Range of years to download weather data for."
|
|
@ -1,10 +1,10 @@
|
|||||||
,Unit,Values,Description
|
,Unit,Values,Description
|
||||||
voltages,--,{'E'},TODO
|
voltages,kV,"Any subset of {220., 300., 380.}","Voltage levels to consider when"
|
||||||
co2limit,--,E,TODO
|
co2limit,:math:`t_{CO_2-eq}/a`,float,"Cap on total annual system carbon dioxide emissions"
|
||||||
extendable_carriers,--,E,TODO
|
extendable_carriers,,,
|
||||||
-- Generator,--,E,TODO
|
-- Generator,--,"Any subset of {'OCGT','CCGT'}","Places extendable conventional power plants (OCGT and/or CCGT) where gas power plants are located today without capacity limits."
|
||||||
-- StorageUnit,--,E,TODO
|
-- StorageUnit,--,"Any subset of {'battery','H2'}","Places extendable storage units (battery and/or hydrogen) at every node/bus without capacity limits."
|
||||||
max_hours,--,E,TODO
|
max_hours,,,
|
||||||
-- battery,--,E,TODO
|
-- battery,h,float,"Maximum state of charge capacity of the battery in terms of hours at full output capacity ``p_nom``. Cf. `PyPSA documentation <https://pypsa.readthedocs.io/en/latest/components.html#storage-unit>`_."
|
||||||
-- H2,--,E,TODO
|
-- H2,h,float,"Maximum state of charge capacity of the hydrogen storage in terms of hours at full output capacity ``p_nom``. Cf. `PyPSA documentation <https://pypsa.readthedocs.io/en/latest/components.html#storage-unit>`_."
|
||||||
conventional_carriers,--,E,TODO
|
conventional_carriers,--,"Any subset of {nuclear, oil, OCGT, CCGT, coal, lignite, geothermal, biomass}","List of conventional power plants to include in the model from ``resources/powerplants.csv``."
|
||||||
|
|
@ -1,13 +1,13 @@
|
|||||||
,Unit,Values,Description
|
,Unit,Values,Description
|
||||||
cutout,--,{'E'},TODO
|
cutout,--,"Must be 'europe-2013-era5'","Specifies the directory where the relevant weather data ist stored."
|
||||||
resource,--,E,TODO
|
resource,,,
|
||||||
-- method,--,E,TODO
|
-- method,--,"Must be 'wind'","A superordinate technology type."
|
||||||
-- turbine,--,E,TODO
|
-- turbine,--,"One of turbine types included in `atlite <https://github.com/PyPSA/atlite/tree/master/atlite/resources/windturbine>`_","Specifies the turbine type and its characteristic power curve."
|
||||||
capacity_per_sqkm,--,E,TODO
|
capacity_per_sqkm,MW/km2,float,"Allowable density of wind turbine placement."
|
||||||
corine,--,E,TODO
|
corine,,,
|
||||||
-- grid_codes,--,E,TODO
|
-- grid_codes,--,"Any subset of the `CORINE Land Cover code list <http://www.eea.europa.eu/data-and-maps/data/corine-land-cover-2006-raster-1/corine-land-cover-classes-and/clc_legend.csv/at_download/file>`_",TODO
|
||||||
-- distance,--,E,TODO
|
-- distance,m,float,
|
||||||
-- distance_grid_codes,--,E,TODO
|
-- distance_grid_codes,--,"Any subset of the `CORINE Land Cover code list <http://www.eea.europa.eu/data-and-maps/data/corine-land-cover-2006-raster-1/corine-land-cover-classes-and/clc_legend.csv/at_download/file>`_",TODO
|
||||||
natura,--,E,TODO
|
natura,--,E,TODO
|
||||||
potential,--,E,TODO
|
potential,--,E,TODO
|
||||||
clip_p_max_pu,--,E,TODO
|
clip_p_max_pu,--,E,TODO
|
|
@ -1,4 +1,4 @@
|
|||||||
,Unit,Values,Description
|
,Unit,Values,Description
|
||||||
start,--,{'E'},TODO
|
start,--,"str or datetime-like; e.g. YYYY-MM-DD","Left bound of date range"
|
||||||
end,--,E,TODO
|
end,--,"str or datetime-like; e.g. YYYY-MM-DD","Right bound of date range"
|
||||||
closed,--,E,TODO
|
closed,--,"One of {None, ‘left’, ‘right’}","Make the time interval closed to the ``left``, ``right``, or both sides ``None``."
|
|
@ -1,8 +1,8 @@
|
|||||||
,Unit,Values,Description
|
,Unit,Values,Description
|
||||||
version,--,{'E'},TODO
|
version,--,0.1,"Version of PyPSA-Eur"
|
||||||
logging_level,--,E,TODO
|
logging_level,--,"Any of {'INFO', 'WARNING', 'ERROR'}","Restrict console outputs to all infos, warning or errors only"
|
||||||
summary_dir,--,E,TODO
|
summary_dir,--,"e.g. 'results'","Directory into which results are written."
|
||||||
countries,--,E,TODO
|
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."
|
||||||
enable,--,E,TODO
|
enable,,,
|
||||||
-- powerplantmatching,--,{'E'},TODO
|
-- powerplantmatching,bool,"{true, false}","Switch to retrieve currently existing conventional power plant capacities matched from multiple sources by using `powerplantmatching <https://www.github.com/FRESNA/powerplantmatching>`_."
|
||||||
-- prepare_links_p_nom,--,E,TODO
|
-- prepare_links_p_nom,bool,"{true, false}","Switch to retrieve current HVDC projects from `Wikipedia <https://en.wikipedia.org/wiki/List_of_HVDC_projects>`_"
|
|
@ -2,8 +2,10 @@
|
|||||||
Configuration
|
Configuration
|
||||||
##########################################
|
##########################################
|
||||||
|
|
||||||
Single-level entries
|
by changing the default configuration in ``config.yaml``.
|
||||||
====================
|
|
||||||
|
Top-level configuration
|
||||||
|
=======================
|
||||||
|
|
||||||
.. literalinclude:: ../config.yaml
|
.. literalinclude:: ../config.yaml
|
||||||
:language: yaml
|
:language: yaml
|
||||||
@ -11,9 +13,10 @@ Single-level entries
|
|||||||
|
|
||||||
.. csv-table::
|
.. csv-table::
|
||||||
:header-rows: 1
|
:header-rows: 1
|
||||||
:align: left
|
:widths: 25,7,22,30
|
||||||
:file: configtables/toplevel.csv
|
:file: configtables/toplevel.csv
|
||||||
|
|
||||||
|
|
||||||
Wildcards and ``scenario``
|
Wildcards and ``scenario``
|
||||||
==========================
|
==========================
|
||||||
|
|
||||||
@ -23,7 +26,7 @@ Wildcards and ``scenario``
|
|||||||
|
|
||||||
.. csv-table::
|
.. csv-table::
|
||||||
:header-rows: 1
|
:header-rows: 1
|
||||||
:align: left
|
:widths: 25,7,22,30
|
||||||
:file: configtables/scenario.csv
|
:file: configtables/scenario.csv
|
||||||
|
|
||||||
|
|
||||||
@ -31,13 +34,15 @@ Wildcards and ``scenario``
|
|||||||
``snapshots``
|
``snapshots``
|
||||||
=============
|
=============
|
||||||
|
|
||||||
|
Arguments to `pandas.date_range <https://pandas.pydata.org/pandas-docs/stable/reference/api/pandas.date_range.html>`_
|
||||||
|
|
||||||
.. literalinclude:: ../config.yaml
|
.. literalinclude:: ../config.yaml
|
||||||
:language: yaml
|
:language: yaml
|
||||||
:lines: 17-21
|
:lines: 17-21
|
||||||
|
|
||||||
.. csv-table::
|
.. csv-table::
|
||||||
:header-rows: 1
|
:header-rows: 1
|
||||||
:align: left
|
:widths: 25,7,22,30
|
||||||
:file: configtables/snapshots.csv
|
:file: configtables/snapshots.csv
|
||||||
|
|
||||||
|
|
||||||
@ -50,9 +55,12 @@ Wildcards and ``scenario``
|
|||||||
|
|
||||||
.. csv-table::
|
.. csv-table::
|
||||||
:header-rows: 1
|
:header-rows: 1
|
||||||
:align: left
|
:widths: 25,7,22,30
|
||||||
:file: configtables/electricity.csv
|
:file: configtables/electricity.csv
|
||||||
|
|
||||||
|
.. warning::
|
||||||
|
Carriers in ``conventional_carriers`` must not also be in ``extendable_carriers``.
|
||||||
|
|
||||||
``atlite``
|
``atlite``
|
||||||
=============
|
=============
|
||||||
|
|
||||||
@ -62,7 +70,7 @@ Wildcards and ``scenario``
|
|||||||
|
|
||||||
.. csv-table::
|
.. csv-table::
|
||||||
:header-rows: 1
|
:header-rows: 1
|
||||||
:align: left
|
:widths: 25,7,22,30
|
||||||
:file: configtables/atlite.csv
|
:file: configtables/atlite.csv
|
||||||
|
|
||||||
``renewable``
|
``renewable``
|
||||||
@ -73,7 +81,7 @@ Wildcards and ``scenario``
|
|||||||
|
|
||||||
.. csv-table::
|
.. csv-table::
|
||||||
:header-rows: 1
|
:header-rows: 1
|
||||||
:align: left
|
:widths: 25,7,22,30
|
||||||
:file: configtables/onwind.csv
|
:file: configtables/onwind.csv
|
||||||
|
|
||||||
``offwind-ac``
|
``offwind-ac``
|
||||||
@ -81,7 +89,7 @@ Wildcards and ``scenario``
|
|||||||
|
|
||||||
.. csv-table::
|
.. csv-table::
|
||||||
:header-rows: 1
|
:header-rows: 1
|
||||||
:align: left
|
:widths: 25,7,22,30
|
||||||
:file: configtables/offwind-ac.csv
|
:file: configtables/offwind-ac.csv
|
||||||
|
|
||||||
``offwind-dc``
|
``offwind-dc``
|
||||||
@ -89,7 +97,7 @@ Wildcards and ``scenario``
|
|||||||
|
|
||||||
.. csv-table::
|
.. csv-table::
|
||||||
:header-rows: 1
|
:header-rows: 1
|
||||||
:align: left
|
:widths: 25,7,22,30
|
||||||
:file: configtables/offwind-dc.csv
|
:file: configtables/offwind-dc.csv
|
||||||
|
|
||||||
``solar``
|
``solar``
|
||||||
@ -97,7 +105,7 @@ Wildcards and ``scenario``
|
|||||||
|
|
||||||
.. csv-table::
|
.. csv-table::
|
||||||
:header-rows: 1
|
:header-rows: 1
|
||||||
:align: left
|
:widths: 25,7,22,30
|
||||||
:file: configtables/solar.csv
|
:file: configtables/solar.csv
|
||||||
|
|
||||||
``hydro``
|
``hydro``
|
||||||
@ -105,7 +113,7 @@ Wildcards and ``scenario``
|
|||||||
|
|
||||||
.. csv-table::
|
.. csv-table::
|
||||||
:header-rows: 1
|
:header-rows: 1
|
||||||
:align: left
|
:widths: 25,7,22,30
|
||||||
:file: configtables/hydro.csv
|
:file: configtables/hydro.csv
|
||||||
|
|
||||||
``lines``
|
``lines``
|
||||||
@ -113,7 +121,7 @@ Wildcards and ``scenario``
|
|||||||
|
|
||||||
.. csv-table::
|
.. csv-table::
|
||||||
:header-rows: 1
|
:header-rows: 1
|
||||||
:align: left
|
:widths: 25,7,22,30
|
||||||
:file: configtables/lines.csv
|
:file: configtables/lines.csv
|
||||||
|
|
||||||
``links``
|
``links``
|
||||||
@ -121,7 +129,7 @@ Wildcards and ``scenario``
|
|||||||
|
|
||||||
.. csv-table::
|
.. csv-table::
|
||||||
:header-rows: 1
|
:header-rows: 1
|
||||||
:align: left
|
:widths: 25,7,22,30
|
||||||
:file: configtables/links.csv
|
:file: configtables/links.csv
|
||||||
|
|
||||||
``transformers``
|
``transformers``
|
||||||
@ -129,7 +137,7 @@ Wildcards and ``scenario``
|
|||||||
|
|
||||||
.. csv-table::
|
.. csv-table::
|
||||||
:header-rows: 1
|
:header-rows: 1
|
||||||
:align: left
|
:widths: 25,7,22,30
|
||||||
:file: configtables/transformers.csv
|
:file: configtables/transformers.csv
|
||||||
|
|
||||||
``load``
|
``load``
|
||||||
@ -137,7 +145,7 @@ Wildcards and ``scenario``
|
|||||||
|
|
||||||
.. csv-table::
|
.. csv-table::
|
||||||
:header-rows: 1
|
:header-rows: 1
|
||||||
:align: left
|
:widths: 25,7,22,30
|
||||||
:file: configtables/load.csv
|
:file: configtables/load.csv
|
||||||
|
|
||||||
``costs``
|
``costs``
|
||||||
@ -145,7 +153,7 @@ Wildcards and ``scenario``
|
|||||||
|
|
||||||
.. csv-table::
|
.. csv-table::
|
||||||
:header-rows: 1
|
:header-rows: 1
|
||||||
:align: left
|
:widths: 25,7,22,30
|
||||||
:file: configtables/costs.csv
|
:file: configtables/costs.csv
|
||||||
|
|
||||||
``solving``
|
``solving``
|
||||||
@ -156,7 +164,7 @@ Wildcards and ``scenario``
|
|||||||
|
|
||||||
.. csv-table::
|
.. csv-table::
|
||||||
:header-rows: 1
|
:header-rows: 1
|
||||||
:align: left
|
:widths: 25,7,22,30
|
||||||
:file: configtables/solving-options.csv
|
:file: configtables/solving-options.csv
|
||||||
|
|
||||||
``solver``
|
``solver``
|
||||||
@ -164,7 +172,7 @@ Wildcards and ``scenario``
|
|||||||
|
|
||||||
.. csv-table::
|
.. csv-table::
|
||||||
:header-rows: 1
|
:header-rows: 1
|
||||||
:align: left
|
:widths: 25,7,22,30
|
||||||
:file: configtables/solving-solver.csv
|
:file: configtables/solving-solver.csv
|
||||||
|
|
||||||
``plotting``
|
``plotting``
|
||||||
@ -172,5 +180,5 @@ Wildcards and ``scenario``
|
|||||||
|
|
||||||
.. csv-table::
|
.. csv-table::
|
||||||
:header-rows: 1
|
:header-rows: 1
|
||||||
:align: left
|
:widths: 25,7,22,30
|
||||||
:file: configtables/plotting.csv
|
:file: configtables/plotting.csv
|
||||||
|
Loading…
Reference in New Issue
Block a user