ExcitationSources#

class pyaedt.edb_core.edb_data.sources.ExcitationSources(pedb, edb_terminal)[source]#

Manage sources properties.

Parameters:
pedbpyaedt.edb.Edb

Edb object from Edblib.

edb_terminalAnsys.Ansoft.Edb.Cell.Terminal.EdgeTerminal

Edge terminal instance from Edb.

Examples

This example shows how to access this class. >>> from pyaedt import Edb >>> edb = Edb(“myaedb.aedb”) >>> all_sources = edb.sources >>> print(all_sources[“VSource1”].name)

Attributes

ExcitationSources.boundary_type

Boundary Type.

ExcitationSources.magnitude

Get the magnitude of the source.

ExcitationSources.name

Port Name.

ExcitationSources.net

Net Object.

ExcitationSources.net_name

Net Name.

ExcitationSources.phase

Get the phase of the source.

ExcitationSources.terminal_type

Terminal Type.