Can't do stepped sweep
798 1
andyfierman 8 years ago
******BUG****** Concise problem statement: Can't find a way to do a swept value of R1. Trying to implement section 16.13.4.2 .step of ngspice manual: <a href="http://www.ngspice.com/downloads/ngspice-manual.pdf" target="_blank" rel="nofollow">http://www.ngspice.com/downloads/ngspice-manual.pdf</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="https://easyeda.com/file_view_step-test-01_AysKEWevN.htm" target="_blank" rel="nofollow">https://easyeda.com/file_view_step-test-01_AysKEWevN.htm</a> Browser:Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/30.0.1599.66 Safari/537.36
Komentáře
andyfierman 8 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)?
Odpovědět
Pro přidání komentáře se musíte Přihlásit nebo Registrovat
goToTop
你现在访问的是EasyEDA海外版,使用建立访问速度更快的国内版 https://lceda.cn(需要重新注册)
如果需要转移工程请在个人中心 - 工程 - 工程高级设置 - 下载工程,下载后在https://lceda.cn/editor 打开保存即可。
有问题联系QQ 3001956291 不再提醒
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
We use cookies to offer you a better experience. Detailed information on the use of cookies on this website is provided in our Privacy Policy. By using this site, you consent to the use of our cookies.