I am trying to simulate a LCL filter based Grid Connected inverter in PSIM simulation software. My circuit is attached for reference.
As can be seen, a single DC source is used to simulate DC link. Also the negative of the DC source is grounded which is also the only ground in system. The grid and inverter filter are not grounded. Any clarification regarding whether this is correct or not will be helpful. A single resistor is used to simulate the load connected to the grid as well as inverter output.
My query is regarding the currents in the inverter side and grid side inductors. The waveforms are attached. The waveform of load resistance current is also attached.
As can be seen both the waveforms of inverter side and grid side inductors currents have DC offsets. The waveform of load resistance current is pure sinusoidal without any offset.
I would like to ask whether the simulation is correct and how can i remove these DC offsets from inverter side and grid side inductors currents? I have tried splitting DC source into two sources and grounding the middle point with no change in inductor currents. Also the difference in magnitude of inductors currents and load resistance current is significant. Any comments on this difference will also be helpful.
I would highly appreciate any help.