0
\$\begingroup\$

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?

\$\endgroup\$
2
  • \$\begingroup\$ Please explain the formula in detail. \$\endgroup\$
    – Andy aka
    Commented 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 Kulov
    Commented Apr 8, 2023 at 19:39

1 Answer 1

2
\$\begingroup\$

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.

\$\endgroup\$
1

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.