Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
251 commits
Select commit Hold shift + click to select a range
66366ed
Setting up the configuration changes to accept ordered rules for clea…
ddahawkins-TUDelft Aug 3, 2026
09d04b6
Enabled the gap_filling pipeline capability, modified the config sche…
ddahawkins-TUDelft Aug 3, 2026
277dc68
Fixed a misconfig
ddahawkins-TUDelft Aug 3, 2026
990f5cb
Impemented the copy_period logic
ddahawkins-TUDelft Aug 4, 2026
3db22e8
enabled value source as a snakemake output
ddahawkins-TUDelft Aug 4, 2026
50a398d
Restructured the code base to permit use of and combine both entsoe a…
ddahawkins-TUDelft Aug 4, 2026
efa29e7
Implemented the provenance tracking capability and updated schema val…
ddahawkins-TUDelft Aug 4, 2026
67a7629
Updates to deliver gap filling plotting logic and to force snakemake …
ddahawkins-TUDelft Aug 4, 2026
6bdfb24
update config schema as accidentally removed rules in previous patch
ddahawkins-TUDelft Aug 4, 2026
508a51b
Added NESO integration to pull in GB data, updated the plotting funct…
ddahawkins-TUDelft Aug 5, 2026
94cd15b
Implemented average periods gap filling mode
ddahawkins-TUDelft Aug 5, 2026
99512a6
Changed config larameter from 'enabled' (boolean) to 'mode' (str) to …
ddahawkins-TUDelft Aug 5, 2026
8586889
Included functionality to generate the gap report for advanced gap-fi…
ddahawkins-TUDelft Aug 6, 2026
0d1dfaf
Restructured directory to separate basic cleaning and advanced cleani…
ddahawkins-TUDelft Aug 6, 2026
280e044
Added the advanced planning framework and schema validation changes.
ddahawkins-TUDelft Aug 6, 2026
8578036
Generates the auxiliary plan (part 1)
ddahawkins-TUDelft Aug 6, 2026
4fc75cb
Decouple basic gap filling from workflow mode
ddahawkins-TUDelft Aug 7, 2026
8ef4804
Generalize ENTSO-E download parameters
ddahawkins-TUDelft Aug 7, 2026
2ae5f37
Centralize hourly UTC time-index handling
ddahawkins-TUDelft Aug 7, 2026
bdaad4c
Requirements gathering functions implemented for auxiliary data pull
ddahawkins-TUDelft Aug 7, 2026
e7bd5fb
Expand auxiliary requirements for basic cleaning
ddahawkins-TUDelft Aug 7, 2026
2ef2d58
Requirements configuration completed
ddahawkins-TUDelft Aug 7, 2026
ab7adef
Commit in advance of snakemake checkpoints -friendly restructure
ddahawkins-TUDelft Aug 7, 2026
db6f6f6
Added snakemake checkpoint
ddahawkins-TUDelft Aug 7, 2026
0ff9cdb
Bug fixes with aux checkpoint
ddahawkins-TUDelft Aug 7, 2026
4d3ce51
Updated cleaned boundary
ddahawkins-TUDelft Aug 7, 2026
19767a2
Batch ID in advanced mode updated to hash countries as there was pote…
ddahawkins-TUDelft Aug 7, 2026
f4d496b
Add dynamic auxiliary ENTSO-E and OPSD preparation
ddahawkins-TUDelft Aug 7, 2026
604364c
Make NESO downloads reusable by year
ddahawkins-TUDelft Aug 7, 2026
dfaf983
Prepare neso auxiliary data
ddahawkins-TUDelft Aug 7, 2026
370f11f
Combines the separate auxiliary sources into one dataframe (not imple…
ddahawkins-TUDelft Aug 7, 2026
d41be02
Apply basic cleaning to auxiliary fill data
ddahawkins-TUDelft Aug 10, 2026
ca22542
Implement weighted auxiliary source construction
ddahawkins-TUDelft Aug 10, 2026
c6c601e
Construct auxiliary profile for filling gaps (advanced)
ddahawkins-TUDelft Aug 10, 2026
41ea1b2
Apply constructed auxiliary profiles to target demand
ddahawkins-TUDelft Aug 10, 2026
6f3419a
Support sequential advanced overrides and leap-year alignment
ddahawkins-TUDelft Aug 10, 2026
c139514
Advanced workflow is fully wired into the load_cleaned.parquet now
ddahawkins-TUDelft Aug 10, 2026
c6516f3
Advanced filling now shows in the diagnostic plot
ddahawkins-TUDelft Aug 10, 2026
4c62cab
Refactored the basic subdirectory
ddahawkins-TUDelft Aug 10, 2026
2310d6d
refactored the basic subdirectory
ddahawkins-TUDelft Aug 10, 2026
883af25
Refactored the advanced folders
ddahawkins-TUDelft Aug 10, 2026
e936aed
Reorganised folders and fixed bad imports
ddahawkins-TUDelft Aug 10, 2026
716706c
Centralize final cleaning provenance
ddahawkins-TUDelft Aug 10, 2026
a8bd3ab
Refactored plotting logic to separate it from snakemake script calls
ddahawkins-TUDelft Aug 10, 2026
8b07b6a
As per previous commit
ddahawkins-TUDelft Aug 10, 2026
8a57b9c
Changed plotting to viridis for colourblind friendliness and visual s…
ddahawkins-TUDelft Aug 10, 2026
d3ae4f1
Add energy-matched auxiliary profile scaling
ddahawkins-TUDelft Aug 10, 2026
583c7dc
Validated end to end
ddahawkins-TUDelft Aug 10, 2026
bc28a27
Testing a larger run
ddahawkins-TUDelft Aug 10, 2026
f67275d
Optimised the ENTSOE Downloader to make requests in parallel alongsid…
ddahawkins-TUDelft Aug 10, 2026
c73e03c
Advanced overrides are now filtered active/inactive based on countrie…
ddahawkins-TUDelft Aug 11, 2026
f6489bc
Implemented active vs. inactive rules such that users can maintain a …
ddahawkins-TUDelft Aug 11, 2026
456f114
Added config test for advanced overrides
ddahawkins-TUDelft Aug 11, 2026
223c781
refactor: compile advanced execution manifest
ddahawkins-TUDelft Aug 12, 2026
bb22bb9
Stripped python dependencies (local) from advanced.smk
ddahawkins-TUDelft Aug 12, 2026
3cde5bd
Implemented manifest helper to reduce local python dependencies
ddahawkins-TUDelft Aug 12, 2026
9bd8eff
isolate snakemake dispatch environment
ddahawkins-TUDelft Aug 12, 2026
421048e
Updated pixi toml and validated that code does not depend on local li…
ddahawkins-TUDelft Aug 12, 2026
62dc24a
Fixed legacy bug in advanced.smk
ddahawkins-TUDelft Aug 12, 2026
52f5330
Finalised the removal of local python dependencies from snakemake cod…
ddahawkins-TUDelft Aug 12, 2026
fdc1cfe
Changed advanced scope enums
ddahawkins-TUDelft Aug 12, 2026
7425dbc
Rewired overrides code to allow for external_profile alongside constr…
ddahawkins-TUDelft Aug 12, 2026
7413ff4
Fixed bug and added external profile read tests
ddahawkins-TUDelft Aug 12, 2026
8268be0
Added that aux data accepts external_profile changes
ddahawkins-TUDelft Aug 12, 2026
2655e40
Moved the threads assignment for entso-e into snakemake with a cap un…
ddahawkins-TUDelft Aug 12, 2026
a43fe40
Improved logging on entso-e downloads
ddahawkins-TUDelft Aug 12, 2026
9b078e3
Provided advanced.smk with the same threads determining capability as…
ddahawkins-TUDelft Aug 12, 2026
4426810
Cleaned the repo up and generalised the code
ddahawkins-TUDelft Aug 12, 2026
86ae72c
Added proper resource path for the external profiles
ddahawkins-TUDelft Aug 12, 2026
479daf4
Updated README
ddahawkins-TUDelft Aug 13, 2026
80a6f64
Removed TUR from ENTSO-E Grab given the non-existent data
ddahawkins-TUDelft Aug 13, 2026
9cce016
Removed TURKEY from ENTSO-E Download given lack of data.
ddahawkins-TUDelft Aug 13, 2026
049922e
Removed manual_review as an advanced method.
ddahawkins-TUDelft Aug 13, 2026
fdf57c7
Updated config README and INTERFACE.yaml
ddahawkins-TUDelft Aug 13, 2026
0349a19
Updated README with new illustrative figure
ddahawkins-TUDelft Aug 13, 2026
3add354
Reverted test_config to original temporal_scope
ddahawkins-TUDelft Aug 13, 2026
83fc72e
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Aug 13, 2026
53746b7
Removed dead functions
ddahawkins-TUDelft Aug 13, 2026
d208fee
Update ruff to ignore test formats.
ddahawkins-TUDelft Aug 13, 2026
86d2ff6
Added docstrings to pass Ruff tests, exempted the "ND" error and fil…
ddahawkins-TUDelft Aug 13, 2026
73a1093
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Aug 13, 2026
89ffe13
Implemented broad validation refactor to remove redundant validation …
ddahawkins-TUDelft Aug 14, 2026
d566e83
Removed redundant validation from basic gap-filling functions
ddahawkins-TUDelft Aug 14, 2026
18c8874
Removed redundant validation from advanced gap-filling
ddahawkins-TUDelft Aug 14, 2026
49f7aeb
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Aug 14, 2026
436ccf3
Advanced methods bug fixes
ddahawkins-TUDelft Aug 14, 2026
ba6b389
Merge branch 'feature/electricity_demand_imputation' of github.com:dd…
ddahawkins-TUDelft Aug 14, 2026
38c696d
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Aug 14, 2026
1789e1d
Removed redundant validation from cleaning functions.
ddahawkins-TUDelft Aug 14, 2026
7b53c6b
Merge branch 'feature/electricity_demand_imputation' of github.com:dd…
ddahawkins-TUDelft Aug 14, 2026
bf51c9e
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Aug 14, 2026
f19e011
Added rule-name collissions to validator
ddahawkins-TUDelft Aug 14, 2026
8d36b21
Merge branch 'feature/electricity_demand_imputation' of github.com:dd…
ddahawkins-TUDelft Aug 14, 2026
434281a
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Aug 14, 2026
39161ef
Removed redundant validation.
ddahawkins-TUDelft Aug 14, 2026
1da8d7f
Merge branch 'feature/electricity_demand_imputation' of github.com:dd…
ddahawkins-TUDelft Aug 14, 2026
fc29043
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Aug 14, 2026
9a40995
More redundant validation removal.
ddahawkins-TUDelft Aug 14, 2026
a532efa
Merge branch 'feature/electricity_demand_imputation' of github.com:dd…
ddahawkins-TUDelft Aug 14, 2026
12ce7d8
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Aug 14, 2026
073f1dd
Added local caching capability for OPSD download to minimise OPSD dow…
ddahawkins-TUDelft Aug 14, 2026
d601ef1
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Aug 14, 2026
cc59aad
Added update flag to OPSD download to enable caching
ddahawkins-TUDelft Aug 14, 2026
b5372b0
Provided caching capability to the population download.
ddahawkins-TUDelft Aug 14, 2026
18e6bd5
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Aug 14, 2026
e447219
Changed "incase" to "in case" because Pre-Commit is super whiney.
ddahawkins-TUDelft Aug 14, 2026
66aa069
Added tclean (VIA EDITABLE PIP) - MUST UNDO FOR RELEASE
ddahawkins-TUDelft Aug 25, 2026
f995dd4
Refactored source download and preparation scripts.
ddahawkins-TUDelft Aug 25, 2026
c8f3405
Updated config schema to require frequency.
ddahawkins-TUDelft Aug 25, 2026
344aab6
Fixed naming bugs
ddahawkins-TUDelft Aug 25, 2026
f3b6dfd
Updated snakemake rules to use newly refactored module directories
ddahawkins-TUDelft Aug 25, 2026
f8e47e9
Fixed config schema issues.
ddahawkins-TUDelft Aug 25, 2026
b4e386a
Started transfer to TClean
ddahawkins-TUDelft Aug 25, 2026
a981a15
refactor demand cleaning to use tclean
ddahawkins-TUDelft Aug 25, 2026
5d634a4
refactor advanced planning to use tclean
ddahawkins-TUDelft Aug 25, 2026
b993152
refactor auxiliary group cleaning to use tclean
ddahawkins-TUDelft Aug 25, 2026
807a03f
refactor auxiliary profile construction to use tclean
ddahawkins-TUDelft Aug 25, 2026
4ee2749
refactor advanced override application to use tclean
ddahawkins-TUDelft Aug 25, 2026
a5658a7
refactor final provenance ranking to use tclean
ddahawkins-TUDelft Aug 25, 2026
c310548
remove legacy cleaning package after tclean cutover
ddahawkins-TUDelft Aug 25, 2026
62200af
remove legacy cleaning package after tclean cutover
ddahawkins-TUDelft Aug 25, 2026
001a526
flatten common workflow helpers
ddahawkins-TUDelft Aug 25, 2026
350b275
rebuild unit tests around modelblocks tclean boundary
ddahawkins-TUDelft Aug 25, 2026
0020a6f
Plot fixes
ddahawkins-TUDelft Aug 25, 2026
fe47121
Updated READMEs
ddahawkins-TUDelft Aug 25, 2026
d088981
Removed the redundant readme plot function.
ddahawkins-TUDelft Aug 26, 2026
d4514a7
Align test environment with module runtime
ddahawkins-TUDelft Aug 26, 2026
be26c69
Refactored some of the validation into a _utils rule and ensured it …
ddahawkins-TUDelft Aug 26, 2026
5ebc7d0
Forcing the test .csv for external_profiles functionality into the code.
ddahawkins-TUDelft Aug 26, 2026
46913ad
Changed config for external profiles.
ddahawkins-TUDelft Aug 26, 2026
f301b33
Fixed bugs with external_profiles
ddahawkins-TUDelft Aug 26, 2026
5a20a51
Removed OPSD download dependency on validation. Whilst we want fail-f…
ddahawkins-TUDelft Aug 27, 2026
6680dc5
Added the external_profiles override to the test/integration snakefile.
ddahawkins-TUDelft Aug 27, 2026
2a36b25
Added tests/integration external profile example to git repo despite …
ddahawkins-TUDelft Aug 27, 2026
5b11e4e
Renamed variable to avoid interactions with a snakemake global by the…
ddahawkins-TUDelft Aug 27, 2026
f1c2a24
Updated read me
ddahawkins-TUDelft Aug 27, 2026
9f0cb57
Remade the validation functions to separate temporal scope and gap fi…
ddahawkins-TUDelft Aug 27, 2026
02fc3f3
Fixed param wiring issue
ddahawkins-TUDelft Aug 27, 2026
6900fca
Environment configured to use tclean's development anaconda package
ddahawkins-TUDelft Aug 27, 2026
bf2d74e
Added comments to test_config.yaml
ddahawkins-TUDelft Aug 27, 2026
82fca8a
Fixed bug in tclean package declaration
ddahawkins-TUDelft Aug 27, 2026
236f75a
Make integration test retain resources/user/external_profiles/alb_ext…
ddahawkins-TUDelft Aug 27, 2026
de937e0
Add alb_external_test.csv to resources/user/external_profiles
ddahawkins-TUDelft Aug 27, 2026
cac38f2
Updated enstoe logging so granular country level download info is deb…
ddahawkins-TUDelft Aug 27, 2026
acb55ab
Updated opsd downloader to stream directly to parquet and skip csv.
ddahawkins-TUDelft Aug 27, 2026
ed5cb83
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Aug 27, 2026
396dc8f
Updated Interface.yaml to reflect new external_profiles directory
ddahawkins-TUDelft Aug 27, 2026
1295e5f
Merge branch 'main' of github.com:ddahawkins-TUDelft/module_demand_el…
ddahawkins-TUDelft Aug 27, 2026
7dbd200
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Aug 27, 2026
e67a8cc
Added the final plot to the demand_electricity_polygon rule inputs so…
ddahawkins-TUDelft Aug 28, 2026
5c3c112
Updated the module to use tclean 0.1.1 API which allows for additiona…
ddahawkins-TUDelft Aug 28, 2026
370ef1b
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Aug 28, 2026
2cee661
Rebuilt the entsoe source pipeline to download separate country-year …
ddahawkins-TUDelft Aug 31, 2026
40a33ff
Adding a snakemake config file to the integration tests as these are …
ddahawkins-TUDelft Aug 31, 2026
d9d019f
Added default cores and downloader resource caps to the snakemake config
ddahawkins-TUDelft Aug 31, 2026
799fdee
path rename
ddahawkins-TUDelft Aug 31, 2026
0964697
Added resource/thread constraints to download rules and
ddahawkins-TUDelft Aug 31, 2026
2f3cf4a
Removed MAX_WORKERS thread constraint
ddahawkins-TUDelft Aug 31, 2026
1391368
Removed legacy logging message from entsoe download.
ddahawkins-TUDelft Aug 31, 2026
b24961d
Imports tclean 0.1.1 via conda
ddahawkins-TUDelft Aug 31, 2026
f668335
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Aug 31, 2026
709dfbc
Updated spelling for the spelling police.
ddahawkins-TUDelft Aug 31, 2026
93c5edc
Unfreezing pixi tclean dependency
ddahawkins-TUDelft Aug 31, 2026
758c9a4
Updating the README to explain the optional user flags for snakemake …
ddahawkins-TUDelft Aug 31, 2026
bdd8133
Implemented ENTSOE Power Statistics as a new source (2019-2025 inclus…
ddahawkins-TUDelft Aug 31, 2026
ff7e3fc
Fixing typo in README
ddahawkins-TUDelft Aug 31, 2026
68d6a4c
Advanced pipeline for entsoe Power Statistics source
ddahawkins-TUDelft Aug 31, 2026
97ffec3
Source registry implemented
ddahawkins-TUDelft Aug 31, 2026
a9236ab
Reorganised to separate out source-specific rules.
ddahawkins-TUDelft Aug 31, 2026
b70b3f7
Updated READMEs
ddahawkins-TUDelft Aug 31, 2026
d8c4169
Added rate-limit to protect from API bans
ddahawkins-TUDelft Aug 31, 2026
0af171f
Auxiliary grouping bug. tclean requires all sources to have the same …
ddahawkins-TUDelft Sep 1, 2026
58646c7
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Sep 1, 2026
0d8d4b2
Improved representative examples for test config.
ddahawkins-TUDelft Sep 1, 2026
eabbd9e
Updated the plot to provide more complete diagnostic information and …
ddahawkins-TUDelft Sep 1, 2026
9664c50
Merge branch 'main' of github.com:ddahawkins-TUDelft/module_demand_el…
ddahawkins-TUDelft Sep 1, 2026
d0ccd2d
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Sep 1, 2026
f885a94
Updated README to better explain how users can use the gap_report to …
ddahawkins-TUDelft Sep 1, 2026
c1e006b
Merge branch 'main' of github.com:ddahawkins-TUDelft/module_demand_el…
ddahawkins-TUDelft Sep 1, 2026
50b4ff1
Testing a more comprehensive example figure.
ddahawkins-TUDelft Sep 1, 2026
dd3ccf6
Updated caption.
ddahawkins-TUDelft Sep 1, 2026
07a2f87
Update README.md
ddahawkins-TUDelft Sep 1, 2026
ac09f96
Updated so the plot shows only the filtered countries not all.
ddahawkins-TUDelft Sep 2, 2026
85d1e24
Modified _advanced_execution batch_id generator to help avoid Windows…
ddahawkins-TUDelft Sep 2, 2026
53093a1
Fixed bug where shapes.parquet was not determining the set of countri…
ddahawkins-TUDelft Sep 2, 2026
52a9f57
Added temporal clipping based on source-registry into primary downloa…
ddahawkins-TUDelft Sep 2, 2026
4c70bd9
Advancing temporal alignment of sources with target data and added te…
ddahawkins-TUDelft Sep 2, 2026
565015d
Enabled temporal clipping on aux data.
ddahawkins-TUDelft Sep 2, 2026
73b7238
Added advanced temporal clipping tests
ddahawkins-TUDelft Sep 2, 2026
9029831
Tidied helpers to avoid code duplication
ddahawkins-TUDelft Sep 2, 2026
63310c9
Uses strderr redirect as previous implementation didnt close-out the …
ddahawkins-TUDelft Sep 2, 2026
e881cbf
Updated gitignore to ignore dev workspace
ddahawkins-TUDelft Sep 2, 2026
7018001
Ensure workflow runs in advanced mode without advanced rules applied …
ddahawkins-TUDelft Sep 2, 2026
30d036c
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Sep 2, 2026
7dc06c4
Fixing linting complaints
ddahawkins-TUDelft Sep 2, 2026
4775504
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Sep 2, 2026
0644187
Updated environment.
ddahawkins-TUDelft Sep 2, 2026
db57b98
Updated code to accept plotting of a single country.
ddahawkins-TUDelft Sep 2, 2026
54656bc
More robust fix.
ddahawkins-TUDelft Sep 2, 2026
69753b8
Updated NESO prep, to account for inconsistent date stamps in stource
ddahawkins-TUDelft Sep 2, 2026
4f59a22
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Sep 2, 2026
5e83ecb
Added month chunking to match ENTSO-E API changes.
ddahawkins-TUDelft Sep 3, 2026
fe72c98
Added entso-e back to test-config sources as servers are online.
ddahawkins-TUDelft Sep 3, 2026
eb042a7
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Sep 3, 2026
0090351
Put log messages in log files only instead of terminal.
ddahawkins-TUDelft Sep 3, 2026
ba960e6
Merge branch 'main' of github.com:ddahawkins-TUDelft/module_demand_el…
ddahawkins-TUDelft Sep 3, 2026
adb4b52
Update README.md
ddahawkins-TUDelft Sep 3, 2026
eb67667
Updated test_config
ddahawkins-TUDelft Sep 3, 2026
e3c19e8
Reorganised .smk files
ddahawkins-TUDelft Sep 3, 2026
4c0f506
Developers define the relevant rules and python scripts for each sour…
ddahawkins-TUDelft Sep 3, 2026
d0345a8
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Sep 3, 2026
0d90dac
Comply with snakemake linting
ddahawkins-TUDelft Sep 3, 2026
f9baddb
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Sep 3, 2026
72f7000
Added source_specific resource constraints to protect users from rate…
ddahawkins-TUDelft Sep 3, 2026
eebbd4c
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Sep 3, 2026
2b13319
Removed odd strings.
ddahawkins-TUDelft Sep 4, 2026
7696b6a
Removed unecessary lambda functions from .smk files
ddahawkins-TUDelft Sep 4, 2026
345750a
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Sep 4, 2026
8ae63b8
Updated resource limits for neso and entsoe
ddahawkins-TUDelft Sep 4, 2026
f3f2617
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Sep 4, 2026
daa253c
Updated source registry for OPSD which does cover Iceland.
ddahawkins-TUDelft Sep 4, 2026
41e3ea4
Merge branch 'main' of github.com:ddahawkins-TUDelft/module_demand_el…
ddahawkins-TUDelft Sep 4, 2026
9109a44
Designed the e2e local test
ddahawkins-TUDelft Sep 4, 2026
829a34b
Added a curated source to extend ISL coverage to October 2024 with lo…
ddahawkins-TUDelft Sep 4, 2026
f10b210
Bug in the design of the ISL indexing.
ddahawkins-TUDelft Sep 4, 2026
f33218c
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Sep 4, 2026
2f8878e
Refactored to make the tests safer for partial downloads and to avoid…
ddahawkins-TUDelft Sep 7, 2026
eade488
Ruff formatting.
ddahawkins-TUDelft Sep 7, 2026
d321236
Updated conftest.
ddahawkins-TUDelft Sep 7, 2026
de8e2a2
Updated authors.
ddahawkins-TUDelft Sep 8, 2026
5031746
Rewire module to T-Clean 0.2.0 interfaces
ddahawkins-TUDelft Sep 8, 2026
ce23d76
Updating integration-test to isolate powerstats given entsoe-transpar…
ddahawkins-TUDelft Sep 8, 2026
70ab9c8
Updated config schema for data_quality
ddahawkins-TUDelft Sep 8, 2026
2ad3080
Wired data_quality validation through rules and validation script.
ddahawkins-TUDelft Sep 8, 2026
f7ca160
bug fix.
ddahawkins-TUDelft Sep 8, 2026
fd86362
Data quality is part of the snakemake workflow.
ddahawkins-TUDelft Sep 8, 2026
43968fa
Added data quality plot.
ddahawkins-TUDelft Sep 8, 2026
ddb9a9e
Removing legacy patch.
ddahawkins-TUDelft Sep 9, 2026
cd1b408
Updated module for tclean 0.2.1
ddahawkins-TUDelft Sep 9, 2026
4782a27
Added logging.
ddahawkins-TUDelft Sep 9, 2026
d5796d2
Made the quality chart part of the natural pipeline.
ddahawkins-TUDelft Sep 9, 2026
bc26094
updated config files.
ddahawkins-TUDelft Sep 9, 2026
32ca2a9
Updated READMEs
ddahawkins-TUDelft Sep 9, 2026
c9f3c85
Updated plot functionality for cases where there are no data quality …
ddahawkins-TUDelft Sep 9, 2026
ac355bb
Modified visuals.
ddahawkins-TUDelft Sep 9, 2026
49adac9
Added some dq methods to local test
ddahawkins-TUDelft Sep 9, 2026
a0a92dd
Removed the problematic entsoe api from the local_test.
ddahawkins-TUDelft Sep 9, 2026
6aa2f35
Pointed the module towards tclean in conda-forge
ddahawkins-TUDelft Sep 9, 2026
2aacf7f
tclean 0.2.1.
ddahawkins-TUDelft Sep 9, 2026
a12db67
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Sep 9, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions .github/workflows/pr-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,10 @@ jobs:
id: tests
run: pixi run test-integration
continue-on-error: true
- name: Run unit tests
id: unit-tests
run: pixi run test-unit
continue-on-error: true
- name: Run snakemake linting
id: linting
run: |
Expand All @@ -37,6 +41,6 @@ jobs:
path: tests/integration/resources/module/logs
if-no-files-found: ignore
retention-days: 30
- name: Fail if integration or linting failed
if: ${{ steps.tests.outcome == 'failure' || steps.linting.outcome == 'failure' }}
- name: Fail if tests or linting failed
if: ${{ steps.tests.outcome == 'failure' || steps.unit-tests.outcome == 'failure' || steps.linting.outcome == 'failure' }}
run: exit 1
6 changes: 6 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -28,3 +28,9 @@ gurobi.log
**/results/*
**/temp/*
**/tmp/*

#ignore ENTSOE token
resources/user/token_entsoe.txt

#dev workspace
**/dev/
4 changes: 3 additions & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ repos:
# Repo quality
- id: check-added-large-files
args: [--enforce-all]
exclude: ^pixi\.lock$
exclude: ^(pixi\.lock|figures/readme_cleaning_timeline\.png)$
- id: forbid-submodules
- id: check-case-conflict
- id: check-illegal-windows-names
Expand Down Expand Up @@ -43,6 +43,8 @@ repos:
hooks:
- id: codespell
files: .*\.(py|smk|md)$|^Snakefile$
args:
- --ignore-words-list=ND

ci: # https://pre-commit.ci/
autoupdate_schedule: quarterly
3 changes: 3 additions & 0 deletions CITATION.cff
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,6 @@ authors:
- given-names: "Jann"
family-names: "Launer"
email: "j.a.c.launer@tudelft.nl"
- given-names: "Dano"
family-names: "Hawkins"
email: "d.d.a.hawkins@tudelft.nl"
25 changes: 17 additions & 8 deletions INTERFACE.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,26 +5,35 @@ pathvars:
snakemake_defaults:
logs:
default: "<logs>"
description: location of snakemake log files.
description: "Location of Snakemake log files."
resources:
default: "<resources>"
description: "location of module resource (input) files."
description: "Location of module resource (input) files."
results:
default: "<results>"
description: "location of module result (output) files."
description: "Location of module result (output) files."

user_resources:
token_entsoe:
default: "<resources>/user/token_entsoe.txt"
description: "User token for ENTSO-E API access."

shapes:
default: "<resources>/user/{shape}/shapes.parquet"
description: >
Shapes to aggregate the output data to.
IMPORTANT: they must add up to the full spatial extent of the country.
The module's processing requires it.
Target shapes used to spatially aggregate electricity demand.
The supplied shapes must collectively cover the full spatial extent
of the corresponding country.

external_profiles:
default: "<resources>/user/external_profiles"
description: >
Directory of user-provided .csv to feed into advanced tclean gap-filling.

results:
demand_electricity_MW:
default: "<results>/{shape}/demand_electricity_MW.parquet"
description: Electricity demand profile per custom shape in units of MW.
description: "Hourly electricity demand per custom shape, in MW."

wildcards:
shape: Name of the custom shape is a wildcard to allow multiple outputs based on different shapes.
shape: "Name of the custom target shape set. This wildcard allows multiple outputs for different shape definitions."
216 changes: 198 additions & 18 deletions README.md

Large diffs are not rendered by default.

Loading
Loading