-
|
I was testing transient analysis of a simple RC circuit, and I got weird results. The voltage rose too fast over the capacitor. After some testing and trying, and replacing '1M' as value for the resistor with '1e6', I finally got the correct result. It seems that '1M' is interpreted as '1 milli', not as '1 mega'. That might be something to fix, or to add to the documentation. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
|
ngspice and Qucsator use slightly different syntax for units. You need to read the documentation or only use "numbers" like 1e6. The same applies for models. Some Spice models use syntax that ngspice will misinterpret. |
Beta Was this translation helpful? Give feedback.
-
|
Ok, thx. Good to know. |
Beta Was this translation helpful? Give feedback.
-
|
Don't close the discussions. Keep it open and select one answer as accepted instead. This makes solution visible for other users. |
Beta Was this translation helpful? Give feedback.
ngspice and Qucsator use slightly different syntax for units. You need to read the documentation or only use "numbers" like 1e6.
The same applies for models. Some Spice models use syntax that ngspice will misinterpret.