Stability Analysis of Power Hardware-in-the-Loop Architecture With Solar Inverter