tidy3d.SSACVoltageSource#

class SSACVoltageSource[source]#

Bases: Tidy3dBaseModel

Small-Signal AC (SSAC) voltage source.

Parameters:
  • attrs (dict = {}) – Dictionary storing arbitrary metadata for a Tidy3D object. This dictionary can be freely used by the user for storing data without affecting the operation of Tidy3D as it is not used internally. Note that, unlike regular Tidy3D fields, attrs are mutable. For example, the following is allowed for setting an attr obj.attrs['foo'] = bar. Also note that Tidy3D will raise a TypeError if attrs contain objects that can not be serialized. One can check if attrs are serializable by calling obj.json().

  • name (Optional[ConstrainedStrValue] = None) – Unique name for the SSAC voltage source.

  • voltage (ArrayLike[dtype=float, ndim=1]) – [units = V]. List of DC operating point voltages (above ground) used with VoltageBC.

  • amplitude (FiniteFloat = 1.0) – [units = V]. Amplitude of the small-signal perturbation for SSAC analysis.

Notes

This source represents a small-signal AC excitation defined by a DC operating point voltage and the amplitude of the small signal perturbation.

The voltage refers to the DC operating point above the simulation ground. The amplitude defines the magnitude of the small-signal perturbation. Currently, full circuit simulation through electrical ports is not supported.

Examples

>>> import tidy3d as td
>>> ssac_source = td.SSACVoltageSource(
...     name="VIN",
...     voltage=0.8,  # DC bias voltage
...     amplitude=1e-3  # Small signal amplitude
... )

Attributes

Methods

Inherited Common Usage

name#
voltage#
amplitude#
classmethod validate_voltage(val)[source]#
classmethod validate_amplitude(val)[source]#
__hash__()#

Hash method.