{"slug":"solar-halowerk-com-battery-cycle-641aca","title":"Integrates the supplied current over time by the trapezoidal rule, so the result","host":"solar.halowerk.com","method":"POST","resource":"https://solar.halowerk.com/battery-cycle","category":"other","description":"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 f","price_listed":0.004,"price_asked":0.004,"state":"answering","state_label":"Answering","checks_7d":1,"answered_7d":1,"latency_ms_median":1223,"reported_calls_30d":2,"reported_payers_30d":2,"networks":["eip155:8453"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"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":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"cells_in_series":{"default":4,"maximum":64,"minimum":1,"type":"integer"},"max_gap_seconds":{"default":300,"maximum":86400,"minimum":1,"type":"number"},"nominal_capacity_ah":{"maximum":10000,"minimum":0.1,"type":"number"},"rest_current_a":{"default":0.5,"description":"Below this absolute current a sample counts as resting.","maximum":100,"minimum":0,"type":"number"},"samples":{"items":{"additionalProperties":false,"properties":{"current_a":{"description":"Positive charging, negative discharging.","maximum":2000,"minimum":-2000,"type":"number"},"t_s":{"description":"Seconds since series start, strictly increasing.","maximum":100000000,"minimum":0,"type":"number"},"temperature_c":{"maximum":120,"minimum":-60,"type":"number"},"voltage_v":{"description":"Pack voltage.","maximum":1000,"minimum":0,"type":"number"}},"required":["t_s","voltage_v","current_a"],"type":"object"},"maxItems":5000,"minItems":3,"type":"array"}},"required":["samples"],"type":"object"},"bodyType":{"enum":["json","form-data","text"],"type":"string"},"method":{"enum":["POST","PUT","PATCH"],"type":"string"},"type":{"const":"http","type":"string"}},"required":["type","method","bodyType","body"],"type":"object"}},"required":["input"],"type":"object"},"history":[{"day":"2026-10-18","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.004,"price_match":true,"latency_ms":1223,"error":null}],"description_full":"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.","last_updated":"2026-10-15T00:55:07.77Z","schemes":["exact"]}