For example: If a capacitance equals q·v·Ne·evj, can I insert a simple capacitor and put its value as Q= (q·v·Ne·exp(vj))·x, where x is the predefined variable which means voltage across the capacitor?
\$\begingroup\$
\$\endgroup\$
2
-
\$\begingroup\$ Please explain the formula in detail. \$\endgroup\$– Andy akaCommented Apr 8, 2023 at 12:16
-
1\$\begingroup\$ If your expression for the capacitance includes the voltage across it (i.e. voltage dependent capacitance), then the answer is "No". The nonlinear capacitor is a little tricky to deal with. Fortunately, a similar question was asked recently and the information there can be applied to what you're trying to do too: electronics.stackexchange.com/questions/661591 \$\endgroup\$– Ste KulovCommented Apr 8, 2023 at 19:39
Add a comment
|
1 Answer
\$\begingroup\$
\$\endgroup\$
1
Wrapping your value with {}
will allow dynamic evaluation..You can then use variables such as q
and x
. However, these variables much be defined, e.g. in a separate .param q=1.602e-19 x=5
statement.
-
3\$\begingroup\$ A reference supporting this: analog.com/en/analog-dialogue/raqs/raq-issue-192.html \$\endgroup\$ Commented Apr 8, 2023 at 15:14