Product Documentation
Virtuoso Visualization and Analysis XL SKILL Reference
Product Version IC23.1, November 2023

rapidOIPN

rapidOIPN(
t_result
[ ?resultsDir t_resultsDirectory ]
[ ?r n_resistance ]
[ @rest l_args ]
)
=> o_waveform / n_rapidOIPN / nil

Description

Calculates the value of nth-order output intercept point (OIPN) or returns the waveform of rapid OIPN.

Arguments

t_result

Name of the simulation result.

?resultsDir t_resultsDirectory

Path to the directory where simulation results are saved.

?r n_resistance

Value of resistance.

Default value is 50 ohm.

@rest l_args

List of additional arguments that can be passed to the function.

Value Returned

o_waveform

Waveform representing an IPN curve.

n_rapidOIPN

Value of the output rapid IPN measurement.

nil

Indicates an error.

Examples

The following example opens simulation results of harmonic balance AC (hbac) analysis.

openResults("/servers/user/lib/cell/maestro/results/maestro/ExplorerRun.0/1/test/psf")
=> "/servers/user/lib/cell/maestro/results/maestro/ExplorerRun.0/1/test/psf"

The following example lists the results available in the currently open results directory.

results()
=> (hb_fi hb_fd hb_td hb_tran hbac_im3
    hbac_ip3 hbac model instance output
    designParamVals primitives subckts variables
)

The following example selects the result hbac_ip3.

selectResults('hbac_ip3)
=> stdobj@0x321174b8

The following example creates a waveform object that represents the power plotted on y axis against the design variable prf, which is sweeping from -40 to -20.

wave1=rapidOIPN("hbac_ip3" ?r 50 '"prf" '-40)
=> srrWave:0x36730110

The following example creates a Waveform window win1 and returns its window ID.

win1=awvCreatePlotWindow()
=> window:3

The following example plots the waveform wave1, which represents rapid IP3 measurements, in the Waveform window win1.

awvPlotWaveform(
    win1
    list(wave1)
    ?expr list("hbac_rapidOIP3")
    ?color list("y18")
    ?lineType list("line")
    ?lineStyle list("solid")
    ?lineThickness list("thick")
    ?showSymbols list(t)
    ?dataSymbol list(".")
    )
=> t

The following example opens simulation results stored in the specified results directory.

openResults("/servers/user/lib/cell/maestro/results/maestro/ExplorerRun.0/1/test/psf")
=> "/servers/user/lib/cell/maestro/results/maestro/ExplorerRun.0/1/test/psf"

The following example lists the results available in the currently open results directory.

results()
ac(ac_im3 ac_ip3 hb_mt_fi hb_mt_fd pss_tran
    model instance output designParamVals primitives
    subckts variables
)

The following example selects the result ac_ip3.

selectResults('ac_ip3)
=> stdobj@0x3260b278

The following example calculates the output rapid IP3 value.

rapidOIPN("ac_ip3" ?r 50)
=> 16.46864


Return to top
 ⠀
X