Real-time estimation of R, L, and C parameters under non sinusoidal conditions. A proposal