tl;dr : how do you use "idt" to integrate the product of 2 waveforms?
I have been trawling the web for hours now and am still no closer to working this out.
I have seen this operator 'idt' floating around on various pages but have had no luck using it.
I am trying to model switching losses in a BJT, and am trying to generate a waveform that follows the integral of Ic*Vce so i can record the change in energy over the switching period.
I have Ic and Vce plotted for around 10 cycles over 400us.
I have the power plotted Ic*Vce
but using idt(Ic*Vce) is not working (says 'undefined symbol in' <formula>)and I cant think of a workaround / work out how to make it work.
Any spice gurus know / can help?
Thanks
I have been trawling the web for hours now and am still no closer to working this out.
I have seen this operator 'idt' floating around on various pages but have had no luck using it.
I am trying to model switching losses in a BJT, and am trying to generate a waveform that follows the integral of Ic*Vce so i can record the change in energy over the switching period.
I have Ic and Vce plotted for around 10 cycles over 400us.
I have the power plotted Ic*Vce
but using idt(Ic*Vce) is not working (says 'undefined symbol in' <formula>)and I cant think of a workaround / work out how to make it work.
Any spice gurus know / can help?
Thanks