I am simulating a sensor for a project and I get this error when I run xyce on the netlist:
.png?part=0.1&view=1)
I have this analysis line:
******Analysis********
.tran 10u 150m
.print tran PRECISION=6 WIDTH=8 v(2) v(4) v(5) v(9)
*Initial Condition Guesses:
.NODESET V(9)=1.8V ;(SR LATCH NODE)
.NODESET V(10)=0V ;(SR LATCH NODE)
;.NODESET V(5)=1.8V
;.NODESET V(4)=0V
***********************
And the following independent sources (which I try to make zero initially to see if the simulation converges more quickly)
* Independent Voltage Sources
Vdd 1 0 PULSE(0 1.8 10u)
;Vdd 1 0 1.8V ;
* Independent Current Sources
Iref1 1 2 PULSE(0 {IREF} 10u)
Iref2 1 3 PULSE(0 {IREF} 10u)
How do I
A) make sure that the simulation converges more quickly (without these pulses on the independent sources I am getting a painfully long simulation time)? Specific Initial conditions, netlist commands,etc?
B) reliably/systematically/synchronously start the independent sources at 0?
C) avoid this kind of timestep error?