create_voltage_source#

Edb.create_voltage_source(terminal, ref_terminal)[source]#

Create a voltage source.

Parameters:
terminalpyedb.dotnet.edb_core.edb_data.terminals.EdgeTerminal, pyedb.dotnet.edb_core.edb_data.terminals.PadstackInstanceTerminal, pyedb.dotnet.edb_core.edb_data.terminals.PointTerminal, pyedb.dotnet.edb_core.edb_data.terminals.PinGroupTerminal

Positive terminal of the port.

ref_terminalclass:pyedb.dotnet.edb_core.edb_data.terminals.EdgeTerminal, pyedb.dotnet.edb_core.edb_data.terminals.PadstackInstanceTerminal, pyedb.dotnet.edb_core.edb_data.terminals.PointTerminal, pyedb.dotnet.edb_core.edb_data.terminals.PinGroupTerminal

Negative terminal of the source.

Returns:
class:legacy.edb_core.edb_data.ports.ExcitationSources