Refactor fix hour tariff price calculation for quarter hours#3145
Open
tpd-opitz wants to merge 11 commits intoopenWB:masterfrom
Open
Refactor fix hour tariff price calculation for quarter hours#3145tpd-opitz wants to merge 11 commits intoopenWB:masterfrom
tpd-opitz wants to merge 11 commits intoopenWB:masterfrom
Conversation
6f0fe50 to
1293739
Compare
1293739 to
765bf4e
Compare
765bf4e to
bf1def5
Compare
1 task
…query time calculation
harmonize fixed hours tariff with dynamic tariffs by shortening the intervals and extending end to (next) day
bf1def5 to
f02d728
Compare
tpd-opitz
commented
Feb 19, 2026
a93b40a to
0493f0b
Compare
tpd-opitz
commented
Feb 22, 2026
| bereits ein festes Netzentgeld enthalten. | ||
| ''' | ||
| grid_fee_prices = __reduce_prices(grid_fee_prices) | ||
| grid_fee_prices = {int(float(k)): v for k, v in grid_fee_prices.items() if int(float(k)) <= max_timestamp} |
Contributor
Author
There was a problem hiding this comment.
Die Absicht war hier, die Liste der Netzentgeldpreise auf die Länge der Preissumme zu kürzen, damit sie die Darstellung im PreisChart der Statusseite nicht verzerrt. Für die Berechnungen wäre das nicht notwendig.
Leider funktioniert das nicht zuverlässig, aber openWB/openwb-ui-settings#905 wird das Problem beheben.
…h-flexible-tarifs
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
harmonize fixed hours tariff with dynamic tariffs
backend updates are done via MQTT listener in optional_data.py
known issue
see forum