total_pwr()

Returns the total (average) power of the input voltage data

Syntax
totalP = total_pwr(voltage, refR, unit)

Name Description Range Type Default Required
voltage baseband or complex envelope voltage signal (-∞, ∞) integer, real, complex   yes
refR reference resistance in Ohms (0, ∞) real 50.0 no
unit power unit to be used "W" "dBm" "dBW" string "W" no

Examples

totalP = total_pwr(Vout[1], 100, "dBm")
where Vout is a named node in a Circuit Envelope simulation, will return the total power (in dBm) at the fundamental frequency using 100 Ohms as reference resistance.
totalP = total_pwr(T1)
where T1 is the name of a TimedSink component (in a DSP schematic), will return the total power (in W) for the voltage signal recorded in the TimedSink using 50 Ohms as reference resistance. If the signal recorded by the TimedSink is baseband Gaussian noise with a standard deviation of 30 mV, then totalP will be very close to 1.8e-5 W ( 0.03 2 / 50 ).

Defined in

$HPEESOF_DIR/expressions/ael/digital_wireless_fun.ael

See Also

peak_pwr(), peak_to_avg_pwr(), power_ccdf(), pwr_vs_t()

Notes/Equations

Used in Circuit Envelope and Signal Processing simulations.
This expression can be used with input data (voltage) of any dimensions. It can accommodate both baseband as well as complex envelope data.

 

Privacy Statement  | Terms of Use  | Legal | Contact Us  | © Agilent 2000-2008 

Contents
Additional Resources