SPICEModel#

class ansys.edb.core.hierarchy.spice_model.SPICEModel(msg)#

Represents a SPICE model object.

Methods

SPICEModel.add_terminal(terminal, pin)

Add a terminal with a pin number.

SPICEModel.clone()

Clone a model.

SPICEModel.create(name, path, sub_circuit)

Create a SPICE model.

SPICEModel.remove_terminal(terminal)

Remove a terminal.

Attributes

SPICEModel.id

int: Unique ID of the EDB object.

SPICEModel.is_null

bool: Flag indicating if the object exists in the database.

SPICEModel.model_name

str: Name of the SPICE model file.

SPICEModel.model_path

str: Path to the SPICE model file.

SPICEModel.msg

EDBObjMessage: Protobuf message that represents the object's ID.

SPICEModel.sub_circuit

str: Name of the subcircuit in the SPICE model.