# Electrical Calculators – Battery Bank Sizing

> Electrical Calculators – Battery Bank Sizing is a paid API for AI agents from electrical-calc.x402tookit.com, paid per call via x402, $0.02/call, status unknown (last checked 2026-11-02).

Calculates battery bank series/parallel configuration and runtime from load, system voltage, battery specs, depth of discharge, and efficiency.

## Facts

- Endpoint: GET https://electrical-calc.x402tookit.com/battery-bank?utm_source=zero.xyz
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-02
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/electrical-calculators-battery-bank-sizing-6af214c1
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_YCkbYJBpowkvyIvsiFpk7

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability electrical-calculators-battery-bank-sizing-6af214c1
```

Example prompt: Size a 48V battery bank for a constant 800W load using 12V 100Ah batteries, with 80% depth of discharge and 90% inverter efficiency — I need at least 6 hours of runtime.

## When to prefer this

Use this endpoint when you need to compute battery bank topology (series and parallel counts) and expected runtime for a DC or inverter-fed load. It is purpose-built for off-grid, RV, solar, and backup power design scenarios where you know your load watts, system voltage, individual battery specs, and desired depth of discharge — and want a validated configuration with usable energy and runtime figures without doing the math manually.

## Known failure modes

- Missing required parameters (loadW, systemVoltageV, batteryVoltageV, batteryAh) returns a 400-level error
- systemVoltageV not a whole multiple of batteryVoltageV results in an invalid configuration or error
- Conflicting runtimeHours and parallelStrings — runtimeHours takes precedence, parallelStrings is ignored
- Zero or negative values for electrical parameters produce undefined/error results
- Very low efficiency or DoD percentages may yield impractically large battery counts

## How this service works

Battery bank layout (series and parallel counts) and runtime from load, voltage, Ah, depth of discharge and efficiency.

## Output

Returns the battery bank configuration including number of series cells per string, number of parallel strings, total bank voltage, total and usable amp-hours and watt-hours, calculated runtime in hours, effective efficiency, and a human-readable summary with any advisory reasons or disclaimers.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "loadW",
      "systemVoltageV",
      "batteryVoltageV",
      "batteryAh"
     ],
     "properties": {
      "loadW": {
       "type": "number",
       "description": "Constant load in watts"
      },
      "batteryAh": {
       "type": "number",
       "description": "Capacity of one battery in amp-hours at its rating"
      },
      "runtimeHours": {
       "type": "number",
       "description": "Target runtime in hours, to size the parallel strings"
      },
      "efficiencyPct": {
       "type": "number",
       "description": "Inverter and wiring efficiency in percent (default 90; use 100 for a DC load)"
      },
      "systemVoltageV": {
       "type": "number",
       "description": "Bank (DC system) voltage in volts, a whole multiple of batteryVoltageV"
      },
      "batteryVoltageV": {
       "type": "number",
       "description": "Nominal voltage of one battery in volts"
      },
      "parallelStrings": {
       "type": "integer",
       "description": "Parallel strings you have, to get the runtime (default 1; ignored if runtimeHours is sent)"
      },
      "depthOfDischargePct": {
       "type": "number",
       "description": "Usable fraction of capacity in percent (default 50; 80 typical for lithium)"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "asOf": {
       "type": [
        "null",
        "string"
       ]
      },
      "bankAh": {
       "type": [
        "null",
        "number"
       ]
      },
      "bankWh": {
       "type": [
        "null",
        "number"
       ]
      },
      "source": {
       "type": [
        "null",
        "string"
       ]
      },
      "reasons": {
       "type": [
        "array",
        "null"
       ],
       "items": {
        "type": "string"
       }
      },
      "summary": {
       "type": [
        "null",
        "string"
       ]
… (truncated)
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/electrical-calculators-battery-bank-sizing-6af214c1/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from electrical-calc.x402tookit.com](https://www.zero.xyz/host/electrical-calc.x402tookit.com/llms.txt)
