create_voltage_pwl#
- NexximComponents.create_voltage_pwl(name=None, time_list=None, voltage_list=None, location=None, angle=0, use_instance_id_netlist=False)[source]#
Create a pwl voltage source.
- Parameters:
- name
str
,optional
Name of the voltage pulse. The default is
None
.- time_list
list
,optional
List of time points for the pwl voltage source. The default is
[0]
.- voltage_list
list
,optional
List of voltages for the pwl voltage source. The default is
[0]
.- location
list
of
float
,optional
Position on the x-axis and y-xis.
- angle
float
,optional
Angle rotation in degrees. The default is
0
.- use_instance_id_netlistbool,
optional
Whether to use the instance ID in the net list. The default is
False
.
- name
- Returns:
pyaedt.modeler.cad.object3dcircuit.CircuitComponent
Circuit Component Object.
References
>>> oEditor.CreateComponent