bud_gain_comp()
Returns budget gain compression at fundamental frequencies as a function of power
Syntax
y = bud_gain_comp(vIn, iIn, Zs, Plan, freqIndex, pinNumber, "simName") or y = bud_gain_comp("SourceName", SrcIndx, Zs, Plan, freqIndex, pinNumber, "simName")
Arguments
| Name | Description | Range | Type | Default | Required |
|---|---|---|---|---|---|
| vIn | voltage flowing into the input port | (-∞, ∞) | complex | yes | |
| iIn | current flowing into the input port | (-∞, ∞) | complex | yes | |
| SourceName | component name at the input port | string | yes | ||
| SrcIndx † | frequency index that corresponds to the source frequency to determine which frequency to use from a multitone source as the reference signal | [1, ∞) | integer | 1 | no |
| Zs | input source port impedance | [0, ∞) | real | 50.0 | no |
| freqIndex † | index of harmonic frequency | (-∞, ∞) | integer | no | |
| Plan ‡ | number of the selected frequency plan(needed only for HB) | string | no | ||
| pinNumber | Used to choose which pins of each network element are referenced † ‡ | [1, ∞) | integer | 1 | no |
| simName | simulation instance name, such as "AC1" or "HB1", used to qualify the data when multiple simulations are performed. | string | no | ||
| † Used if Plan is not selected. ‡ Note that for AC simulation, both the SrcIndx and Plan arguments must not be specified; these are for HB only. † ‡ If 1 is passed as the pinNumber, the results at pin 1 of each element are returned; otherwise, the results for all pins of each element are returned. By default, the pinNumber is set to 1. | |||||
Examples
x = bud_gain_comp(PORT1.t1.v[3], PORT1.t1.i[3], , 1)
x = bud_gain_comp("PORT1", 3, , 1)
returns the gain compression at the fundamental frequencies as a function of power
y= bud_gain_comp(PORT1.t1.v[3], PORT1.t1.i[3], , , 1)
y= bud_gain_comp("PORT1", 3, , , 1)
returns the gain compression at the second harmonic frequency as a function of power
Defined in
$HPEESOF_DIR/expressions/ael/budget_fun.ael
See Also
Notes/Equations
Used in Harmonic balance simulation with sweep
This is the gain compression (in dB) at the given input frequency from the input port to the terminal(s) of each component, looking into that component. Gain compression is defined as the small signal linear gain minus the large signal gain. Note that the fundamental frequency at each element pin can be different by referencing the frequency plan. A power sweep of the input source must be used in conjunction with HB. The first power sweep point is assumed to be in the linear region of operation.
| Note Remember that the budget function can refer only to the default dataset, that is, the dataset selected in the data display window. |
Budget Path Measurements
This function does not support the budget path feature.
Privacy
Statement
|
Terms of Use
|
Legal |
Contact Us
|
© Agilent 2000-2008 ![]()