-
Notifications
You must be signed in to change notification settings - Fork 39
Feature/bdew load profiles 2025 #78
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
@maurerle: Before I start with docs and tests, what do you think? |
Use of timeindex.freq.delta is deprecated.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I did not spend too much time with this yet, so far it looks good.
The new API allows to create BDEW profiles from arbitrary timeindex length - which is nice!
And makes totally sense, given the shape of the new data.
On the other hand, it does not allow to integrate the new profiles easily into the existing API, so
e_slp.get_profiles('h0').head()
e_slp.get_profiles('h25').head()
does not work easily..
But it might be enough to somehow also provide functions which give:
bdew.H25(index15m)
bdew.H0(index15m)
and only "use" new API, which would require some tinkering for handling time indices from different years, but seems the best approach on the long run..?
This is a performance optimisation. The values where not changed anyway.
Everything implemented, 100 % coverage. If nobody objects, I'll merge this tomorrow. |
Add BDEW profiles released in 2025 including new, more modular structure as discussed in #77.
Changes with respect to the API for SLP 2000:
0.02 * H25(time_index)
to have a H25 SLP for 20 MWh/a.)Closes #77