Analysis of Hybrid AC-DC Microgrid: Z-Inverse Technique