create_periodic_waveform_source#
- TwinBuilderComponents.create_periodic_waveform_source(name: str | None = None, waveform_type: str = 'SINE', amplitude: float = 100.0, freq: float = 50.0, phase: float = 0.0, offset: float = 0.0, delay: float = 0.0, location=None, angle: float = 0.0, use_instance_id_netlist: bool = False) CircuitComponent#
Create a periodic waveform source (non conservative real output).
- Parameters:
- name
str,optional Name of the voltage source. The default is
None.- type
str,optional Type of the source [SINE, PULSE, TRAING, SAWTOOTH]. The default is
SINE.- amplitude
float,optional Amplitude of the waveform if periodic. The default is
100V- freq
float,optional Frequency of the periodic waveform. The default is
50Hz.- phase
float,optional Phase of the periodic waveform. The default is
0deg.- offset
float,optional Offset added to the amplitude of the periodic waveform. The default is
0.- delay
float,optional Delay before starting of the periodic waveform. The default is
0.- location
listoffloat,optional Position on the X axis and Y axis. The default value is
None.- angle
float,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.
- name
- Returns:
ansys.aedt.core.modeler.circuits.object_3d_circuit.CircuitComponentCircuit Component Object.
References
>>> oEditor.CreateComponent