Tool/software: TINA-TI or Spice Models
How to get a computed expression with TINA-TI?
With more details, here is what I used with LTspice (in its most simplified format) : (netlist)
C1 Fin 0 22µ
R1 Debut Fin 220
V1 Debut 0 5
.tran 0.02 startup
.meas tran E_fourni integ V(debut)*I(R1)
.meas tran E_dissipe integ (V(fin)-V(debut))*I(R1)
.backanno
.end
The two meas directives are what I would like to get, or, if you prefer in clear, since it may be available in another way with TINA, how to compute the Energy defined as the area under the power curve? In fact, looking, in this case, for efficiency, I look for E_dissipe divided by E_fourni ( an extra bonus if I can vary the 0.02s to get a whole curve, efficiency versus charging time, not just a point at a time, here, when the charging time is 0.02 ).
Hoping that my question is not too obscur.
Thanks for you attention, in any case.