Hello If I don't misunderstand you, you would like to see such resuts: #Time V(2) 0. 0. 0.1 4.4201 0.2 4.9345 0.3 4.9939 0.4 5.0002 0.5 5. ...
Before the tran analysis, gnucap uses a DC analysis to find a "static state".
In your case, This one determines that the value of V(2) must be 5V. Then it does the tran analysis... There are two ways (at least) to see the increasing capacitor charge : 1) ask gnucap "Do not do an initial DC analysis and Use initial conditions." Vin 1 0 5 R1 1 2 1.K C1 2 0 47.u IC=0 tran 0 1 0.1 uic 2) adapt your voltage sources : if(t>1e-9) V=5 else V=0 Vin 1 0 FIT 0 0 1e-9 5 order=0 R1 1 2 1.K C1 2 0 47.u tran 0 1 0.1 Jacques Le Coupanec _______________________________________________ Help-gnucap mailing list [email protected] http://lists.gnu.org/mailman/listinfo/help-gnucap
