From 9f0515105b41414df7feb8052077f3cc18a3031d Mon Sep 17 00:00:00 2001 From: Qui-Rin <94053589+Qui-Rin@users.noreply.github.com> Date: Fri, 14 Jan 2022 19:02:44 +0100 Subject: [PATCH 1/2] build_load_data: Removed underscore in pattern When using the transparency option the pattern used as a filter is created with a double underscore -> removed underscore in '_transparency' --- scripts/build_load_data.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/build_load_data.py b/scripts/build_load_data.py index f71be6ea..840cb6c7 100755 --- a/scripts/build_load_data.py +++ b/scripts/build_load_data.py @@ -70,7 +70,7 @@ def load_timeseries(fn, years, countries, powerstatistics=True): """ logger.info(f"Retrieving load data from '{fn}'.") - pattern = 'power_statistics' if powerstatistics else '_transparency' + pattern = 'power_statistics' if powerstatistics else 'transparency' pattern = f'_load_actual_entsoe_{pattern}' rename = lambda s: s[:-len(pattern)] date_parser = lambda x: dateutil.parser.parse(x, ignoretz=True) From dbf0f65ab53f2e3b100336ea2c273915ee9361dd Mon Sep 17 00:00:00 2001 From: Fabian Neumann Date: Mon, 24 Jan 2022 11:16:23 +0100 Subject: [PATCH 2/2] Update config.default.yaml --- config.default.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/config.default.yaml b/config.default.yaml index 7a443a03..d2bf6159 100755 --- a/config.default.yaml +++ b/config.default.yaml @@ -154,6 +154,7 @@ renewable: # sector: The economic potential of photovoltaics and concentrating solar # power." Applied Energy 135 (2014): 704-720. # This correction factor of 0.854337 may be in order if using reanalysis data. + # for discussion refer to https://github.com/PyPSA/pypsa-eur/pull/304 # correction_factor: 0.854337 corine: [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 26, 31, 32]