Temperature and voltage in a multi Parameter Sweep Simulation #809
-
I want to make a simulation of a SPICE Library Device, with two parameter sweeps. |
Beta Was this translation helpful? Give feedback.
Replies: 11 comments 14 replies
-
It is a limitation of the Ngspice, because Ngspice has no |
Beta Was this translation helpful? Give feedback.
-
Is there any way I can set the temperature manually? I can compose the multigraph myself. MvhBengt NilssonSkickat från min iPhone6 juli 2024 kl. 08:21 skrev Vadim Kuznetsov ***@***.***>:
It is a limitation of the Ngspice, because Ngspice has no .STEP analysis like other simulators. The Parameter sweep is emulated by autogenrated script and this approach is very buggy and has several limitations. Only DC sweep can sweep temperature. The outer Parameter sweep loop is implemeter via alter or alterparam Ngspice command. These commands don't accept global parameters like temperature.
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
It worked to add a parameter Temp=85 directly in the SPICE lib file .model section. |
Beta Was this translation helpful? Give feedback.
-
Refer to the section 1.3.2 of the Ngspice manual. https://ngspice.sourceforge.io/docs/ngspice-html-manual/manual.xhtml You can set the global temperature using |
Beta Was this translation helpful? Give feedback.
-
Perfect, thanks. |
Beta Was this translation helpful? Give feedback.
-
I am sorry, I don't understand your request. Please clarify. |
Beta Was this translation helpful? Give feedback.
-
Not much corrections, only the .PARAM added. |
Beta Was this translation helpful? Give feedback.
-
I have found a way how to automatize temperature sweep in outer loop. See #816 This feature will be available since the next release. |
Beta Was this translation helpful? Give feedback.
-
beginning of the 2024 I made this in qucs-s without a problem. (qucs-s 2.1.0) in parameter sweep I used TEMP keyword and in bc108b TEMPER keyword and simulation is done but newer version simulation failed. |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
Is the file above, [CCS_plot_cheat_prj.zip] corrupted? X1-X4 have issues on my Windows machine. |
Beta Was this translation helpful? Give feedback.
I have found a way how to automatize temperature sweep in outer loop. See #816 This feature will be available since the next release.