diff --git a/Snakefile b/Snakefile index d1cf19c2..55ee0594 100644 --- a/Snakefile +++ b/Snakefile @@ -8,10 +8,10 @@ from shutil import copyfile from snakemake.remote.HTTP import RemoteProvider as HTTPRemoteProvider HTTP = HTTPRemoteProvider() -if not exists("config.yaml"): +if not exists("../config.yaml"): copyfile("config.default.yaml", "config.yaml") -configfile: "config.yaml" +configfile: "../config.yaml" COSTS="data/costs.csv" ATLITE_NPROCESSES = config['atlite'].get('nprocesses', 4) @@ -410,4 +410,4 @@ rule plot_p_nom_max: input: input_plot_p_nom_max output: "results/plots/elec_s{simpl}_cum_p_nom_max_{clusts}_{techs}_{country}.{ext}" log: "logs/plot_p_nom_max/elec_s{simpl}_{clusts}_{techs}_{country}_{ext}.log" - script: "scripts/plot_p_nom_max.py" \ No newline at end of file + script: "scripts/plot_p_nom_max.py" diff --git a/scripts/build_cutout.py b/scripts/build_cutout.py index 78eafac6..59230434 100644 --- a/scripts/build_cutout.py +++ b/scripts/build_cutout.py @@ -103,7 +103,7 @@ logger = logging.getLogger(__name__) if __name__ == "__main__": if 'snakemake' not in globals(): from _helpers import mock_snakemake - snakemake = mock_snakemake('build_cutout', cutout='europe-2013-era5') + snakemake = mock_snakemake('build_cutout', cutout='europe-2013-era5-tutorial') configure_logging(snakemake) cutout_params = snakemake.config['atlite']['cutouts'][snakemake.wildcards.cutout] diff --git a/scripts/cluster_network.py b/scripts/cluster_network.py index 525196fc..cfe13494 100644 --- a/scripts/cluster_network.py +++ b/scripts/cluster_network.py @@ -328,7 +328,7 @@ def plot_busmap_for_n_clusters(n, n_clusters, fn=None): if __name__ == "__main__": if 'snakemake' not in globals(): from _helpers import mock_snakemake - snakemake = mock_snakemake('cluster_network', network='elec', simpl='', clusters='5') + snakemake = mock_snakemake('cluster_network', network='elec', simpl='', clusters='40') configure_logging(snakemake) n = pypsa.Network(snakemake.input.network) diff --git a/scripts/solve_network.py b/scripts/solve_network.py index acdc4f1a..4bbd375d 100755 --- a/scripts/solve_network.py +++ b/scripts/solve_network.py @@ -270,7 +270,7 @@ if __name__ == "__main__": if 'snakemake' not in globals(): from _helpers import mock_snakemake snakemake = mock_snakemake('solve_network', network='elec', simpl='', - clusters='6', ll='copt', opts='Co2L-24H') + clusters='40', ll='v1.0', opts='Co2L-4H') configure_logging(snakemake) tmpdir = snakemake.config['solving'].get('tmpdir') diff --git a/scripts/solve_operations_network.py b/scripts/solve_operations_network.py index 47bb713f..e308b503 100644 --- a/scripts/solve_operations_network.py +++ b/scripts/solve_operations_network.py @@ -97,7 +97,7 @@ if __name__ == "__main__": if 'snakemake' not in globals(): from _helpers import mock_snakemake snakemake = mock_snakemake('solve_operations_network', network='elec', - simpl='', clusters='5', ll='copt', opts='Co2L-BAU-24H') + simpl='', clusters='40', ll='v1.0', opts='Co2L-4H') configure_logging(snakemake) tmpdir = snakemake.config['solving'].get('tmpdir')