generalized network impedance