omni_battery_amp_hours
Calculate RV and marine battery runtime in hours from amp-hour capacity, voltage, depth of discharge, and AC appliance load, including usable watt-hours and DC current draw.
Instructions
RV & Marine Battery Amp Hour & Inverter Runtime Calculator. Calculate deep cycle battery runtime in hours from total appliance AC watt load, battery voltage, amp hour capacity, and depth of discharge (DoD). Discipline: PHYSICS. Governing mathematical model / formula: Runtime (Hours) = (Battery Volts × Amp Hours × DoD %) / (Inverter Load Watts / Inverter Efficiency).
USAGE GUIDELINES:
WHEN TO USE: Invoke for deterministic calculation of battery_runtime_hours (Estimated Battery Runtime), usable_watt_hours (Usable Energy Storage), dc_current_draw (DC Battery Current Draw), chemistry_guidance (Battery Chemistry Recommendation) using battery_voltage (Battery System Nominal Voltage in V), battery_capacity_ah (Battery Bank Capacity (Amp Hours) in Ah), dod_allowable_pct (Safe Depth of Discharge (DoD %) in %), appliance_load_watts (Continuous AC Appliance Load in Watts). Guarantees exact machine floating-point precision, eliminating LLM arithmetic mistakes and formula hallucinations.
WHEN NOT TO USE: Do not use for qualitative evaluations or unquantified reasoning. All input parameters must be valid numerical values.
DISAMBIGUATION & BOUNDARIES:
Use this dedicated specialist tool for 'RV & Marine Battery Amp Hour & Inverter Runtime Calculator' rather than generic dispatchers like omni_universal_query.
For multi-calculation chained jobs, use 'omni_batch_calculate'.
To inspect schema fields, see 'omni_describe_solver'.
BEHAVIOR & SAFETY:
Pure deterministic computation with machine floating-point precision.
Read-only, idempotent, and stateless. Zero side effects or persistent state mutations.
Input validation: All arguments are validated against physical and domain bounds. Out-of-bounds inputs return a safe diagnostic error status without throwing runtime exceptions.
RETURNS:
Structured JSON object containing:
status (string): "success" on valid execution or "error" if validation fails
calculator (string): "battery-amp-hours"
category (string): "physics"
name (string): "RV & Marine Battery Amp Hour & Inverter Runtime Calculator"
formula (string): Governing mathematical formula string
inputs (object): Echoed input parameter dictionary with applied defaults
metrics (object): Dictionary of computed outputs:
metrics.battery_runtime_hours (Estimated Battery Runtime): Formatted display string (e.g. '4.9 hours')
metrics.usable_watt_hours (Usable Energy Storage): Formatted display string (e.g. '1,920 Wh (1.92 kWh)')
metrics.dc_current_draw (DC Battery Current Draw): Formatted display string (e.g. '34.3 Amps')
metrics.chemistry_guidance (Battery Chemistry Recommendation): Formatted display string (e.g. 'Lithium LiFePO4 (80% Safe DoD)')
execution_time_ms (number): Latency in milliseconds.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "omni_battery_amp_hours"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| battery_voltage | No | Battery System Nominal Voltage (V). 12V, 24V, or 48V battery bank. Default: 12. Min: 12. Max: 48. | |
| dod_allowable_pct | No | Safe Depth of Discharge (DoD %) (%). Lead-acid/AGM = 50%, Lithium LiFePO4 = 80-90%. Default: 80. Min: 30. Max: 95. | |
| battery_capacity_ah | No | Battery Bank Capacity (Amp Hours) (Ah). Total battery Ah rating. Default: 200. Min: 20. Max: 2000. | |
| appliance_load_watts | No | Continuous AC Appliance Load (Watts). Fridge, laptop, TV, microwave combined. Default: 350. Min: 10. Max: 5000. |