Skip to main content
Glama
omnioperand-mcp

omnioperand-mcp

omni_battery_backup_storage

Calculate home battery backup runtime and usable stored energy from battery capacity, depth of discharge, inverter efficiency, continuous load, and daily solar recharge.

Instructions

Home Battery Backup Duration & Storage Calculator. Calculate backup run-time duration in hours and days for home battery systems (Tesla Powerwall, Enphase, SolarEdge) under essential or whole-home load. Discipline: ENERGY. Governing mathematical model / formula: Backup Hours = (Usable Battery kWh × Depth of Discharge × Inverter Efficiency) / Continuous Load kW.

USAGE GUIDELINES:

  • WHEN TO USE: Invoke for deterministic calculation of zero_solar_hours (Standalone Runtime (No Solar)), net_daily_duration (Off-Grid Resilience Horizon), usable_stored_kwh (Usable Stored AC Energy), daily_load_kwh (24-Hour Energy Consumption) using battery_capacity_kwh (Nominal Battery Capacity (kWh) in kWh), dod_pct (Max Depth of Discharge (DoD %) in %), continuous_load_w (Average Critical Load (Watts) in W), solar_recharge_kwh (Daily Solar Recharge Input (kWh/day) in kWh/day), inverter_eff_pct (Inverter Round-Trip Efficiency (%) in %). 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 'Home Battery Backup Duration & Storage 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-backup-storage"

    • category (string): "energy"

    • name (string): "Home Battery Backup Duration & Storage Calculator"

    • formula (string): Governing mathematical formula string

    • inputs (object): Echoed input parameter dictionary with applied defaults

    • metrics (object): Dictionary of computed outputs:

      • metrics.zero_solar_hours (Standalone Runtime (No Solar)): Formatted display string (e.g. '12.8 hours')

      • metrics.net_daily_duration (Off-Grid Resilience Horizon): Formatted display string (e.g. 'Indefinite (> 7 days)')

      • metrics.usable_stored_kwh (Usable Stored AC Energy): Formatted display string (e.g. '23.1 kWh')

      • metrics.daily_load_kwh (24-Hour Energy Consumption): Formatted display string (e.g. '43.2 kWh')

    • 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_backup_storage"
  }
}

Input Schema

NameRequiredDescriptionDefault
dod_pctNoMax Depth of Discharge (DoD %) (%). Manufacturer usable battery reserve. Default: 95. Min: 80. Max: 100.
inverter_eff_pctNoInverter Round-Trip Efficiency (%) (%). DC-to-AC and battery round-trip efficiency. Default: 90. Min: 80. Max: 98.
continuous_load_wNoAverage Critical Load (Watts) (W). Sump pump, refrigerator, lighting, router, essentials. Default: 1800. Min: 200. Max: 15000.
solar_recharge_kwhNoDaily Solar Recharge Input (kWh/day) (kWh/day). Solar energy replenishment during daylight. Default: 15. Min: 0. Max: 60.
battery_capacity_kwhNoNominal Battery Capacity (kWh) (kWh). Total battery pack energy (e.g. 2x Powerwall = 27 kWh). Default: 27. Min: 3. Max: 100.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.1.2

TDQS

Score is being calculated.

Deploy Server

Other Tools