tune forecast correction parametersw
Some checks failed
CI and deploy / migration-check (push) Failing after 9s
CI and deploy / deploy (push) Has been skipped

This commit is contained in:
Dusan Vojacek
2026-04-22 20:47:32 +02:00
parent 638c5444be
commit bc0966e4c4
5 changed files with 91 additions and 11 deletions

View File

@@ -129,6 +129,12 @@ export type ForecastPvSlotsCorrectedParams = {
delta_to?: string
half_life_days?: number
threshold_w?: number
/** Jen N nejlepších kalendářních dní pro výpočet delta profilu (backend → fn_pv_forecast_delta_profile). */
top_n_days?: number
/** Násobek váhy pro dny mimo top N (01, default na serveru 0.02). */
non_top_day_factor?: number
/** Exponent na denní váhu (default 1 = beze změny oproti předchozímu chování bez top_n). */
day_weight_gamma?: number
}
export async function getForecastPvSlotsRangeCorrected(