Hi,
I have a simple circuit in which I am using the SPICE model for the GRM155C71H104JE19 from murata available here:
https://pim.murata.com/en-eu/pim/details/?partNum=GRM155C71H104JE19%23
I used the autogeneration method to obtain my QSPICE model.
During simulation I cannot plot neither the current nor the dissipation power in the device.
Why is this? Does QSPICE not support these features except for native discrete components and tool-generated transistors?
QSpice doesn’t support probing current directly from subcircuit terminals; you have to rely on the legacy technique of adding a 0V voltage source to probe current in a subcircuit.
https://forum.qorvo.com/t/unable-to-import-infineon-mosfet-models/15805/4
Thanks,
0V voltage source method works for plotting current.
I understand that power dissipation plotting is not possible for subcircuits? It would be great if it gets implemented at least for RLC subcircuits like this capacitor model.
Power is just average value of V*I for a two terminals device. For multiple terminals device, is average of the sum of all terminal voltage * current into that terminal.
Probe Subcircuit Current - 1.qsch (3.9 KB)
This formula gives average power dissipation when the voltage sources are periodic and the average is take over a shared integer multiple of the periods, otherwise it can have a non-dissipation contribution.
In any case this is not plotting the instantaneous P(…) described by Mike here:
https://forum.qorvo.com/t/new-feature-released-today-plot-true-dissipation/13957
Again I hope Mike implements plotting P(…) for RLC subcircuits at least.
You are referring to only add up all I*V from resistive component within a subcircuit at any given time?
Yes, the instantaneous power in the resistive elements, which is what I understood Mike to be referring to in the link.
You can access the power dissipation of each individual component within your subcircuit and sum them up.
I understand that what you are asking for is to make this automatic in QSpice, but that would be a feature request that you would have to discuss with Mike. But I wonder how challenging that would be to implement, given that subcircuits can be nested within other subcircuits. Furthermore, this type of automatic power summation doesn’t even exist at the top-level schematic—if you have multiple power-dissipating components in a design, you currently still have to sum their losses manually.
Probe Subcircuit Current.qsch (4.0 KB)