tuning BA81
Some checks failed
CI and deploy / migration-check (push) Failing after 13s
CI and deploy / deploy (push) Has been skipped

This commit is contained in:
Dusan Vojacek
2026-04-26 20:12:28 +02:00
parent 4875c31338
commit 5f96a4cf01
5 changed files with 37 additions and 2 deletions

View File

@@ -0,0 +1,9 @@
alter table ems.asset_battery
add column if not exists planner_terminal_soc_value_factor numeric not null default 0.9;
comment on column ems.asset_battery.planner_terminal_soc_value_factor is
'Váha terminal SoC shadow price v LP solveru.
0 = solver nemá motivaci držet energii v baterii na konci horizontu (agresivnější arbitráž / vybití).
1 = odpovídá ~průměrné nákupní ceně (konzervativní držení energie).
Používá se v backend/services/planning_engine.py (terminal_soc_kcz_per_wh).';