Skip to content

Allow custom timeseries generation based on eesyplan methods - #511

Merged
paulapreuss merged 14 commits into
mainfrom
feature/custom-profile-generation
Aug 27, 2026
Merged

Allow custom timeseries generation based on eesyplan methods#511
paulapreuss merged 14 commits into
mainfrom
feature/custom-profile-generation

Conversation

@paulapreuss

@paulapreuss paulapreuss commented Aug 13, 2026

Copy link
Copy Markdown

This PR makes changes to the timeseries model (both by deleting the timeseries_old field and adding generation_parameters and description to store metadata - this was cherry-picked from #446). Therefore, python manage.py migrate needs to be run (also need to be careful when merging).

Add the option to generate timeseries based on parameters instead of from a file upload. Currently, this is possible for heat demand and partly possible for PV timeseries (have to figure out how we want to handle weather data).

As described in this issue, the current implementation opens a submodal on the timeseries input that allows the user to input the needed parameters. Based on these parameters, a timeseries is then computed by passing the parameters to the eesyplan method (this is not yet fully implemented).

The way this works is by mapping which assets have a custom timeseries creatioin method in eesyplan and showing the extra modal for these assets, similar to the COP calculation method. The methods have analogous forms with the same parameters. The idea is to simply pass the cleaned form data as parameters to the timeseries methods.

A lot of lines changed are simply because of ruff formatting - I think my pre-commit linter is being more strict than the repository actually asks for. Might drop the commits for readability or keep to clean up a bit while we are at it.

@paulapreuss
paulapreuss force-pushed the feature/custom-profile-generation branch from 1fffe56 to 0e45e2d Compare August 26, 2026 17:00
@paulapreuss
paulapreuss marked this pull request as ready for review August 26, 2026 17:03
@paulapreuss
paulapreuss force-pushed the feature/custom-profile-generation branch from e8bb737 to ca2568b Compare August 27, 2026 06:02
@paulapreuss
paulapreuss merged commit e85fcf8 into main Aug 27, 2026
2 checks passed
@paulapreuss
paulapreuss deleted the feature/custom-profile-generation branch August 27, 2026 06:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants