Documentation sections
Capacitor Energy & Charge Calculator
POSThttps://rftools.io/ api/ py/ v1/ calculate
Slug capacitor-energy. Calculate capacitor energy (E = 1/2·CV²), stored charge (Q = CV), and average charging current. Enter capacitance in μF and voltage — get energy in mJ, charge in mC, and power instantly.
Inputs
Send every one of these in inputs, in the units shown. Most are required: a call without one is refused (400) and costs nothing; one the calculator can do without takes the default shown. An input outside its range is still computed and flagged in the provenance.
| Name | Unit | Range | Default | Description |
|---|---|---|---|---|
| capacitancenumber | μF | at least 0.001 | 100 | Capacitance |
| voltagenumber | V | at least 0 | 12 | Voltage |
| chargeTimenumber | ms | at least 0.001 | 10 | Charge Time |
Outputs
Returned in values, by key. A value that is unbounded or undefined is null.
| Field | Unit | Description |
|---|---|---|
| energyheadline | mJ | Stored Energy |
| charge | mC | Stored Charge |
| avgChargeCurrent | mA | Average Charge Current |
| chargePower | mW | Charge Power |
Calling it
- Calculate: one call, the request and response in full, and its errors.
- Batch: this calculator with others, or a sweep, in one request.
- Solve for a target: the value of one input that brings an output to a target.