tidy3d.SSACVoltageSource#
- class SSACVoltageSource[source]#
Bases:
Tidy3dBaseModelSmall-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,
attrsare mutable. For example, the following is allowed for setting anattrobj.attrs['foo'] = bar. Also note that Tidy3D will raise aTypeErrorifattrscontain objects that can not be serialized. One can check ifattrsare serializable by callingobj.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
voltagerefers to the DC operating point above the simulation ground. Theamplitudedefines 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
validate_amplitude(val)validate_voltage(val)Inherited Common Usage
- name#
- voltage#
- amplitude#
- __hash__()#
Hash method.