← Back to directory

Integrates the supplied current over time by the trapezoidal rule, so the result...

https://solar.halowerk.com/battery-cycle

Overview

Integrates the supplied current over time by the trapezoidal rule, so the result is only as good as the sampling interval; gaps longer than the stated max_gap_seconds are excluded and reported. Sign convention: positive current is charging, negative is discharging. Internal resistance is estimated from the largest current step in the series and is a rough figure, not a measurement under defined conditions.

Protocol x402 (POST)
Price $0.0040
Payment Asset USD Coin
Payment Network Base
Category crypto/defi
Provider solar
Source bazaar
Indexed 2026-08-14 08:12:32

Health

Status healthy
Latency (p50) 384ms
Uptime (30d) 100.0%
Reliability Score 95/100
Last Checked 2026-10-31 07:10:59
Last Healthy 2026-10-31 07:10:59
Consecutive Failures 0

x402 Payment Validation

Payment Requirements Valid
Asset Verified Known USDC
Facilitator —

Input Schema

{ "body": { "cells_in_series": 4, "nominal_capacity_ah": 100, "samples": [ { "current_a": 0, "t_s": 0, "voltage_v": 13.2 }, { "current_a": -5, "t_s": 60, "voltage_v": 13.1 }, { "current_a": -5, "t_s": 120, "voltage_v": 13 } ] }, "bodyType": "json", "method": "POST", "type": "http" }

Output Schema

{ "example": { "capacity_vs_nominal_percent": 0.1, "charge_ah": 0, "charge_energy_wh": 0, "coulombic_efficiency_percent": null, "discharge_ah": 0.125, "discharge_energy_wh": 1.64, "duration_s": 120, "energy_efficiency_percent": null, "internal_resistance_basis": null, "internal_resistance_ohm_estimate": null, "intervals_excluded": 0, "mean_c_rate": 0.033, "measured_capacity_ah": 0.125, "method": "trapezoidal integration of current and p", "samples_used": 3, "soc_from_rest_voltage_percent": 60, "soc_uncertainty_percent": 20, "temperature_c": null }, "type": "json" }