diff --git a/Snakefile b/Snakefile
index 279a9528..d13ad5cb 100644
--- a/Snakefile
+++ b/Snakefile
@@ -1,4 +1,4 @@
-configfile: "config.tutorial.yaml"
+configfile: "config.yaml"
COSTS="data/costs.csv"
diff --git a/scripts/base_network.py b/scripts/base_network.py
index fb91b5ed..e65b1f29 100644
--- a/scripts/base_network.py
+++ b/scripts/base_network.py
@@ -18,26 +18,26 @@ Relevant Settings
types:
s_max_pu:
under_construction:
-
+
links:
p_max_pu:
under_construction:
include_tyndp:
-
+
transformers:
x:
s_nom:
type:
-.. seealso::
+.. 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
------
-- ``data/entsoegridkit``: Extract from the geographical vector data of the online `ENTSO-E Interactive Map `_ by the `GridKit `_ toolkit.
+- ``data/entsoegridkit``: Extract from the geographical vector data of the online `ENTSO-E Interactive Map `_ by the `GridKit `_ toolkit.
- ``data/parameter_corrections.yaml``: Corrections for ``data/entsoegridkit``
- ``data/links_p_nom.csv``: confer :ref:`links`
- ``data/links_tyndp.csv``: List of projects in the `TYNDP 2018 `_ that are at least *in permitting* with fields for start- and endpoint (names and coordinates), length, capacity, construction status, and project reference ID.
@@ -236,7 +236,7 @@ def _add_links_from_tyndp(buses, links):
links_tyndp.index = "T" + links_tyndp.index.astype(str)
- return buses, links.append(links_tyndp)
+ return buses, links.append(links_tyndp, sort=True)
def _load_lines_from_eg(buses):
lines = (pd.read_csv(snakemake.input.eg_lines, quotechar="'", true_values='t', false_values='f',
@@ -469,7 +469,7 @@ def _replace_b2b_converter_at_country_border_by_link(n):
def _set_links_underwater_fraction(n):
if n.links.empty: return
-
+
if not hasattr(n.links, 'geometry'):
n.links['underwater_fraction'] = 0.
else:
diff --git a/scripts/build_shapes.py b/scripts/build_shapes.py
index 972706cf..9105c51c 100644
--- a/scripts/build_shapes.py
+++ b/scripts/build_shapes.py
@@ -8,7 +8,7 @@ Relevant Settings
countries:
-.. seealso::
+.. seealso::
Documentation of the configuration file ``config.yaml`` at
:ref:`toplevel_cf`
@@ -52,9 +52,9 @@ Outputs
.. image:: ../img/europe_shape.png
:scale: 33 %
-
+
- ``resources/nuts3_shapes.geojson``: NUTS3 shapes out of country selection including population and GDP data.
-
+
.. image:: ../img/nuts3_shapes.png
:scale: 33 %
@@ -182,7 +182,7 @@ def nuts3(country_shapes):
manual['geometry'] = manual['country'].map(country_shapes)
manual = manual.dropna()
- df = df.append(manual)
+ df = df.append(manual, sort=False)
df.loc['ME000', 'pop'] = 650.