Hi all, is there a way to switch between transient...
# xschem
e
Hi all, is there a way to switch between transient analysis, AC analysis and DC analysis quickly with only one schematic? I am considering to just make three schematics with different name, but if I can do it with just one schematic it would be the best
s
Write the simulation command for all three, and then put a * at the start of whichever ones you don't want to comment them out
from top.sch take a look at the test_bipolar example, you'll see the tran simulation command is commented out
s
@Edo Jayakusuma using 3 schematics is not a good choice, you need to keep updates on all three when changing something. It is best to put a
.ac
,
.dc
and a .
tran
line and comment 2 out of these 3 as @Shridhar Ambady suggested. You can also run all these analyses one after the other, with the 'setplot' command in ngspice you can switch between (say) tran1, dc1, ac1 to display/plot the corresponding data. Xschem can display graphs itself, however it assumes only one analysis is present in the raw file, so run one analysis at a time. In the future Xschem will also allow to select which analysis to display from the raw file.