create_periodic_waveform_source#

TwinBuilderComponents.create_periodic_waveform_source(compname=None, type='SINE', amplitude=100, freq=50, phase=0, offset=0, delay=0, location=None, angle=0, use_instance_id_netlist=False)[source]#

Create a periodic waveform source (non conservative real output).

Parameters:
compnamestr, optional

Name of the voltage source. The default is None.

typestr, optional

Type of the source [SINE, PULSE, TRAING, SAWTOOTH]. The default is SINE.

amplitudefloat, optional

Amplitude of the waveform if periodic. The default is 100V

freqfloat, optional

Frequency of the periodic waveform. The default is 50Hz.

phasefloat, optional

Phase of the periodic waveform. The default is 0deg.

offsetfloat, optional

Offset added to the amplitude of the periodic waveform. The default is 0.

delayfloat, optional

Delay before starting of the periodic waveform. The default is 0.

locationlist of float, optional

Position on the X axis and Y axis. The default value is None.

anglefloat, optional

Angle of rotation in degrees. The default is 0.

use_instance_id_netlistbool, optional

Whether to use the instance ID in the net list or not. The default is False.

Returns:
pyaedt.modeler.cad.object3dcircuit.CircuitComponent

Circuit Component Object.

References

>>> oEditor.CreateComponent