ignamv / ngspyce

Python bindings for ngspice simulation engine
https://ignamv.github.io/ngspyce
GNU General Public License v2.0
63 stars 13 forks source link

power dissipation and storage inside the resistor and inductor #15

Open jasperchih opened 5 years ago

jasperchih commented 5 years ago

Hello,

i am looking forward the implementation in derive's "power dissipation R and storage L/C" for long time. There are some trick such as referring "ngspice-28-manual.pdf" chapter 31. Unfortunately, it is not work after many trials. Hereby, could please kindly comment this as possible.

thanks

jasper

ignamv commented 5 years ago

Hi jasper,

I couldn't quite catch that. What feature are you asking for? Chapter 31 of ngspice's manual talks about operating point parameters, is your request related to that?

Regards Ignacio

jasperchih commented 5 years ago

Hi Ignacio,

correct, i expect to fetch the dedicated component's power dissipation/storage result such as below picture from Microcap program. The pd(xx) means the power dissipation from R5; ps(xx) means the reactive power from L4. I want to offload Python side's loading in calculation from vectors. i did try times but always not working, Is there any chance to have your comment on the simple instruction code ? image