On this page:
Applying a fault to a bus causes it to act as an impedance was connected between it and a ground reference. The value of this impedance can be set using the ‘G_fault’ and ‘B_fault’ pins. Apply the fault by setting a non-zero value on the ‘active3PGFault’ pin.
For line, the default value of the fault impedance is same as the bus fault; however, it cannot be changed. Apply the line fault by setting a non-zero value to 'faulty' pin. The fault location in a line can also be provided using 'fault_distance_factor' pin. By default this value is 0.5 which means a fault would happen right at the middle of the line.
Available I/O Pins
Set/Get three-phase-to-ground fault status
Set/Get fault conductance
default = 1e5 p.u.
Set/Get fault susceptance
default = 0 p.u.
Set/Get three-phase-to-ground fault
Set/Get distance for line fault from starting bus
0 < value < 1
default = 0.5
See row 11, 16 and 17 of Pins page in phasor01_IEEE39.xlsx file in demo PHASOR-01.