oprava home-01: Infeasible při rolling hysteréze push (v53)
Some checks failed
CI and deploy / migration-check (push) Failing after 14s
CI and deploy / deploy (push) Has been skipped

This commit is contained in:
Dusan Vojacek
2026-05-31 00:00:47 +02:00
parent 578cf315e2
commit 8950fafba2
4 changed files with 148 additions and 4 deletions

View File

@@ -123,7 +123,9 @@ flowchart TD
- **`evening_early`** beze změny — export jen v `evening_push_ts` (ne rozprostřeně po celé noci).
- Snap: `kv1_evening_push_morning_peak_rule`. Tag **`2026-05-31-kv1-evening-push-morning-peak-v52`**.
**Funkce:** Tag: **`2026-05-30-post-push-night-battery-v47`** (spot); KV1 v52 viz výše.
8. **v53 — rolling hysteréze push:** při Infeasible retry se **`evening_push_ts_override` zahodí**; filtr override slotů (export maska, bez defer PV). Snap: `evening_push_override_dropped_on_retry`. Tag **`2026-05-31-evening-push-override-retry-v53`**.
**Funkce:** … Tag: **`2026-05-30-post-push-night-battery-v47`** (spot); KV1 v52 / home-01 v53 viz výše.
### Arbitráž baterie — účtování mezi sloty (povinné čtení)

View File

@@ -5,6 +5,18 @@ Formát: **datum (ISO)** · stručný důvod · soubory · chování / ověřen
---
## 2026-05-31 — home-01: Infeasible při rolling hysteréze push (v53)
**Problém:** Po v52 KV1 OK, **home-01** občas **`Solver: Infeasible`** — rolling replan držel `evening_push_ts` z minulého běhu (hystereze) i v retry větvích; tvrdý `ge_bat` push při nízkém SoC / změně slotů.
**Změna (v53):** `_evening_push_override_for_solve` — override **vypnout** při jakémkoli relaxed retry; `_filter_evening_push_override_indices` — jen sloty s `allow_discharge_export`, bez defer PV, s dosažitelným push floorem. Snap: `evening_push_override_dropped_on_retry`.
Tag **`2026-05-31-evening-push-override-retry-v53`**.
**Ověření:** `pytest … -k stale_evening_push_override`; rolling home-01 bez RuntimeError.
---
## 2026-05-31 — KV1: večerní push vs ranní max sell (v52)
**Problém:** KV1 večer **~3,3 Kč** neprodával do sítě (`evening_push` prázdný: `sell < acq+spread` ≈ 6,65), vývoz až **úsvit ~2,8 Kč** před `sell<0` (08:15). Příčina: pravidla **v41 `evening_early`** + **v47 push profitabilita** z home-01 na fixní acquisition.