rfTotalPower
rfTotalPower(o_currentWave o_voltageWave x_harmonic) =>f_powerReturn/nil
Description
Calculates the root mean square (RMS) power between two terminals for fast and regular envelop analysis.
Arguments
Value Returned
Examples
The following example opens simulation results of envelope analysis stored in the following results directory.
openResults("/servers/user/wireless/simulation/lib/cell/maestro/results/maestro/ExplorerRun.0/1/Wireless/psf")
=> "/servers/user/wireless/simulation/lib/cell/maestro/results/maestro/ExplorerRun.0/1/Wireless/psf"
The following example lists results available in the currently open results directory.
results()
=> (envlp_fd conste binary fwrls ccdf
avgwrls param model instance output
designParamVals primitives subckts variables
)
The following example opens the result envlp_fd from the current results directory.
selectResults('envlp_fd)
=> stdobj@0x3219a248
The following example lists the outputs available in the selected result.
outputs()
=> ("/net02" "/net2" "/V5/PLUS" "/V9/PLUS" "/iSignal")
The following example creates a waveform object for the current signal iSignal.
i=i("iSignal")
=> srrWave:0x362c2020
The following example creates a waveform object v for the voltage signal net02.
v=v("net02")
=> srrWave:0x362c2030
The following example calculates the total RMS power.
rfTotalPower(i v 1)
=> 0.1871363
Return to top