docs(fuel): TODO to price code-39 electricity by actual tariff (Khalim)

Note that code 39 "any tariff" currently collapses to the standard electricity
rate; future work should resolve it to the dwelling's actual tariff (off-peak vs
standard) so off-peak electric heating prices correctly. Comment-only.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
Jun-te Kim 2026-06-24 11:35:31 +00:00
parent 782c686969
commit 2498192b72

View file

@ -112,6 +112,10 @@ API_FUEL_TO_TABLE_32: Final[dict[int, int]] = {
# electric system, cost/CO2/PE = standard electricity). Resolve to standard
# electricity (30) so it classifies as electric and prices at the standard
# rate — otherwise it now raises UnpricedFuelCode (was: mis-rated non-electric).
# TODO (Khalim): "any tariff" collapses to the STANDARD electricity rate. In
# future, resolve 39 to the dwelling's actual tariff (meter_type → off-peak
# 7h/10h/18h/24h vs standard) so off-peak electric heating is priced at the
# off-peak rate rather than always standard.
39: 30,
}