Why does RC circuit create 180 degree phase shift in current?
All simple components in a simulator have an orientation. If you plotted the current it can be reversed by reversing the orientation. In other words, when you asked your sim to plot I(C1), if C1 was placed the wrong way round it will plot -I(C1). Your sim has no idea what orientation you favour so internally for each simple model, there is a &quot;pin 1&quot; and a &quot;pin 2&quot;.
Sometimes they are called &quot;+&quot; and &quot;-&quot;.
You need to get the orientation correct to have &quot;pin 1&quot; or pin &quot;+&quot; the one that is receiving the current and the other pin passing the current out.