lisazeyen
1b97a16bfa
add option to vary parameter ( #1244 )
...
* add option to vary parameter
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* remove logger.info
* adjust maybe_adjust_costs_and_potentials
* update configtables
* revert removed cost_factor
* reset build_energy_totals to master
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* add release notes
* Revert "revert removed cost_factor"
This reverts commit b7154f046954bd6de34c2910f3f9f52b44d5f233.
---------
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Fabian Neumann <fabian.neumann@outlook.de>
2024-09-12 16:02:10 +02:00
Fabian Neumann
88d28de3a1
resolve Kosovo (XK) as separate country ( #1249 )
...
* resolve Kosovo (XK) as separate country
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* fillna
* add missing key in data/existing_infrastructure/existing_heating_raw.csv
---------
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2024-08-30 15:36:03 +02:00
Micha
d3b24face6
revert to old config keys ( #1152 )
...
* revert to old config keys
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
---------
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2024-07-12 16:22:53 +02:00
cpschau
fe5487e277
adjust parameters in config update from wildcards
2024-07-09 14:05:43 +02:00
bobbyxng
6962ba0cfb
Fixed mock_snakemake for snakemake v.8.14: All snakemake settings moved to snakemake.settings.types.
2024-06-20 15:46:14 +02:00
Fabian Neumann
14b8de8348
compatibility with snakemake 8.14 closes #1108
2024-06-20 14:38:04 +02:00
Fabian Neumann
6321a69870
rearrange config settings under 'run: shared_resources:'
2024-05-13 14:23:09 +02:00
pre-commit-ci[bot]
0fb68d11d8
[pre-commit.ci] auto fixes from pre-commit.com hooks
...
for more information, see https://pre-commit.ci
2024-05-13 14:22:05 +02:00
toniseibold
e75e3bd8d7
allow excluding files from shared_resources
2024-05-13 14:21:43 +02:00
Fabian Neumann
a1e42db58b
change in zenodo urls from record to records
2024-04-15 15:14:02 +02:00
Philipp Glaum
05a3c43c30
move prefix from Snakefile to get_dir function
2024-04-10 12:23:28 +02:00
Michael Lindner
89dbd53805
provide Path object as input to ConfigSettings
2024-03-26 17:20:10 +01:00
Koen van Greevenbroek
8b2a068b3a
Check if scenario file exists before attempting to load
...
Useful when running the `create_scenarios` rule the first time.
2024-03-26 11:57:21 +01:00
Fabian
34f0294264
scenario management: fix shared resources
2024-03-25 14:27:50 +01:00
Fabian Hofmann
60725940ad
Merge branch 'master' into dedicated-shared-resource
2024-03-20 12:42:07 +01:00
Fabian
23e1139c21
snakefile + helpers: separate scenario and rdir getter
2024-03-19 09:39:35 +01:00
Fabian
2565a7db4f
snakefile: move copy_default_files and process_run_config to helpers
2024-03-19 08:30:20 +01:00
Fabian
f3eae37a02
scneario management: reenable shared resources in one folder
2024-03-18 19:41:35 +01:00
Fabian Neumann
3a54653711
fix shared resources for scenario management with {kind} wildcard
2024-03-15 13:50:27 +01:00
Fabian Neumann
0d6ba9fbd1
move leap year handling into helper function
2024-03-14 15:15:56 +01:00
Fabian Neumann
d983d79ed2
Merge branch 'master' into snakemake-8
2024-03-08 17:50:08 +01:00
Fabian Neumann
719d4dad23
Merge branch 'master' into scenario-management
2024-02-20 12:08:54 +01:00
Fabian Neumann
16e2286188
update copyright years to 2024
2024-02-19 16:21:48 +01:00
Fabian Neumann
df0eb38a68
_helpers: generalise regular expression in find_opt
2024-02-17 23:38:59 +01:00
Fabian Neumann
9f643ea429
_helpers: add inplace keyword argument to update_config_from_wildcards
2024-02-17 20:45:44 +01:00
Fabian Neumann
e898781fda
use wildcard input functions where applicable
2024-02-17 18:35:26 +01:00
Fabian Neumann
95853bb59d
_helpers: allow specifying dedicated shared_resources folder
2024-02-17 18:27:59 +01:00
Fabian Neumann
84c3852c2e
_helpers: remove resource folder separation by wildcard
...
This was not working reliably as the number of input and output wildcards could vary, which the function did not acknowledge
2024-02-17 18:15:43 +01:00
Fabian Neumann
db7c983950
mock_snakemake: remove dangeours empty list as default argument
2024-02-17 18:14:18 +01:00
Fabian Neumann
35b2228891
Merge branch 'wc-to-cf' into scenario-management
2024-02-17 17:16:28 +01:00
Fabian Neumann
dd2416a59e
handle all {opts} and {sector_opts} wildcard values in config
2024-02-17 11:57:16 +01:00
Fabian Neumann
16e42c8fe6
further progress and bugfixes
2024-02-16 11:17:00 +01:00
Fabian Neumann
6de08bd523
Merge branch 'master' into scenario-management
2024-02-10 17:22:01 +01:00
Fabian Neumann
3691f9f4c1
update version compatibility handling
2024-02-09 13:59:15 +01:00
Fabian
1ffb28b3fc
helpers: parse: fix docstring and take original implementation
2024-01-19 12:23:29 +01:00
Fabian
025688bf70
refactor and fix remaining linting problems
2024-01-19 12:17:45 +01:00
Fabian
f876d78ed4
fix linting: run ruff
2024-01-19 12:17:45 +01:00
pre-commit-ci[bot]
35f1c06f75
[pre-commit.ci] auto fixes from pre-commit.com hooks
...
for more information, see https://pre-commit.ci
2024-01-18 13:18:28 +00:00
euronion
ecb0a1f79f
Log unhandled exceptions stacktraces in log files
2024-01-18 14:12:17 +01:00
pre-commit-ci[bot]
21a223262f
[pre-commit.ci] auto fixes from pre-commit.com hooks
...
for more information, see https://pre-commit.ci
2024-01-16 15:53:18 +00:00
Michael Lindner
3f8a55992c
locate project dir if pypsa-eur is a submodule
2024-01-16 16:50:54 +01:00
Fabian Neumann
83ecaac4de
Merge branch 'master' into wildcard-opts-config
2024-01-03 13:08:21 +01:00
Fabian Neumann
98e47eab3c
mock_snakemake: adjust to snakemake version 8
2023-12-31 13:00:21 +01:00
pre-commit-ci[bot]
de3b6c9573
[pre-commit.ci] auto fixes from pre-commit.com hooks
...
for more information, see https://pre-commit.ci
2023-12-29 11:38:43 +00:00
Fabian Neumann
71985d5e3a
validate checksums for zenodo downloads
2023-12-29 12:34:14 +01:00
Fabian
75e66be571
helpers: adjust mock_snakemake to be callable with different root dirs
2023-10-31 12:09:39 +01:00
Sourcery AI
3c36c60bdd
'Refactored by Sourcery'
2023-10-08 09:20:36 +00:00
pre-commit-ci[bot]
d75b0ae8ab
[pre-commit.ci] auto fixes from pre-commit.com hooks
...
for more information, see https://pre-commit.ci
2023-09-28 19:11:54 +00:00
virio-andreyana
a3a7e19b07
add finishing touches
2023-09-28 21:11:22 +02:00
pre-commit-ci[bot]
3eed341044
[pre-commit.ci] auto fixes from pre-commit.com hooks
...
for more information, see https://pre-commit.ci
2023-09-11 21:04:00 +00:00