fix planning bat vs sit
All checks were successful
CI and deploy / migration-check (push) Successful in 2s
CI and deploy / deploy (push) Successful in 1m5s

This commit is contained in:
Dusan Vojacek
2026-04-19 14:52:12 +02:00
parent b4c58156f0
commit 5c868083af

View File

@@ -405,11 +405,15 @@ function PlanTooltip({
<div>SoC cíl: {soc != null && !Number.isNaN(Number(soc)) ? `${Number(soc).toFixed(1)} %` : '—'}</div> <div>SoC cíl: {soc != null && !Number.isNaN(Number(soc)) ? `${Number(soc).toFixed(1)} %` : '—'}</div>
<div>Dům: {i.load_baseline_w ?? '—'} W</div> <div>Dům: {i.load_baseline_w ?? '—'} W</div>
<div>Baterie: {i.battery_setpoint_w ?? '—'} W</div> <div>Baterie: {i.battery_setpoint_w ?? '—'} W</div>
<div>Síť: {i.grid_setpoint_w ?? '—'} W</div> <div>Síť (čistý EM): {i.grid_setpoint_w ?? '—'} W</div>
<div>: {i.heat_pump_enabled ? 'zapnuto' : 'vypnuto'}</div> <div>: {i.heat_pump_enabled ? 'zapnuto' : 'vypnuto'}</div>
<div> <div>
EV1: {i.ev1_setpoint_w ?? '—'} W · EV2: {i.ev2_setpoint_w ?? '—'} W EV1: {i.ev1_setpoint_w ?? '—'} W · EV2: {i.ev2_setpoint_w ?? '—'} W
</div> </div>
<div className="mt-1 border-t border-slate-700 pt-1 text-[10px] font-sans font-normal normal-case text-slate-500">
Záporná síť = export přes elektroměr (často přebytek FVE). Záporná baterie kryje dům nemusí jít o prodej
energie z akumulátoru do sítě.
</div>
</div> </div>
</div> </div>
) )
@@ -930,12 +934,28 @@ export default function Planning() {
<span className="block">Cena</span> <span className="block">Cena</span>
<span className="block text-[10px] font-normal normal-case text-slate-600">/kWh · kup / prod</span> <span className="block text-[10px] font-normal normal-case text-slate-600">/kWh · kup / prod</span>
</th> </th>
<th className="whitespace-nowrap py-2 pr-2 font-medium">Bat. W</th> <th
className="whitespace-nowrap py-2 pr-2 font-medium"
title="Setpoint výkonu baterie/invertoru: kladně nabíjení, záporně vybíjení (do spotřeby domu nebo dle regulace do přebytku)."
>
<span className="block">Bat. W</span>
<span className="block text-[10px] font-normal normal-case text-slate-600">
+ nabíj · vybíj
</span>
</th>
<th className="whitespace-nowrap py-2 pr-2 font-medium">Deye setpoint</th> <th className="whitespace-nowrap py-2 pr-2 font-medium">Deye setpoint</th>
<th className="whitespace-nowrap py-2 pr-2 font-medium">SoC %</th> <th className="whitespace-nowrap py-2 pr-2 font-medium">SoC %</th>
<th className="whitespace-nowrap py-2 pr-2 font-medium">FVE W</th> <th className="whitespace-nowrap py-2 pr-2 font-medium">FVE W</th>
<th className="whitespace-nowrap py-2 pr-2 font-medium">Dům W</th> <th className="whitespace-nowrap py-2 pr-2 font-medium">Dům W</th>
<th className="whitespace-nowrap py-2 pr-2 font-medium">Síť W</th> <th
className="whitespace-nowrap py-2 pr-2 font-medium"
title="Čistý výkon na hlavním elektroměru (point of supply): kladně odběr ze sítě, záporně export. Záporná hodnota často znamená export FVE při spotřebě domu; u záporného Bat. W to nemusí být „prodej z baterie“, ale výsledek bilance FVE + dům + baterie."
>
<span className="block">Síť W</span>
<span className="block text-[10px] font-normal normal-case text-slate-600">
čistý EM · +odb / exp
</span>
</th>
<th className="whitespace-nowrap py-2 pr-2 font-medium">EV1 W</th> <th className="whitespace-nowrap py-2 pr-2 font-medium">EV1 W</th>
<th className="whitespace-nowrap py-2 pr-2 font-medium">EV2 W</th> <th className="whitespace-nowrap py-2 pr-2 font-medium">EV2 W</th>
<th className="whitespace-nowrap py-2 pr-2 font-medium"></th> <th className="whitespace-nowrap py-2 pr-2 font-medium"></th>