electricpy.fault.residcomp

electricpy.fault.residcomp(z1, z0, linelength=1)[source]

Residual Compensation Factor Function.

Evaluates the residual compensation factor based on the line’s positive and zero sequence impedance characteristics.

Parameters:
z1 : complex

The positive-sequence impedance characteristic of the line, specified in ohms-per-unit where the total line length (of same unit) is specified in linelength argument.

z0 : complex

The zero-sequence impedance characteristic of the line, specified in ohms-per-unit where the total line length (of same unit) is specified in linelength argument.

linelength : float, optional

The length (in same base unit as impedance characteristics) of the line. default=1

Returns:

k0 – The residual compensation factor.

Return type:

complex