Electrical – A question about reactive power through a capacitor in LTspice

capacitorinductorltspicepassive-networkspower

Before posing the question I would like to write the assumption I make for the power concept in passive circuits. As far as I know the power dissipated in an RLC circuit is the active power which is actually only dissipated through the resistor R. Power through L and C components are associated with reactive power which means they in average do not dissipate power, they absorb and give back the energy to the circuit continuously.

If the above is true, then I assume a simulation should indicate the average power through an inductor or a capacitor as zero.

Here is a simulation for inductor case where the input is a periodic pulse (plot shows the power through the inductor):

enter image description here

It seems the integral of the above plot with time is zero.

But below in capacitor case I don't get the expected plot:

enter image description here

In this case the integral of the above power plot with time is non-zero. And it is increasing.

Why in the capacitor case the average power is non-zero unlike in inductor case in this LTspice simulation?

EDIT: Below is the input signal asked as request:

enter image description here

Here are the settings:

enter image description here

Edit 2: Here in case of sine input:

enter image description here

Edit 3:

Capacitor power from beginning to steady state (source is pulse again):

enter image description here

And a zoom section from the steady-state:

enter image description here

And here below the capacitor power in mW(blue line) and its integral(green line) for the first 500 sec:

enter image description here

As you see the integral goes to a constant which indicates the capacitor does not suck energy anymore from the circuit after certain amount of seconds.

Is the energy at the beginning called as dissipated or stored? In other words is the power at the beginning active or reactive?

Best Answer

What I think you're seeing is the start of an exponential where the capacitor is charging. The time constant is 22s and the pulse duration is very small compared with this, so you're only seeing the early stages of the exponential.

In charging a capacitor there is a flow of power in, but the resultant energy is stored and not dissipated.

I don't know why there is no discharge curve; it may be worth decreasing the pulse frequency significantly so that we can see what's happening in the time frame of the time constant. The integration sampling time may also be a factor.