Tariff predictions
If FlatPeak is temporarily unable to fetch tariff data—due to provider outages or delays from market operators—it will automatically retry until the data becomes available.
During these times, gaps may appear in tariff rates. To maintain continuity, FlatPeak uses machine learning and AI to populate gaps and predict future rates.
When this happens:
- The API returns predicted values with a
confidence
below 1. - Once the original data source becomes available, FlatPeak back-fills the missing periods and updates the
confidence
to 1.
This ensures uninterrupted operation, even when upstream data is temporarily unavailable.
How tariff prediction works
Below is a simplified overview of how FlatPeak estimates tariff rates, depending on the tariff and the type of segment that is missing:
No tariff data available
-
FIXED
andTIME_OF_DAY
tariffs:
FlatPeak estimates rates starting with 0.8 confidence, decreasing by 0.2 every 90 days, down to a minimum of 0.2. -
DYNAMIC
tariffs where market rates are available:
Predictions are based on market rates (where available), weather forecasts, and past pricing. Values are returned with approximately 0.6 confidence. -
MARKET
orDYNAMIC
tariffs where market rates are not available:
A zero value is returned with 0 confidence. (Note: predictions for these cases are expected in Q4 2025.)
Gaps in tariff data
-
FIXED
andTIME_OF_DAY
tariffs:
Missing rates are interpolated based on the existing tariff, using the lowest confidence of the surrounding time periods. -
MARKET
tariffs:
Missing rates are interpolated using the lowest confidence of surrounding periods, and extended historical data for periods with similar weather conditions. -
DYNAMIC
tariffs:
Market rates are returned with 0.6 confidence during the gap.