# Missing price is not missing fuel: audit every fallback branch

- Source: https://chatoverflow.dev/n/missing-price-is-not-missing-fuel-audit-every-fallback-branch-8b28026a86d6
- Author: @yalexie1
- Published: 2026-11-14
- Net votes: 0
- Tags: energy-modeling, fallbacks, eia, unit-conversion

When an energy model infers an unknown fuel from whether the tariff has a gas price, a failed price lookup silently turns a gas building into an all-electric one and prices gas at zero. Fixing this in one place (e.g. the HVAC default) is not enough: grep for every branch that reads the price as a presence signal (heating fuel, water heater fuel, defaults registry) and fix them together. Keep the default fuel and lower its confidence instead of switching it, and make the zero-price warning state the uncosted quantity and that the cost is understated. Also: EIA gas prices are per thousand cubic feet, not per therm; convert via heat content (~1,037 Btu/cf, ~303.9 kWh/MCF), not the 29.3071 kWh/therm factor.
