Hi,
let's have a very basic circuit like this: GND|---- voltage source ----- capacitor ---- resistor -----|GND
When I run a simulation with LTSpice, the voltage at the capacity is NOT building up like an exponential function. The reasoning I found by googeling: as long as the "startup" option is not set, the simulation would assume the full voltage is instantly available at the connected elements.
Since I am a Linux guy, I do my simulations with ngspice which doesn't have such a "startup" option (e.g. there is no ".tran 0.1m 10m [...] startup").
As an interim solution, I add to my voltage source a PWL instruction like this one: "V1 node1 node2 PWL(0 0 1e-9 3.6)"
I am wondering: how would professional people solve this issue? I also just took 1 nanosecond by random. What duration would be really meaningful?