tuning BA81
This commit is contained in:
@@ -130,6 +130,13 @@ begin
|
||||
raise exception 'No site_grid_connection for site_id=%', p_site_id;
|
||||
end if;
|
||||
|
||||
-- LP tuning (battery-level): terminal SoC shadow price factor
|
||||
v_b := jsonb_set(
|
||||
v_b,
|
||||
'{planner_terminal_soc_value_factor}',
|
||||
to_jsonb(coalesce((v_b->>'planner_terminal_soc_value_factor')::numeric, 0.9))
|
||||
);
|
||||
|
||||
select coalesce(
|
||||
jsonb_agg(
|
||||
jsonb_build_object(
|
||||
|
||||
Reference in New Issue
Block a user