opendss_fault_1ph
Apply a single-phase-to-ground fault at a chosen bus to obtain fault current, 3I0, short-circuit power, and voltage sag. Vary fault resistance to derive zero-sequence Thevenin impedance.
Instructions
Run a single-phase-to-ground (1F-G) fault at a specific bus.
Applies a 1-phase fault on the specified phase with given resistance and returns fault current magnitude, 3I0, per-phase voltages (pre/post), short-circuit power, and voltage sag impact.
Use two calls with different r_fault values (e.g., 0.01 and 1.0) to extract zero-sequence Thévenin impedance Z0_th via dual-fault method.
The circuit must be compiled first with opendss_compile_file or _script.
Args: params: Fault1PhInput with bus name, phase, and fault resistance.
Returns: Fault current, 3I0, Scc_1ph, and voltage impact summary.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| params | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |