Harmonic estimation in power systems basing on numerical differentiation