{
  "name": "Air-conditioner runtime JSON endpoint",
  "description": "Returns usable battery capacity, AC watt-hour demand, inverter headroom, solar-assisted runtime, and gap warnings for running RV air conditioning from batteries.",
  "publisher": {
    "name": "OffGridRVHub",
    "url": "https://www.offgridrvhub.com"
  },
  "source": {
    "endpoint": "https://www.offgridrvhub.com/tools/api/air-conditioner-runtime.json",
    "fullCalculator": "https://www.offgridrvhub.com/tools/air-conditioner-runtime-calculator",
    "assumptions": "https://www.offgridrvhub.com/tools/calculator-assumptions",
    "documentation": "https://www.offgridrvhub.com/tools/calculator-api"
  },
  "caveat": "This is a planning estimate for RV education and comparison. It is not electrical, plumbing, safety, or installation advice.",
  "input": {
    "batteryAh": 400,
    "batteryVoltage": 12,
    "batteryType": "lithium",
    "startingSocPercent": 100,
    "minimumSocPercent": 20,
    "acRunningWatts": 1350,
    "acStartupSurgeWatts": 3500,
    "targetAcHours": 3,
    "inverterContinuousWatts": 3000,
    "inverterSurgeWatts": 6000,
    "inverterEfficiencyPercent": 90,
    "solarWatts": 800,
    "sunHours": 5,
    "solarDeratePercent": 25,
    "otherDailyWh": 1200
  },
  "result": {
    "batteryBankKwh": 4.8,
    "usableBatteryWh": 3840,
    "acBatteryWhPerHour": 1500,
    "targetAcBatteryWh": 4500,
    "solarHarvestWh": 3000,
    "totalDailyWh": 5700,
    "netDailyWh": 2700,
    "batteryOnlyRuntimeHours": 2.6,
    "solarAssistedRuntimeHours": 3.8,
    "runtimeGapHours": 0,
    "inverterLoadPercent": 45,
    "continuousHeadroomWatts": 1650,
    "surgeHeadroomWatts": 2500,
    "canInverterRunAc": true,
    "canSurgeStart": true,
    "solarCoversDailyUse": false,
    "canMeetTarget": true,
    "recommendedSolarWatts": 1550,
    "recommendedBatteryAh": 300,
    "verdictTitle": "The AC runtime target looks workable",
    "verdictDetail": "With 3,840 usable battery Wh and about 3,000Wh of same-day solar harvest, this setup supports roughly 3.8 hours of AC runtime on the entered assumptions.",
    "recommendedNextMove": "Compare this AC runtime against the full solar and battery calculators so the rest of the rig is included.",
    "watchOuts": [
      "Air-conditioner wattage changes with outdoor temperature, humidity, thermostat setting, duct losses, and whether the compressor is cycling or running continuously.",
      "Startup surge is model-specific. A soft-start device can reduce startup stress, but it does not reduce the running-watt load once the compressor is operating.",
      "The solar estimate does not fully cover the target AC day after other loads. Plan for battery drawdown or a backup charge source."
    ]
  }
}