SoC continuity now deducts only bd (ge_bat was double-counted via energy balance), which stopped the plan from draining ~2× faster than BMS during evening BATTERY_SELL. Also ships dynamic evening push budget + rolling hysteresis (v38), drops unused fn_soc_tracking_bundle, and adds tests/docs. Co-authored-by: Cursor <cursoragent@cursor.com>
11 lines
234 B
SQL
11 lines
234 B
SQL
-- Odstraněno v39: kalibrace discharge_calibration_factor nahrazena opravou SoC bilance (jen bd, ne bd+ge_bat).
|
|
|
|
drop function if exists ems.fn_soc_tracking_bundle(
|
|
int,
|
|
timestamptz,
|
|
numeric,
|
|
numeric,
|
|
numeric,
|
|
numeric
|
|
);
|