26 lines
1.3 KiB
SQL
26 lines
1.3 KiB
SQL
-- Parametry pro denní „safety charge“ (měkké LP penalizace) a kotvu rolling replanu.
|
|
|
|
alter table ems.asset_battery
|
|
add column if not exists planner_daytime_charge_target_enabled boolean not null default true;
|
|
|
|
alter table ems.asset_battery
|
|
add column if not exists planner_night_baseload_buffer_percent numeric not null default 20;
|
|
|
|
alter table ems.asset_battery
|
|
add column if not exists planner_daytime_charge_price_quantile numeric not null default 0.70;
|
|
|
|
alter table ems.asset_battery
|
|
add column if not exists planner_charge_commitment_penalty_czk_kwh numeric not null default 0.20;
|
|
|
|
comment on column ems.asset_battery.planner_daytime_charge_target_enabled is
|
|
'Zapíná SQL/LP měkké denní cíle SoC (safety) z fn_load_planning_slots_full; ne tvrdé allow_charge masky.';
|
|
|
|
comment on column ems.asset_battery.planner_night_baseload_buffer_percent is
|
|
'Procentní přirážka k odhadu nočního baseload Wh (20 = +20 % k night_baseload_target_wh).';
|
|
|
|
comment on column ems.asset_battery.planner_daytime_charge_price_quantile is
|
|
'Rezervováno pro budoucí výběr „drahých“ oken z cenové distribuce; v1 se v LP nepoužívá.';
|
|
|
|
comment on column ems.asset_battery.planner_charge_commitment_penalty_czk_kwh is
|
|
'Koeficient měkké penalizace (Kč/kWh krátkého nedodržení) proti předchozímu plánu při rolling replanu.';
|