When connecting a capacitor directly to a voltage supply (without a resistor), is it correct to expect a surge in current at the instant when the capacitor and the battery are connected, then current immediately drops to zero because the capacitor is fully charged up?
I tried to do a simulation with only a voltage supply and an ideal capacitor (no resistor) and run a transient simulation. I then plotted the current flowing into the capacitor against time. The plot showed that current was always at 0 A. No surge in current was observed.
So would a surge in current happen in a real experiment? If so, does it mean that the simulation fails to represent the real circuit behaviour.
Thanks.