prepare CI for all three cases
This commit is contained in:
parent
76d57731ec
commit
561a1d2da8
4
.github/workflows/ci.yaml
vendored
4
.github/workflows/ci.yaml
vendored
@ -103,5 +103,5 @@ jobs:
|
|||||||
conda activate pypsa-eur
|
conda activate pypsa-eur
|
||||||
conda list
|
conda list
|
||||||
snakemake -call solve_all_elec_networks --configfile test/config.test1.yaml
|
snakemake -call solve_all_elec_networks --configfile test/config.test1.yaml
|
||||||
snakemake -call --configfile test/config.overnight.yaml
|
snakemake -call all --configfile test/config.overnight.yaml
|
||||||
snakemake -call --configfile test/config.myopic.yaml
|
snakemake -call all --configfile test/config.myopic.yaml
|
||||||
|
@ -282,7 +282,7 @@ if config["enable"].get("retrieve_cost_data", True):
|
|||||||
keep_local=True,
|
keep_local=True,
|
||||||
),
|
),
|
||||||
output:
|
output:
|
||||||
"data/costs_{year}.csv",
|
"data/" + RDIR + "costs_{year}.csv",
|
||||||
log:
|
log:
|
||||||
"logs/" + RDIR + "retrieve_cost_data_{year}.log",
|
"logs/" + RDIR + "retrieve_cost_data_{year}.log",
|
||||||
resources:
|
resources:
|
||||||
|
@ -1,9 +1,15 @@
|
|||||||
run: test-myopic
|
# SPDX-FileCopyrightText: : 2017-2023 The PyPSA-Eur Authors
|
||||||
|
#
|
||||||
|
# SPDX-License-Identifier: CC0-1.0
|
||||||
|
|
||||||
|
run:
|
||||||
|
name: "test-sector-myopic"
|
||||||
|
|
||||||
foresight: myopic
|
foresight: myopic
|
||||||
|
|
||||||
scenario:
|
scenario:
|
||||||
lv:
|
ll:
|
||||||
- 1.5
|
- v1.5
|
||||||
clusters:
|
clusters:
|
||||||
- 5
|
- 5
|
||||||
sector_opts:
|
sector_opts:
|
||||||
@ -13,12 +19,32 @@ scenario:
|
|||||||
- 2040
|
- 2040
|
||||||
- 2050
|
- 2050
|
||||||
|
|
||||||
|
countries: ['BE']
|
||||||
|
|
||||||
snapshots:
|
snapshots:
|
||||||
start: "2013-03-01"
|
start: "2013-03-01"
|
||||||
end: "2013-04-01"
|
end: "2013-04-01"
|
||||||
|
|
||||||
atlite:
|
atlite:
|
||||||
cutout: ../pypsa-eur/cutouts/be-03-2013-era5.nc
|
default_cutout: be-03-2013-era5
|
||||||
|
cutouts:
|
||||||
|
be-03-2013-era5:
|
||||||
|
module: era5
|
||||||
|
x: [4., 15.]
|
||||||
|
y: [46., 56.]
|
||||||
|
time: ["2013-03-01", "2013-03-08"]
|
||||||
|
|
||||||
|
renewable:
|
||||||
|
onwind:
|
||||||
|
cutout: be-03-2013-era5
|
||||||
|
offwind-ac:
|
||||||
|
cutout: be-03-2013-era5
|
||||||
|
max_depth: false
|
||||||
|
offwind-dc:
|
||||||
|
cutout: be-03-2013-era5
|
||||||
|
max_depth: false
|
||||||
|
solar:
|
||||||
|
cutout: be-03-2013-era5
|
||||||
|
|
||||||
solving:
|
solving:
|
||||||
solver:
|
solver:
|
||||||
|
@ -1,9 +1,13 @@
|
|||||||
run: test-overnight
|
# SPDX-FileCopyrightText: : 2017-2023 The PyPSA-Eur Authors
|
||||||
foresight: overnight
|
#
|
||||||
|
# SPDX-License-Identifier: CC0-1.0
|
||||||
|
|
||||||
|
run:
|
||||||
|
name: "test-sector-overnight"
|
||||||
|
|
||||||
scenario:
|
scenario:
|
||||||
lv:
|
ll:
|
||||||
- 1.5
|
- v1.5
|
||||||
clusters:
|
clusters:
|
||||||
- 5
|
- 5
|
||||||
sector_opts:
|
sector_opts:
|
||||||
@ -11,12 +15,35 @@ scenario:
|
|||||||
planning_horizons:
|
planning_horizons:
|
||||||
- 2030
|
- 2030
|
||||||
|
|
||||||
|
countries: ['BE']
|
||||||
|
|
||||||
snapshots:
|
snapshots:
|
||||||
start: "2013-03-01"
|
start: "2013-03-01"
|
||||||
end: "2013-04-01"
|
end: "2013-04-01"
|
||||||
|
|
||||||
|
electricity:
|
||||||
|
renewable_carriers: [solar, onwind, offwind-ac, offwind-dc]
|
||||||
|
|
||||||
atlite:
|
atlite:
|
||||||
cutout: ../pypsa-eur/cutouts/be-03-2013-era5.nc
|
default_cutout: be-03-2013-era5
|
||||||
|
cutouts:
|
||||||
|
be-03-2013-era5:
|
||||||
|
module: era5
|
||||||
|
x: [4., 15.]
|
||||||
|
y: [46., 56.]
|
||||||
|
time: ["2013-03-01", "2013-03-08"]
|
||||||
|
|
||||||
|
renewable:
|
||||||
|
onwind:
|
||||||
|
cutout: be-03-2013-era5
|
||||||
|
offwind-ac:
|
||||||
|
cutout: be-03-2013-era5
|
||||||
|
max_depth: false
|
||||||
|
offwind-dc:
|
||||||
|
cutout: be-03-2013-era5
|
||||||
|
max_depth: false
|
||||||
|
solar:
|
||||||
|
cutout: be-03-2013-era5
|
||||||
|
|
||||||
sector:
|
sector:
|
||||||
gas_network: true
|
gas_network: true
|
||||||
|
@ -4,9 +4,14 @@
|
|||||||
|
|
||||||
tutorial: true
|
tutorial: true
|
||||||
|
|
||||||
|
run:
|
||||||
|
name: "test-elec" # use this to keep track of runs with different settings
|
||||||
|
|
||||||
scenario:
|
scenario:
|
||||||
clusters: [5]
|
clusters:
|
||||||
opts: [Co2L-24H]
|
- 5
|
||||||
|
opts:
|
||||||
|
- Co2L-24H
|
||||||
|
|
||||||
countries: ['BE']
|
countries: ['BE']
|
||||||
|
|
||||||
@ -27,6 +32,7 @@ electricity:
|
|||||||
|
|
||||||
|
|
||||||
atlite:
|
atlite:
|
||||||
|
default_cutout: be-03-2013-era5
|
||||||
cutouts:
|
cutouts:
|
||||||
be-03-2013-era5:
|
be-03-2013-era5:
|
||||||
module: era5
|
module: era5
|
||||||
|
Loading…
Reference in New Issue
Block a user