Electric Power Flow
electric_power_flowCalculate balanced three-phase power, feeder voltage drop, per-unit rebasing, sequence components, fault currents, and capacitor correction for steady-state RMS studies.
Instructions
Balanced three-phase P/Q/S and capacitor correction; exact/approximate feeder drop; per-unit rebasing; Fortescue components and four sequence-network fault types. Fitzgerald/Kirtley steady-state RMS methods. No harmonics, cable ampacity, protection settings or compliance checks.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "electric_power_flow"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | Calculation: balanced, feeder, per_unit, components or fault; each mode rejects unrelated quantity inputs. | balanced |
| length | No | One-way feeder length, e.g. '100 m'; feeder mode only, '' omitted otherwise. | |
| source | No | Balanced/feeder data source: power_pf, power_pq or phasors; phasor angles reference phase-A voltage. | power_pf |
| phasors | No | Components mode: exactly 3 'real,imag' rows, e.g. '1 V,0 V;0 V,0 V;0 V,0 V'; <=1000 chars per row. | |
| direction | No | Components direction: phase_to_sequence (abc to 012) or sequence_to_phase (012 to abc). | phase_to_sequence |
| frequency | No | Supply cyclic frequency, e.g. '50 Hz'; used for capacitor correction only. | 50 Hz |
| impedance | No | Per-unit mode 'real,imag' impedance, e.g. '1 ohm,2 ohm' or '.1 dimensionless,.2 dimensionless'; '' omits. | |
| base_power | No | Old three-phase apparent base, e.g. '10 MVA'; per_unit mode, VA family only. | |
| connection | No | Load connection wye or delta for balanced/feeder winding phase values. | wye |
| fault_type | No | Fault mode: three_phase, line_ground (a), line_line (b-c), or double_line_ground (b-c-ground). | three_phase |
| real_power | No | Total consumed real power, e.g. '12 kW'; power_pf/power_pq modes; W family, '' omits for phasors. | |
| peak_method | No | Peak factor: half_cycle approx. sqrt(2)(1+exp(-pi R/X)) of fault loop, or iec_kappa sqrt(2)*kappa from bolted R1/X1. | half_cycle |
| phasor_kind | No | Components quantity: voltage or current; all three phasors must use compatible V or A units. | voltage |
| base_voltage | No | Old line-line base voltage, e.g. '11 kV'; per_unit mode required. | |
| line_current | No | Line RMS current magnitude, e.g. '25 A'; phasors source only, '' omitted for power inputs. | |
| line_voltage | No | Receiving or prefault line-line RMS voltage, e.g. '400 V'; balanced, feeder and fault modes. | |
| power_factor | No | Displacement power factor magnitude, 0.001..1; used only by power_pf source. | |
| current_angle | No | Line-A current angle versus phase-A voltage, e.g. '-30 deg'; phasors source only, '' means 0 deg. | |
| new_base_power | No | New three-phase apparent base, e.g. '20 MVA'; per_unit mode, '' keeps old apparent base. | |
| reactive_power | No | Total signed reactive power, e.g. '9 kvar'; power_pq only, positive inductive; '' omitted otherwise. | |
| zero_impedance | No | Fault zero-sequence 'R,X', e.g. '0.2 ohm,3 ohm'; required for ground faults, '' otherwise. | |
| fault_impedance | No | Fault path passive 'R,X', e.g. '0 ohm,0 ohm'; line_line is b-c path, ground types share ground path. | 0 ohm,0 ohm |
| impedance_basis | No | Per-unit input basis: ohm or per_unit; new base outputs always include dimensionless impedance. | ohm |
| feeder_reactance | No | One-conductor inductive reactance per length, e.g. '0.1 ohm/km'; feeder mode required. | |
| new_base_voltage | No | New line-line voltage base, e.g. '33 kV'; per_unit mode, '' keeps old voltage base. | |
| feeder_resistance | No | One-conductor resistance per length, e.g. '0.2 ohm/km'; feeder mode required. | |
| negative_impedance | No | Fault negative-sequence 'R,X', e.g. '0.1 ohm,1 ohm'; required for unbalanced faults, '' otherwise. | |
| positive_impedance | No | Fault positive-sequence Thevenin 'R,X', e.g. '0.1 ohm,1 ohm'; required, passive. | |
| target_power_factor | No | Capacitor correction target 0.001..1, lagging; 0 omits correction. Balanced/feeder modes only. | |
| capacitor_connection | No | Correction bank connection: delta or wye; capacitance output is per branch. | delta |
| power_factor_direction | No | Reactive direction for power_pf source: lagging or leading. | lagging |