I built a basic schema with resistor, capacitor, ground and a battery in LTspice and MicroCap. I used transient analysis mode.
I expected to see on a plot showing decreasing current and increasing voltage during launch eventually stabilising at 0A. For the voltage I was expecting the opposite (starting out at 0V and stabilising at
Vbat), but I only get flat lines where capacitor voltage is equal to battery voltage from
t = 0 and current 0A.
I wanted to prove time to charge rule for capacitor where
T = 5RC.
I played with various time ranges and time steps but no luck.
What I am doing wrong?