create_source#

Circuit.create_source(source_type, name=None)#

Create a source in Circuit.

Parameters:
source_typestr

Source type to create. Sources available are:

  • PowerSin.

  • PowerIQ.

  • VoltageFrequencyDependent.

  • VoltageDC.

  • VoltageSin.

  • CurrentSin.

namestr, optional

Source name.

Returns:
ansys.aedt.core.modules.boundary.Source

Circuit Source Object.

References

>>> oDesign.UpdateSources