-
Hello! I am new to qucs-s. I have used qucs for AC and S parameter simulation before, mostly for RF stuff, like filter design etc. Now I am trying transient simulation with qucs-s and ngspice. For start I tried a simple oscillator. The first (attached osc1_old.sch file) version had a "cold start". Second and third harmonics can be barely seen on the spectrum, just a couple of pixels. A log graph would be better in showing them, so I added eq2. But it looks (in the log) like qucs is trying to evaluate eq2 before doing the FFT, so no results. Next I added a "kickstart", by adding initial voltages to capacitors, so I could do a shorter simulation (attached file osc1.sch). Now I do not see it even trying to evaluate eq2 in the log? Also no trace of eq2 in the .cir file. Marko Cebokli |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 1 reply
-
You should specify the
This question was asked and answered several times before. See the recent discussion #317 and #226. And there exists more old issues referencing the IC setting. You should set |
Beta Was this translation helpful? Give feedback.
-
Thank you very much for the quick answer! In fact, I did find out about the initialDC thing before (it is already in my second file in the previous post). If I am interested just in the steady state spectrum (without the switch-on transient), can I somehow tell the FFT analyzer to only take samples from 1E-7 to 2e-7 seconds? (or any other interval) |
Beta Was this translation helpful? Give feedback.
-
No, there exists no way to set the start time of the FFT. I may consider to add this option in the future. As a workaround you have to construct the simulation using the nutmeg script simulation type. An example is shown here: |
Beta Was this translation helpful? Give feedback.
-
I have created a new task for this request. See #336 The tstart option may appear in the next release. |
Beta Was this translation helpful? Give feedback.
You should specify the
Simulation=fft
instead ofac
in the equation properties. FFT and AC are different simulations. After applying these corrections everything works as expected.This question was asked and answered several times before. See the recent discussion #317 and #226. And there exists more old issues referencing the IC setting. You should set
InitialDC=no
in the transient simulation options (the second tab of the dialog window). This will apply the IC to the schematic. I don't know how to make this option better visi…