Can't do stepped sweep
709 1
andyfierman 7 years ago
******BUG****** Concise problem statement: Can't find a way to do a swept value of R1. Trying to implement section .step of ngspice manual: <a href="" target="_blank" rel="nofollow"></a> Note that spice netlist has lost indents for content of .control .... .end section. Don't know if that has any effect. Note also that simulation runs OK as a simple non-swept sim and does not report errors. .STEP R1 1k 2k 1k statement is commented out but has no effect if set to spice directive. Steps to reproduce bug: 1. Run transient simulation Results: V(boo) only shown at 2.5V. Expected results: V(boo) should be shown as 2.5V and 1.67V. Url: <a href="" target="_blank" rel="nofollow"></a> Browser:Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/30.0.1599.66 Safari/537.36
andyfierman 7 years ago
Although most of this bug report can be ignored now, there is still a problem. There were several mistakes in my .control ... .end structure as I originally posted the circuit. They have been fixed and the sim now runs through the expected 3 steps. However, there remains a problem that only the results of the last step are shown as a transient simulation in the waveform display. The parameters of that transient simulation are the ones set in the 'Run the Document' window and are not those defined by the 'tran 1u 1m' line inside the .control ... .end structure. How to display all the stepped waveform results (for R1 = 1k, 2k, 3k)?
Login or Register to add a comment
svg-battery svg-battery-wifi svg-books svg-more svg-paste svg-pencil svg-plant svg-ruler svg-share svg-user svg-logo-cn svg-double-arrow