Battery Bank Sizing Calculator
calculate_battery_bankCalculate the recommended battery bank size based on daily energy consumption. Accounts for days of autonomy (how many days without charging) and depth of discharge. Returns required capacity, number of batteries, and wiring configuration.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| systemVoltage | Yes | Target system voltage in volts (e.g. 12, 24, 48) | |
| daysOfAutonomy | No | Days the system should run without any charging (default: 2) | |
| singleBatteryAh | Yes | Capacity of a single battery in amp-hours (e.g. 100, 200) | |
| dailyConsumptionWh | Yes | Daily energy consumption in watt-hours (from calculate_power_budget) | |
| singleBatteryVoltage | Yes | Voltage of a single battery (e.g. 12.8 for LiFePO4, 12 for lead-acid) | |
| depthOfDischargePercent | No | Usable percentage of battery capacity. LiFePO4: 80-90%, AGM: 50%, Gel: 50% (default: 80) |