Hi <@U01819B63HP> Is it possible to vary the tempe...
# xschem
m
Hi @Stefan Schippers Is it possible to vary the temperature while doing transient analysis and plot it vs time using Xschem? As depicted in the figure below, my goal is to observe the change in the circuit voltage against the temperature variation in time domain. I have tried the code snippet shown below but it doesn't work.
Copy code
.control
let t = pwl(0 -40 500u -40 1m 125 1.5m 125)
set temp = t
tran 1u 1.5m
plot vout 
reset
.endc
p
Please check the test_comparator.sch sample schematic. You will find everything there in the stimuli file
1
s
I don't think you can vary temperature in a single transient run. You can do a set of simulations (dc, ac, tran) at different temperatures, but as far as I know not dynamically change temperature over time in a single transient simulation.
1