Problems concerning the measurement with non-linear and time-dependent loads: an application to switched reluctance drive