Capacitor on power supply
$begingroup$ @Fed if you have a big discharged capacitor, a switch and a power supply in a mesh, once you close the switch, the instantaneous current will be V/R, where V is the power supply voltage and R is the parasitic + initial