Catalog/elec-pf-correction

Electrical

Power-factor correction API

Computes the capacitor kVAR needed to raise power factor from current to target at a real load, and optionally the capacitance for a given voltage/frequency. Answers 'How many kVAR of capacitors do I need to correct power factor to 0.95?', 'What capacitor size fixes my PF?'.

Price$0.06per request
MethodPOST
Route/v1/electrical/pf-correction
StatusLive
MIME typeapplication/json
Rate limit120/minute
Cache0s public
electricalpower-factorpf-correctionkvarcapacitorreactiveutilitydemand
API URLhttps://x402.hexl.dev/v1/electrical/pf-correction
Integration docs
Example request
{
  "realPowerKW": 100,
  "currentPf": 0.75,
  "targetPf": 0.95
}
Example response
{
  "realPowerKW": 100,
  "currentPf": 0.75,
  "targetPf": 0.95,
  "correctionKVAR": 55.3233,
  "apparentBeforeKVA": 133.333333,
  "apparentAfterKVA": 105.263158,
  "reactiveBeforeKVAR": 88.19171,
  "reactiveAfterKVAR": 32.868411,
  "formula": "Qc = P*(tan(acos(pf1)) - tan(acos(pf2)))"
}
Input schema
{
  "type": "object",
  "required": [
    "realPowerKW",
    "currentPf",
    "targetPf"
  ],
  "properties": {
    "realPowerKW": {
      "type": "number",
      "examples": [
        100
      ]
    },
    "currentPf": {
      "type": "number",
      "examples": [
        0.75
      ]
    },
    "targetPf": {
      "type": "number",
      "examples": [
        0.95
      ]
    },
    "frequencyHz": {
      "type": "number",
      "examples": [
        60
      ]
    },
    "lineVoltageV": {
      "type": "number",
      "examples": [
        480
      ]
    },
    "connection": {
      "type": "string",
      "enum": [
        "1ph",
        "wye",
        "delta"
      ],
      "examples": [
        "delta"
      ]
    }
  }
}
Output schema
{
  "type": "object",
  "additionalProperties": true
}