Hi, in Orcad PSPICE LITE, we can see trace for cumulative power consumption with this call : s(W(C1))
Is there the same possibility to sum power consumption in a trace in EasyEDA ?
In EasyEDA there is no single call for the total power dissipation in the same way as in Pspice or LTspice.
It is however, possible to measure power dissipation in a number of ways.
Please see:
<https://easyeda.com/file_view_Probing-instantaneous-power-V-I_pLFyQ8qkC.htm>
in:
<https://easyeda.com/project_view_Spice-tutorials_AysKEWevN.htm>
There's more in:
<https://easyeda.com/project_view_Spice-tutorials-02_YxrJ1Vd7p.htm>
I saw we can have instant power consumption in EasyEDA with something like this :
Probe V(p1)*I(V2)
But I didn't find a solution to have the CUMULATIVE power consumption with something like this :
Probe SUM(V(p1)*I(V2))
I didn't see it in LTspice either...
Ah! Sorry: I misunderstood your question.
I thought you were asking about finding the total power in a number of dissipative loads such as a set of resistors or the total power in a MOSFET or BJT.
If what you want to find is, for example, the average power in a load driven from a pulsed source or the power in a load driven by a sinusoidal voltage source (i.e. the average of the instantaneous power) then I think the **MEAS** statement might help.
Have a look at:
<https://easyeda.com/Doc/Simulation-eBook/Making-measurements-of-simulation-results.htm#Usingthemeascommand>
and:
<https://easyeda.com/file_view_Probe-expressions_91ZXUSecy.htm>
<https://easyeda.com/file_view_RMS-and-average-of-chopped-sinusoids_TVrJ0iASM.htm>
in:
<https://easyeda.com/project_view_Making-measurements_1BTb4mEWe.htm>
p.s. In LTspice, doing **CTRL+left-click** on a trace in the plot window opens a waveform information box which includes start and end times of the displayed interval and the average and RMS of the trace over that interval.
Also, hovering the mouse over a device in a schematic and doing **CTRL+ALT+left-click** (ALT+left-click in Windows) plots the total instantaneous power in a device.
The .measure statement also exists in LTspice.
:)
Alt+click is for instant power, not for cumulative power.
You can see cumulative power consumption for capacitor charge here at 7:50 (sorry it's in french :
http://www.youtube.com/watch?v=wN-lokvShI8
It's help to explain that the energy stored in a capacitor can be expressed as W = 1/2 C V2 and why 50% of energy is loss with voltage generator.
thanks for the time you spent with me...
Hi Supercondensateur,
I hope you are still following this thread because I have built a demonstration of exactly what is shown in the video you shared.
https://easyeda.com/file_view_Energy-on-a-capacitor_b7jgeOomk.htm
(I'm sorry that it is perhaps not as elegant as in PSpice but there are some issues in WaveForm that I have to workaround ...)
When I get time, I will build some EasyEDA components to implement integral functions.
:)
BTW:
In LTspice, if you use a .measure statements then you can do:
**Run**
**CTRL+L** to open the SPICE error log file
then right click in the error log window
**Plot step'ed .meas data**
Doh!
Sorry but I accidentally deleted the original example. I have replaced it with a copy but of course the url to it has changed.
You can find it now at:
<https://easyeda.com/file_view_Energy-on-a-capacitor_40b97HFDO.htm>
in:
<https://easyeda.com/project_view_Public-user-help_ZmaYWw5FD.htm>
Our website uses essential cookies to help us ensure that it is working as expected, and uses optional analytics cookies to offer you a better browsing experience. To find out more, read our Cookie Notice