tidy3d.GroundVoltage#
- class GroundVoltage[source]#
Bases:
Tidy3dBaseModelGround voltage source, which holds its contact at 0 V.
Notes
The accelerated solver applies every source voltage as given, so
GroundVoltage()is equivalent toDCVoltageSource(voltage=0). Without aGroundVoltage, 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)