voltage drop
voltage_dropCalculates voltage drop across a conductor run given current, wire length, AWG gauge, system voltage, and conductor material (copper or aluminum). Computes round-trip resistance, voltage drop in volts and percent, voltage at the load end, power dissipated in the wire, and NEC compliance flags (3% max for branch circuits, 5% max for feeders). Use this after wire_gauge to verify a specific gauge meets requirements, or to evaluate an existing installation. Critical for solar panel string wiring, EV charger circuits, low-voltage lighting, and any long DC or AC cable run where resistive losses matter.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| conductor | No | Conductor material: copper or aluminum | copper |
| voltage_v | Yes | System voltage (V) | |
| current_amps | Yes | Load current in amperes (A) | |
| wire_length_m | Yes | One-way wire length in meters | |
| wire_gauge_awg | Yes | Wire gauge in AWG (e.g. 14, 12, 10; use negative for large gauges: -3 = 4/0) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| compliant | Yes | True if voltage drop is within NEC limits (<=3% branch, <=5% feeder) | |
| power_loss_w | Yes | Power dissipated as heat in the conductor (W) | |
| resistance_ohm | Yes | Total round-trip conductor resistance (ohm) | |
| voltage_drop_v | Yes | Voltage drop across the conductor run (V) | |
| voltage_drop_pct | Yes | Voltage drop as a percentage of system voltage | |
| voltage_at_load_v | Yes | Voltage at the load end (V) |