I am working on a solar project.I have started simulation of grid connected pv system.First I have simulated individual modules PV, Boost Converter and multilevel inverter and their outputs are fine according to my calculation. When i tried to connect the boost converter and multilevel inverter output is distorted and the dc link voltage waveform is also not correct. Can anyone help me how to overcome this problem.