planning rosireni o vlastni spotrebu
This commit is contained in:
@@ -403,6 +403,7 @@ function PlanTooltip({
|
|||||||
</div>
|
</div>
|
||||||
<div>FVE (A / předpověď): {fveDisplay}</div>
|
<div>FVE (A / předpověď): {fveDisplay}</div>
|
||||||
<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>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íť: {i.grid_setpoint_w ?? '—'} W</div>
|
||||||
<div>TČ: {i.heat_pump_enabled ? 'zapnuto' : 'vypnuto'}</div>
|
<div>TČ: {i.heat_pump_enabled ? 'zapnuto' : 'vypnuto'}</div>
|
||||||
@@ -933,6 +934,7 @@ export default function Planning() {
|
|||||||
<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">Síť 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">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>
|
||||||
@@ -948,7 +950,7 @@ export default function Planning() {
|
|||||||
key={`sum-${row.dayKey}`}
|
key={`sum-${row.dayKey}`}
|
||||||
className="border-b border-slate-700/90 bg-slate-800/70 text-slate-200"
|
className="border-b border-slate-700/90 bg-slate-800/70 text-slate-200"
|
||||||
>
|
>
|
||||||
<td colSpan={11} className="px-2 py-2 text-xs font-medium">
|
<td colSpan={12} className="px-2 py-2 text-xs font-medium">
|
||||||
<span className="text-slate-100">{row.dateLabel}</span>
|
<span className="text-slate-100">{row.dateLabel}</span>
|
||||||
<span className="mx-2 text-slate-600">·</span>
|
<span className="mx-2 text-slate-600">·</span>
|
||||||
<span className="text-slate-400">FVE celkem</span>{' '}
|
<span className="text-slate-400">FVE celkem</span>{' '}
|
||||||
@@ -999,6 +1001,9 @@ export default function Planning() {
|
|||||||
: '—'}
|
: '—'}
|
||||||
</td>
|
</td>
|
||||||
<FveWCell i={i} nowMs={nowMs} />
|
<FveWCell i={i} nowMs={nowMs} />
|
||||||
|
<td className="pr-2 font-mono tabular-nums text-slate-300">
|
||||||
|
{formatPlanPowerW(i.load_baseline_w)}
|
||||||
|
</td>
|
||||||
<td className="pr-2 font-mono tabular-nums text-slate-300">{i.grid_setpoint_w ?? '—'}</td>
|
<td className="pr-2 font-mono tabular-nums text-slate-300">{i.grid_setpoint_w ?? '—'}</td>
|
||||||
<td className="pr-2 font-mono tabular-nums text-slate-300">{i.ev1_setpoint_w ?? '—'}</td>
|
<td className="pr-2 font-mono tabular-nums text-slate-300">{i.ev1_setpoint_w ?? '—'}</td>
|
||||||
<td className="pr-2 font-mono tabular-nums text-slate-300">{i.ev2_setpoint_w ?? '—'}</td>
|
<td className="pr-2 font-mono tabular-nums text-slate-300">{i.ev2_setpoint_w ?? '—'}</td>
|
||||||
|
|||||||
Reference in New Issue
Block a user