getFaultTranData
getFaultTranData(
t_netName | t_terminalName
n_faultTime
)
=> x_voltage / o_currentWaveform / nil
Description
Returns the waveform data for a fault analysis run at the given time.
Arguments
|
t_netName
|
Name of a net for which voltage data is to be returned.
Default: ""
|
|
t_terminalName
|
Name of a terminal for which current waveform data is to be returned.
Default: ""
|
|
n_faultTime
|
Time point in a transient fault analysis for which the data is to be returned. This argument is relevant for a TFA run only. If used with DFA or a regular transient analysis run, fault time is ignored.
Default: ""
|
Value Returned
|
x_voltage
|
Returns the voltage data from the simulation result.
|
|
o_currentWaveform
|
Returns a waveform object with current data. A waveform object represents simulation results that can be displayed as a series of points on a grid. A waveform object identifier looks like this: srrWave:XXXXX.
|
|
nil
|
Returns nil and an error message if no value can be returned.
|
Examples
The following example returns the current waveform for /I1/I2/net5:
getFaultTranData("/I1/I2/net5" 1n)
=> srrWave:0x38871020
Return to top