Line impedance is the ratio of complex line voltage to complex line current. You can calculate it with the following equation: Z(z) = V(z)/I(z).