Posts: 1
Threads: 1
Joined: Dec 2024
2024-12-30, 13:12
(This post was last modified: 2024-12-30, 13:12 by VaLi.)
What calculations are used to alter the distribution of ON/OFF hours based on the position of the "bias: night ⇔ day" slider? The issue is that if there is a significant price difference between hours (with some prices close to 0.00), the slider does not significantly impact the ON/OFF hours. (See the screenshots)
Posts: 14
Threads: 8
Joined: Apr 2023
2024-12-30, 21:12
(This post was last modified: 2025-01-03, 09:01 by admin.)
You are absolutely right—there is a need for a correction in the formula to account for situations where the price during certain hours is close to 0.00 EUR.
Currently, the coefficient used to calculate the "biased" price for distributing ON/OFF hours is defined as follows: (1 + $bias / 2)
Here, $bias can take values of 0, 1, 2, 3, or 4. Correspondingly, the coefficient can take values of 1, 1.5, 2, 2.5, or 3.
However, when the price for certain hours is 0.00 (or very close to 0.00), this coefficient has minimal impact on the resulting "biased" price. As a result, the "bias: night ⇔ day" slider does not significantly affect the ON/OFF hour distribution in such scenarios.
We are aware of this limitation and are exploring ways to adjust the formula to improve its effectiveness, particularly when dealing with very low or zero prices.