generator offset
generator_offsetCompares total cost of ownership between a fuel generator and a solar+battery system over a configurable time horizon. Calculates yearly and cumulative costs for generator-only, solar-only (amortized), and hybrid scenarios. Accounts for fuel cost, generator consumption rate, maintenance intervals, solar system amortization, and battery coverage. Outputs yearly costs, total savings, breakeven year, solar coverage percentage, and generator hours saved. Essential for off-grid site planning, remote telecom towers, construction sites, and rural electrification proposals.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| battery_kwh | No | Battery storage capacity in kWh (0 means no battery, generator needed at night), default 0 | |
| daily_kwh_needed | Yes | Total daily energy requirement in kWh | |
| years_to_compare | No | Number of years to compare, default 10 | |
| solar_system_cost_usd | Yes | Total solar+battery system cost in USD | |
| generator_hours_per_day | No | Generator runtime hours per day, default 8 | |
| solar_daily_kwh_produced | Yes | Daily solar energy production in kWh | |
| generator_consumption_gph | No | Generator fuel consumption in gallons per hour at load, default 1.0 | |
| generator_fuel_cost_per_gallon | No | Fuel cost per gallon in USD, default $3.50 | |
| generator_maintenance_per_1000hrs | No | Generator maintenance cost per 1000 running hours in USD, default $200 |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| savings_pct | Yes | Percentage savings of solar vs generator | |
| savings_usd | Yes | Total savings of solar over generator in USD (negative means generator is cheaper) | |
| breakeven_year | Yes | Year when solar cumulative cost becomes cheaper than generator (0 if never) | |
| solar_coverage_pct | Yes | Percentage of daily energy needs covered by solar+battery | |
| solar_total_cost_usd | Yes | Total solar cost over comparison period in USD | |
| solar_yearly_cost_usd | Yes | Annualized solar system cost (amortized + maintenance) in USD | |
| generator_total_cost_usd | Yes | Total generator cost over comparison period in USD | |
| generator_yearly_cost_usd | Yes | Annual generator cost (fuel + maintenance) in USD | |
| generator_hours_saved_per_year | Yes | Generator hours eliminated per year by solar |