Charging Time Calculator
calculate_charging_timeEstimate how long it takes to charge a battery bank from a given state of charge to a target level. Accounts for the bulk charging phase (constant current, up to ~80% SoC) and the slower absorption phase (tapering current, 80-100% SoC). Works for any charging source: solar, shore power, alternator.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"batteryCapacityAh": "<batteryCapacityAh>",
"batteryVoltage": "<batteryVoltage>",
"currentStateOfChargePercent": "<currentStateOfChargePercent>",
"chargePowerWatts": "<chargePowerWatts>"
},
"name": "calculate_charging_time"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| batteryVoltage | Yes | Battery bank voltage (e.g. 12, 24, 48) | |
| chargePowerWatts | Yes | Charger output power in watts | |
| batteryCapacityAh | Yes | Total battery bank capacity in amp-hours | |
| chargeCurrentAmps | No | Maximum charge current in amps (if limited by the charger or battery BMS). If omitted, calculated from power and voltage. | |
| targetStateOfChargePercent | No | Target state of charge in percent (default: 100) | |
| currentStateOfChargePercent | Yes | Current state of charge in percent (e.g. 20 for 20%) |