Stepping simulation time problem

Hi Mike,

When stepping the simulation time, the waveform viewer can’t display correctly after simulation completed, only have the result from 0 to final tstop (in my case, it is 1.05ms). During simulation, i can see the result.

Schematic:
image

During Simulation:

Simulation Completed:

Thanks,
Marco

1 Like

Looks like the increment updates aren’t working hard enough. If you resize during simulation it will probably be okay. Otherwise its really just trying to let you know it doing something.

Hi Mike,

Thanks for your reply. Can you try to simulate below netlist?
The result after 1.05ms are gone in QSPICE.


  • Stepping simulation time
    R1 IN OUT 1K
    V1 IN 0 SINE 0 1 {Freq}
    C1 OUT 0 100n
    .param Freq=10K
    .param t0=1m
    .tran {t0+5/Freq}
    .plot V(OUT)
    .step oct param Freq 100 100K 10
    .end

Below are the simulation result in QSPICE and LTspice with same netlist.

Oh, I see, it was using the final datapoint as the extent for the abscissa.

OK, I changed it to look through each simulation of the .step. Please do the update thing.

–Mike

1 Like

Anyway it is good result… Looks like art for me :slight_smile:

1 Like

Hi Mike,

I updated the software and run the netlist, the waveform viewer shown all the result now.

BTW, it seems the dot measure post processor also need to do the same thing.
Please see below two results.
The first one is transient analysis with different end time (.tran {t0+5/Freq}), the post processor shown NAN when Freq below 11143Hz.
The second one is transient analysis with fixed end time (.tran {t0+5/100}), the post processor has results at each frequency step.


  • Stepping simulation time
    R1 IN OUT 1K
    V1 IN 0 SINE 0 1 {Freq}
    C1 OUT 0 100n
    .param Freq=10K
    .param t0=1m
    .tran {t0+5/Freq} ; .meas show NAN when Freq below 11143Hz
    ;.tran {t0+5/100} ; .meas have result at all Freq
    .plot V(OUT)
    .step oct param Freq 100 100K 10
    .meas gain FRA Freq V(in) V(out) from t0
    .meas plot gain
    .end

Simulation command using “.tran {t0+5/Freq}”

Simulation command using “.tran {t0+5/100}”

Thanks,
Marco

Do an update. .meas statements spanning steps of varying abscissa extent are now supported.

1 Like

Hi Mike,

Work perfectly!

Thanks,
Marco

1 Like