From f5edafd00d4103aa586dedab0b11ba8aacfdfbc8 Mon Sep 17 00:00:00 2001 From: Fabian Neumann Date: Thu, 9 Mar 2023 11:37:34 +0100 Subject: [PATCH] speed-up CI, just a week rather than a month, 4 nodes, 40H --- scripts/build_population_layouts.py | 2 +- test/config.myopic.yaml | 6 +++--- test/config.overnight.yaml | 6 +++--- test/config.test1.yaml | 4 ++-- 4 files changed, 9 insertions(+), 9 deletions(-) diff --git a/scripts/build_population_layouts.py b/scripts/build_population_layouts.py index 997e1e5a..e3ac8f45 100644 --- a/scripts/build_population_layouts.py +++ b/scripts/build_population_layouts.py @@ -41,7 +41,7 @@ if __name__ == "__main__": # but imprecisions mean not perfect Iinv = cutout.indicatormatrix(nuts3.geometry) - countries = np.sort(snakemake.config["countries"]) + countries = np.sort(nuts3.country.unique()) urban_fraction = ( pd.read_csv( diff --git a/test/config.myopic.yaml b/test/config.myopic.yaml index f51dcd77..cc37a61c 100644 --- a/test/config.myopic.yaml +++ b/test/config.myopic.yaml @@ -15,9 +15,9 @@ scenario: ll: - v1.5 clusters: - - 5 + - 4 sector_opts: - - 191H-T-H-B-I-A-solar+p3-dist1 + - 40H-T-H-B-I-A-solar+p3-dist1 planning_horizons: - 2030 - 2040 @@ -27,7 +27,7 @@ countries: ['BE'] snapshots: start: "2013-03-01" - end: "2013-04-01" + end: "2013-03-08" electricity: renewable_carriers: [solar, onwind, offwind-ac, offwind-dc] diff --git a/test/config.overnight.yaml b/test/config.overnight.yaml index 5130c28d..62d7ffb9 100644 --- a/test/config.overnight.yaml +++ b/test/config.overnight.yaml @@ -14,9 +14,9 @@ scenario: ll: - v1.5 clusters: - - 5 + - 4 sector_opts: - - CO2L0-191H-T-H-B-I-A-solar+p3-dist1 + - CO2L0-40H-T-H-B-I-A-solar+p3-dist1 planning_horizons: - 2030 @@ -24,7 +24,7 @@ countries: ['BE'] snapshots: start: "2013-03-01" - end: "2013-04-01" + end: "2013-03-08" electricity: renewable_carriers: [solar, onwind, offwind-ac, offwind-dc] diff --git a/test/config.test1.yaml b/test/config.test1.yaml index d95858de..dfefcdc7 100755 --- a/test/config.test1.yaml +++ b/test/config.test1.yaml @@ -13,9 +13,9 @@ run: scenario: clusters: - - 5 + - 4 opts: - - Co2L-24H + - Co2L-40H countries: ['BE']