# LTSpice showing negative transistor power

I'm using LTSpice to model a LC oscillator, driven by a NPN transistor. When I used the power calculating function on the transistor, LTSpice indicated that during part of the cycle the power dissipated in the transistor is negative. I was under the impression that transistors always dissipate power resistively since they don't store energy in E or B fields.

So my question is, what am I to make of this? Should I take the absolute value or something?

EDIT: As requested, here's the asc file: http://pastebin.com/F1wBPXVy

• Since you have it available, it would be most convenient for people trying to see for themselves to provide the .asc file. Anyways have a look at the transistor connectors in which direction current is flowing tehre. Jan 15, 2015 at 16:38
• Not that the asc format is just text, so pastebin.com and similar work well enough for uploading that. Jan 15, 2015 at 16:49
• @RespawnedFluff: right click, open in new tab. its a 2n5550. Btw. I am pretty sure he exceeds the emitter base voltage. Jan 15, 2015 at 16:56
• Yeah, this is a 2n5550. And yes, in real life the transistor would be burning. But it doesn't matter, I found the same behavior with a variety of transistors. Jan 15, 2015 at 17:00
• So, yeah, LTspice thinks you can have hundreds of milliamps flowing both in and out of that transistor's base... imgur.com/RxiK8jU Jan 15, 2015 at 17:54

In your case, the inductor stores kinetic energy (as current), and pumps this current toward the transistor's collector. The transistor is off, so its collector voltage flies up to $100\rm{V}$ -- in other words, the inductor's kinetic energy is transferred to potential energy (as voltage) in whatever capacitance hangs on that node from C3 and Q1. Once the inductor runs out of steam, the capacitors deliver their energy back to it. It works exactly like a child on a swingset. Q1's model shows a base-collector capacitance $C_{BC}$ of about $1.6\rm{pF}$, which puts it in the same ballpark as C3's $3\rm{pF}$. Nothing to scoff at.