Impedance Measurement Techniques In Noisy Medium Voltage Power Hardware-In-The-Loop Environments