I kinda find it hard to design an EMI filter for my microinverter (output is 60Hz at 360Vac). I already have the values for my inductor but then I cant find the correct values of capacitor. I used the 1/2pi(LC)^1/2 formula but then there are surges at different frequencies, the highest gain in my bode plot is around 50db which I believe is not acceptable. I dont know how to compute for the correct values of capacitor and what other consideration should I keep in mind.. thanks..