Electrical
Battery bank sizing API
Sizes the required battery capacity (Ah) for a daily load given autonomy days, depth-of-discharge and temperature derate, and the parallel-battery count. Answers 'How many amp-hours of battery do I need for off-grid autonomy?', 'How many batteries in parallel?'.
Price$0.06per request
MethodPOST
Route/v1/electrical/battery-bank-sizing
StatusLive
MIME typeapplication/json
Rate limit120/minute
Cache0s public
electricalbatterybanksizingoff-gridautonomydepth-of-dischargesolar
API URL
Integration docshttps://x402.hexl.dev/v1/electrical/battery-bank-sizingExample request
{
"dailyLoadWh": 2400,
"systemVoltageV": 48,
"autonomyDays": 2,
"depthOfDischarge": 0.5,
"batteryAh": 100
}Example response
{
"dailyLoadWh": 2400,
"systemVoltageV": 48,
"autonomyDays": 2,
"depthOfDischarge": 0.5,
"temperatureDerate": 1,
"dailyLoadAh": 50,
"requiredCapacityAh": 200,
"requiredCapacityWh": 9600,
"formula": "Ah = (Wh/V * days) / (DoD * derate)",
"batteryAh": 100,
"batteriesInParallel": 2
}Input schema
{
"type": "object",
"required": [
"dailyLoadWh",
"systemVoltageV"
],
"properties": {
"dailyLoadWh": {
"type": "number",
"examples": [
2400
]
},
"systemVoltageV": {
"type": "number",
"examples": [
48
]
},
"autonomyDays": {
"type": "number",
"examples": [
2
]
},
"depthOfDischarge": {
"type": "number",
"examples": [
0.5
]
},
"temperatureDerate": {
"type": "number",
"examples": [
1
]
},
"batteryAh": {
"type": "number",
"examples": [
100
]
}
}
}Output schema
{
"type": "object",
"additionalProperties": true
}