Function powers::calc_mutual_z
source · pub fn calc_mutual_z(
_cond_type: ConductorType,
_r: f64,
_q: f64,
h_i: f64,
h_k: f64,
x_ik: f64,
f: f64,
rho: f64,
err_tol: Option<f64>
) -> Complex<f64>
Expand description
Calculates mutual impedance term (in Ohm/km)
Usage: mutual_Z = calc_mutual_Z(cond_type, r, q, h_i, h_k, x_ik, f, rho, err_tol=1e-6)
where cond_type is the conductor type (‘solid’ or ‘tube’) r is the radius of the conductor (mm) q is the radius of the inner tube (mm) h_i is the height of conductor i above ground (m) h_k is the height of conductor k above ground (m) x_ik is the horizontal distance between conductors i and k (m) f is the frequency (Hz) rho is the earth resistivity (Ohm.m) err_tol is the error tolerance for the calculation (default = 1e-6)
Returns: mutual_Z the self impedance term of line impedance matrix (Ohm/km)