add seealso from module description to config documentatoin
This commit is contained in:
parent
4d3d898430
commit
3a94d4f5ef
@ -6,6 +6,8 @@ Configuration
|
||||
|
||||
PyPSA-Eur has several configuration options which are documented in this section and are collected in a ``config.yaml`` file located in the root directory. Users can amend their own modifications and assumptions by changing the default configuration provided in the configuration file (``config.yaml``).
|
||||
|
||||
.. _toplevel_cf:
|
||||
|
||||
Top-level configuration
|
||||
=======================
|
||||
|
||||
@ -50,6 +52,8 @@ An exemplary dependency graph (starting from the simplification rules) then look
|
||||
:widths: 25,7,22,30
|
||||
:file: configtables/scenario.csv
|
||||
|
||||
.. _snapshots_cf:
|
||||
|
||||
``snapshots``
|
||||
=============
|
||||
|
||||
@ -64,6 +68,7 @@ Specifies the temporal range to build an energy system model for as arguments to
|
||||
:widths: 25,7,22,30
|
||||
:file: configtables/snapshots.csv
|
||||
|
||||
.. _electricity_cf:
|
||||
|
||||
``electricity``
|
||||
===============
|
||||
@ -80,6 +85,8 @@ Specifies the temporal range to build an energy system model for as arguments to
|
||||
.. warning::
|
||||
Carriers in ``conventional_carriers`` must not also be in ``extendable_carriers``.
|
||||
|
||||
.. _atlite_cf:
|
||||
|
||||
``atlite``
|
||||
=============
|
||||
|
||||
@ -92,6 +99,8 @@ Specifies the temporal range to build an energy system model for as arguments to
|
||||
:widths: 25,7,22,30
|
||||
:file: configtables/atlite.csv
|
||||
|
||||
.. _renewable_cf:
|
||||
|
||||
``renewable``
|
||||
=============
|
||||
|
||||
@ -135,6 +144,8 @@ Specifies the temporal range to build an energy system model for as arguments to
|
||||
:widths: 25,7,22,30
|
||||
:file: configtables/hydro.csv
|
||||
|
||||
.. _lines_cf:
|
||||
|
||||
``lines``
|
||||
=============
|
||||
|
||||
@ -143,6 +154,8 @@ Specifies the temporal range to build an energy system model for as arguments to
|
||||
:widths: 25,7,22,30
|
||||
:file: configtables/lines.csv
|
||||
|
||||
.. _links_cf:
|
||||
|
||||
``links``
|
||||
=============
|
||||
|
||||
@ -151,6 +164,8 @@ Specifies the temporal range to build an energy system model for as arguments to
|
||||
:widths: 25,7,22,30
|
||||
:file: configtables/links.csv
|
||||
|
||||
.. _transformers_cf:
|
||||
|
||||
``transformers``
|
||||
================
|
||||
|
||||
@ -159,6 +174,8 @@ Specifies the temporal range to build an energy system model for as arguments to
|
||||
:widths: 25,7,22,30
|
||||
:file: configtables/transformers.csv
|
||||
|
||||
.. _load_cf:
|
||||
|
||||
``load``
|
||||
=============
|
||||
|
||||
@ -167,6 +184,8 @@ Specifies the temporal range to build an energy system model for as arguments to
|
||||
:widths: 25,7,22,30
|
||||
:file: configtables/load.csv
|
||||
|
||||
.. _costs_cf:
|
||||
|
||||
``costs``
|
||||
=============
|
||||
|
||||
@ -180,6 +199,8 @@ Specifies the temporal range to build an energy system model for as arguments to
|
||||
|
||||
You can also build multiple different cost databases. Make a renamed copy of ``data/costs.csv`` (e.g. ``data/costs-optimistic.csv``) and set the variable ``COSTS=data/costs-optimistic.csv`` in the ``Snakefile``.
|
||||
|
||||
.. _solving_cf:
|
||||
|
||||
``solving``
|
||||
=============
|
||||
|
||||
@ -199,6 +220,8 @@ Specifies the temporal range to build an energy system model for as arguments to
|
||||
:widths: 25,7,22,30
|
||||
:file: configtables/solving-solver.csv
|
||||
|
||||
.. _plotting_cf:
|
||||
|
||||
``plotting``
|
||||
=============
|
||||
|
||||
|
@ -37,7 +37,7 @@ Scenarios, Configuration and Modification
|
||||
It is easy to run PyPSA-Eur for multiple scenarios using the `wildcards feature <https://snakemake.readthedocs.io/en/stable/snakefiles/rules.html#wildcards>`_ of ``snakemake``. Wildcards allow to generalise a rule to produce all files that follow a `regular expression <https://en.wikipedia.org/wiki/Regular_expression>`_ pattern, which e.g. defines one particular scenario. One can think of a wildcard as a parameter that shows up in the input/output file names and thereby determines which rules to run, what data to retrieve and what files to produce. **Details are explained in** :ref:`wildcards` **and** :ref:`scenario`.
|
||||
|
||||
The model also has several further configuration options collected in the ``config.yaml`` file
|
||||
located in the root directory. **All options are explained in detail in** :ref:`config`.
|
||||
located in the root directory, which that are not part of the scenarios. **All options are explained in detail in** :ref:`config`.
|
||||
|
||||
Folder Structure
|
||||
================
|
||||
|
@ -44,5 +44,4 @@ dependencies:
|
||||
- git+https://github.com/PyPSA/geokit.git#egg=geokit
|
||||
- git+https://github.com/FRESNA/powerplantmatching.git#egg=powerplantmatching
|
||||
- sphinx
|
||||
- sphinx_rtd_theme
|
||||
- sphinxcontrib-bibtex
|
||||
- sphinx_rtd_theme
|
@ -36,6 +36,9 @@ Relevant Settings
|
||||
lines:
|
||||
length_factor:
|
||||
|
||||
.. seealso::
|
||||
Documentation of the configuration file ``config.yaml`` at :ref:`costs_cf`, :ref:`electricity_cf`, :ref:`load_cf`, :ref:`renewable_cf`, :ref:`lines_cf`
|
||||
|
||||
Inputs
|
||||
------
|
||||
|
||||
|
@ -28,6 +28,11 @@ Relevant Settings
|
||||
x:
|
||||
s_nom:
|
||||
type:
|
||||
|
||||
.. seealso::
|
||||
Documentation of the configuration file ``config.yaml`` at
|
||||
:ref:`snapshots_cf`, :ref:`toplevel_cf`, :ref:`electricity_cf`, :ref:`load_cf`,
|
||||
:ref:`lines_cf`, :ref:`links_cf`, :ref:`transformers_cf`
|
||||
|
||||
Inputs
|
||||
------
|
||||
|
@ -8,6 +8,9 @@ Relevant Settings
|
||||
|
||||
countries:
|
||||
|
||||
.. seealso::
|
||||
Documentation of the configuration file ``config.yaml`` at
|
||||
:ref:`toplevel_cf`
|
||||
|
||||
Inputs
|
||||
------
|
||||
|
@ -15,6 +15,10 @@ Relevant Settings
|
||||
resource:
|
||||
correction_factor:
|
||||
|
||||
.. seealso::
|
||||
Documentation of the configuration file ``config.yaml`` at
|
||||
:ref:`snapshots_cf`, :ref:`renewable_cf`
|
||||
|
||||
Inputs
|
||||
------
|
||||
|
||||
|
@ -11,6 +11,10 @@ Relevant Settings
|
||||
cutouts:
|
||||
{cutout}:
|
||||
|
||||
.. seealso::
|
||||
Documentation of the configuration file ``config.yaml`` at
|
||||
:ref:`atlite_cf`
|
||||
|
||||
Inputs
|
||||
------
|
||||
|
||||
|
@ -14,6 +14,10 @@ Relevant Settings
|
||||
cutout:
|
||||
clip_min_inflow:
|
||||
|
||||
.. seealso::
|
||||
Documentation of the configuration file ``config.yaml`` at
|
||||
:ref:`toplevel_cf`, :ref:`renewable_cf`
|
||||
|
||||
Inputs
|
||||
------
|
||||
|
||||
|
@ -10,6 +10,10 @@ Relevant Settings
|
||||
{technology}:
|
||||
cutout:
|
||||
|
||||
.. seealso::
|
||||
Documentation of the configuration file ``config.yaml`` at
|
||||
:ref:`renewable_cf`
|
||||
|
||||
Inputs
|
||||
------
|
||||
|
||||
|
@ -10,6 +10,10 @@ Relevant Settings
|
||||
enable:
|
||||
powerplantmatching:
|
||||
|
||||
.. seealso::
|
||||
Documentation of the configuration file ``config.yaml`` at
|
||||
:ref:`toplevel_cf`
|
||||
|
||||
Inputs
|
||||
------
|
||||
|
||||
|
@ -35,6 +35,10 @@ Relevant settings
|
||||
clip_p_max_pu:
|
||||
resource:
|
||||
|
||||
.. seealso::
|
||||
Documentation of the configuration file ``config.yaml`` at
|
||||
:ref:`snapshots_cf`, :ref:`atlite_cf`, :ref:`renewable_cf`
|
||||
|
||||
Inputs
|
||||
------
|
||||
|
||||
|
@ -8,6 +8,10 @@ Relevant Settings
|
||||
|
||||
countries:
|
||||
|
||||
.. seealso::
|
||||
Documentation of the configuration file ``config.yaml`` at
|
||||
:ref:`toplevel_cf`
|
||||
|
||||
Inputs
|
||||
------
|
||||
|
||||
|
@ -18,6 +18,10 @@ Relevant Settings
|
||||
lines:
|
||||
length_factor:
|
||||
|
||||
.. seealso::
|
||||
Documentation of the configuration file ``config.yaml`` at
|
||||
:ref:`renewable_cf`, :ref:`solving_cf`, :ref:`lines_cf`
|
||||
|
||||
Inputs
|
||||
------
|
||||
|
||||
|
@ -15,6 +15,10 @@ Relevant Settings
|
||||
electricity:
|
||||
max_hours:
|
||||
|
||||
.. seealso::
|
||||
Documentation of the configuration file ``config.yaml`` at
|
||||
:ref:`costs_cf`, :ref:`electricity_cf`
|
||||
|
||||
Inputs
|
||||
------
|
||||
|
||||
|
@ -15,6 +15,12 @@ Description
|
||||
|
||||
"""
|
||||
|
||||
# Dirty work-around so that sphinx can import this module and get the
|
||||
# doc-string
|
||||
if __name__ != "__main__":
|
||||
import sys
|
||||
sys.exit(0)
|
||||
|
||||
import pypsa
|
||||
import pandas as pd
|
||||
import matplotlib.pyplot as plt
|
||||
|
@ -10,6 +10,10 @@ Relevant Settings
|
||||
enable:
|
||||
prepare_links_p_nom:
|
||||
|
||||
.. seealso::
|
||||
Documentation of the configuration file ``config.yaml`` at
|
||||
:ref:`toplevel_cf`
|
||||
|
||||
Inputs
|
||||
------
|
||||
|
||||
|
@ -18,6 +18,10 @@ Relevant Settings
|
||||
co2limit:
|
||||
max_hours:
|
||||
|
||||
.. seealso::
|
||||
Documentation of the configuration file ``config.yaml`` at
|
||||
:ref:`costs_cf`, :ref:`electricity_cf`
|
||||
|
||||
Inputs
|
||||
------
|
||||
|
||||
|
@ -32,6 +32,11 @@ Relevant Settings
|
||||
solver:
|
||||
name:
|
||||
|
||||
.. seealso::
|
||||
Documentation of the configuration file ``config.yaml`` at
|
||||
:ref:`costs_cf`, :ref:`electricity_cf`, :ref:`renewable_cf`,
|
||||
:ref:`lines_cf`, :ref:`links_cf`, :ref:`solving_cf`
|
||||
|
||||
Inputs
|
||||
------
|
||||
|
||||
|
@ -27,6 +27,10 @@ Relevant Settings
|
||||
(plotting:)
|
||||
(conv_techs:)
|
||||
|
||||
.. seealso::
|
||||
Documentation of the configuration file ``config.yaml`` at
|
||||
:ref:`electricity_cf`, :ref:`solving_cf`, :ref:`plotting_cf`
|
||||
|
||||
Inputs
|
||||
------
|
||||
|
||||
|
@ -21,11 +21,15 @@ Relevant Settings
|
||||
name:
|
||||
(solveroptions):
|
||||
|
||||
.. seealso::
|
||||
Documentation of the configuration file ``config.yaml`` at
|
||||
:ref:`solving_cf`
|
||||
|
||||
Inputs
|
||||
------
|
||||
|
||||
- ``networks/{network}_s{simpl}_{clusters}.nc``: confer :ref:`cluster`
|
||||
- ``results/networks/{network}_s{simpl}_{clusters}_l{ll}_{opts}.nc``: confer :ref:`solve `
|
||||
- ``results/networks/{network}_s{simpl}_{clusters}_l{ll}_{opts}.nc``: confer :ref:`solve`
|
||||
|
||||
Outputs
|
||||
-------
|
||||
|
@ -21,6 +21,10 @@ Relevant Settings
|
||||
name:
|
||||
(solveroptions):
|
||||
|
||||
.. seealso::
|
||||
Documentation of the configuration file ``config.yaml`` at
|
||||
:ref:`solving_cf`
|
||||
|
||||
Inputs
|
||||
------
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user