TARIFF-30: per-unit round-trip efficiency in the grid-charge decisions

Optional per-inverter key round_trip_eff (0.5-1). A unit's buy leg is priced at price / eta; the site trade, battery modes, day plan and Home use each unit's own. Not set: byte-identical to before. The discharge split is unchanged (part B is TARIFF-34).

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
Claude (dev)
2026-12-05 16:44:29 +01:00
parent 831c33c96b
commit 6881748660
23 changed files with 1614 additions and 51 deletions
+3
View File
@@ -92,6 +92,9 @@ ROSTER_FIELDS = (
Field("inverters.batt_invert", TOGGLE, wizard=2),
Field("inverters.capacity_kwh", NUMBER, "kWh", step=0.1, show=_LISTED,
wizard=2),
# TARIFF-30: optional, 0.5 to 1; not shown for the flat single inverter
# (it stores no per-unit keys) and not in the setup wizard.
Field("inverters.round_trip_eff", NUMBER, step=0.01, show=_LISTED),
)
GROUPS = (