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
Stefan Schippers
11/12/2022, 6:38 PM
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 )
Stefan Schippers
11/12/2022, 11:24 PM
@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.
Linen is a search-engine friendly community platform. We offer integrations with existing Slack/Discord communities and make those conversations Google-searchable.