help-gnucap
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Help-gnucap] What is a good way to get joules integrated in a .dat


From: Felix Salfelder
Subject: Re: [Help-gnucap] What is a good way to get joules integrated in a .dat output?
Date: Mon, 22 Aug 2016 16:48:57 +0200
User-agent: Mutt/1.5.21 (2010-09-15)

On Mon, Aug 22, 2016 at 09:32:09AM -0500, John Griessen wrote:
> .print tran v(vin) i(C2) v(v2) v(vout) i(R3) i(R2) p(R3) p(R2)
> .tran 0 0.000090 .0000005 >voltagedoubler.dat
> 
> How would I print the integral of pd(R2) to my waveform file?

try

.store tran p(R2)
.tran 0 1 .1
.measure x=integral(probe="p(R2)")

just in case: now x is a parameter. you can do

.eval x

or .param y=x*x+whateverelse

> When I search joule in http://gnucap.org/dokuwik I find nothing.

integration is not related to joules, what you integrate/post-process is
called "waves". there are several other things you can do with these...

have fun
felix



reply via email to

[Prev in Thread] Current Thread [Next in Thread]