Spice Opus Forum

This is a community forum and not official technical support. — If you need official support: Contact Us

The following comments are owned by whoever posted them. We are not responsible for them in any way.

Back to Threads Reply to Thread

Parameter variation

I want to run a transient simulation of RC circuit for different values of C. how to do it?

Assume a netlist such as
Vin 100,0 dc 10
R1 100,1 1k
C1 1,0 0.1u

you need to place a control block in the netlisting
.control
let @c1[capacitance] = 0.001u
op
.endc

This would change value value of C1 and run a DC operating point analysis (I know, not useful since we're varying the capacitance, but you get the idea).
I generally write a separate script file outside the netlist file with such commands.

Mark Walter

CrossOver Forums: the place to discuss running Windows applications on Mac and Linux

CodeWeavers or its third-party tools process personal data (e.g. browsing data or IP addresses) and use cookies or other identifiers, which are necessary for its functioning and required to achieve the purposes illustrated in our Privacy Policy. You accept the use of cookies or other identifiers by clicking the Acknowledge button.
Please Wait...
eyJjb3VudHJ5IjoiVVMiLCJsYW5nIjoiZW4iLCJjYXJ0IjowLCJ0enMiOi02LCJjZG4iOiJodHRwczpcL1wvbWVkaWEuY29kZXdlYXZlcnMuY29tXC9wdWJcL2Nyb3Nzb3Zlclwvd2Vic2l0ZSIsImNkbnRzIjoxNzM5NTcwNzYwLCJjc3JmX3Rva2VuIjoicndNcU5KNGJLQ3dFeFJldCIsImdkcHIiOjB9