LC Filter Parameters Design Method Based on Harmonic Contents Analysis for Dual-Mode Single-Phase Inverter