tidy3d.GroundVoltage

Contents

tidy3d.GroundVoltage#

class GroundVoltage[source]#

Bases: Tidy3dBaseModel

Ground voltage source, which holds its contact at 0 V.

Notes

The accelerated solver applies every source voltage as given, so GroundVoltage() is equivalent to DCVoltageSource(voltage=0). Without a GroundVoltage, the legacy solver shifts all voltages so that the smallest single-valued source voltage becomes 0 V. Voltage arrays do not take part in this choice.

Example

>>> import tidy3d as td
>>> ground_source = td.GroundVoltage()
>>> voltage_bc = td.VoltageBC(source=ground_source)