Monday, May 9, 2016

Plotting temperature when it is changed as a dynamic transient parameter



The simulation temperature is changed during a transient analysis, by making it a 
dynamic parameter.

For example:
tran tran stop=20n errpreset=conservative write="spectre.ic" \
    writefinal="spectre.fc" annotate=status maxiters=5 \
    param=temp param_vec=[0 120 1u 170] param_step=1m
This will change the simulation temperature from 120 degrees at time=0, to 170 
degrees at time=1us.
How can the temperature be plotted as a function of time?

Add this line to a file which is included in the netlist:
save temp
When using ADE, type "save temp" in a new file with .scs extension such as 
 "include.scs".  Then add the file in Setup - Model Libraries. The "temp" variable 
will then be available for plotting in the Results Browser.

No comments:

Post a Comment