Hello all, I have a quick question. I'm trying to ...
# xschem
s
Hello all, I have a quick question. I'm trying to run a Monte Carlo simulation and realized that the resistors don't vary with each run like the transistors do. Has anyone run into this? I am browsing the model files and see the resistance models lack mc_mm_switch variables. Any help would be welcome!
s
the easiest way is to save the supply currents and supply voltages, then sum the products of
current * voltage
. ngspice has also the ability to calculate the power consumption of an entire subcircuit:
* power dissipation of a subcircuit device
. probe p ( XU1 )
@StefanCK Thank you for routing my previous answer to @JC, i clicked the wrong message when responding. For montecarlo you are right, looks like mismatch is not working for resistors. Not a solution, but a confirm. I had the same issue.