Skip to content

Commit

Permalink
config file correction
Browse files Browse the repository at this point in the history
  • Loading branch information
Margherita-Capitani authored and davide-f committed Jun 18, 2024
1 parent 76c786a commit 72a7bcc
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 18 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci-linux.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ on:
- cron: "0 5 * * TUE"

env:
CACHE_NUMBER: 1 # Change this value to manually reset the environment cache
CACHE_NUMBER: 3 # Change this value to manually reset the environment cache

jobs:
build:
Expand Down Expand Up @@ -62,8 +62,8 @@ jobs:
if: steps.cache.outputs.cache-hit != 'true'
run: |
mamba env update -n pypsa-earth -f pypsa-earth/envs/environment.yaml
mamba activate pypsa_earth
mamba install -y ramp
conda activate pypsa-earth
pip install rampdemand
- name: Conda list
run: |
Expand Down
30 changes: 15 additions & 15 deletions test/config.distribution.test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,8 @@ logging:
level: INFO
format: "%(levelname)s:%(name)s:%(message)s"

scenario:
simpl: ['']
ll: ['copt']
clusters: [55]
opts: [Co2L-3H] #Co2L adds an overall absolute carbon-dioxide emissions limi
#3H resamples the time-resolution by averaging over every 3 snapshots

countries: ["NG"]
# Can be replaced by country ["NG", "BJ"] or user specific region, more at https://pypsa-earth.readthedocs.io/en/latest/configuration.html#top-level-configuration
# option to disable the subworkflow to ease the analyses
disable_subworkflow: false

enable:
# prepare_links_p_nom: false
Expand All @@ -31,16 +24,23 @@ enable:
build_cutout: false
build_natura_raster: false # If True, then build_natura_raster can be run

year: "2020" #Year setting allows the choice of which data to download (es. Worldpop_data)
scenario:
simpl: ['']
ll: ['copt']
clusters: [55]
opts: [Co2L-3H] #Co2L adds an overall absolute carbon-dioxide emissions limi
#3H resamples the time-resolution by averaging over every 3 snapshots

countries: ["NG"]
# Can be replaced by country ["NG", "BJ"] or user specific region, more at https://pypsa-earth.readthedocs.io/en/latest/configuration.html#top-level-configuration

year: "2019" #Year setting allows the choice of which data to download (es. Worldpop_data)

snapshots:
start: "2013-01-01"
end: "2014-01-01"
inclusive: "left" # end is not inclusive

# CI relevant
retrieve_databundle: # required to be "false" for nice CI test output
show_progress: false # show (true) or do not show (false) the progress bar in retrieve_databundle while downloading data

# definition of the Coordinate Reference Systems
crs:
Expand All @@ -52,6 +52,7 @@ crs:
electricity:
voltage: 0.22
line_type: "24-AL1/4-ST1A 0.4"

max_hours:
battery: 6
H2: 168
Expand Down Expand Up @@ -102,13 +103,12 @@ tech_modelling:
conv_techs: ["diesel"]
load_carriers: ["AC load"]

microgrids_list:
microgrids_list: #MICROGRIDS IN NIGERIA
microgrid_1: #WORKING
lon_max: 5.0998
lon_min: 6.1700
lat_min: 8.2356
lat_max: 9.8012

load:
scaling_factor: 15000

Expand Down

0 comments on commit 72a7bcc

Please sign in to comment.