Skip to content

flex_rf.tidy3d.LumpedResistor

Type: class Base(s): RectangularLumpedElement

Class representing a rectangular lumped resistor. Lumped resistors are appended to the list of structures in the simulation as Medium2D with the appropriate conductivity given their size and voltage axis.

size [TracedSize]

Size in x, y, and z directions.

name [str]

Unique name for the lumped element.

voltage_axis [Axis]

Specifies the axis along which the component is oriented and along which the associated voltage drop will occur. Must be in the plane of the element.

resistance [PositiveFloat]

Resistance value in ohms.

center [TracedCoordinate] = (0.0, 0.0, 0.0)

Center of object in x, y, and z.

num_grid_cells [PositiveInt | None] = DEFAULT_LUMPED_ELEMENT_NUM_CELLS

Number of mesh grid cells associated with the lumped element along each direction. Used in generating the suggested list of MeshOverrideStructure objects. A value of None will turn off mesh refinement suggestions.

enable_snapping_points [bool] = True

When enabled, snapping points are automatically generated to snap grids to key geometric features of the lumped element for more accurate modelling.

snap_perimeter_to_grid [bool] = True

When enabled, the perimeter of the lumped element is snapped to the simulation grid, which improves accuracy when the number of grid cells is low within the element. Sides of the element perpendicular to the voltage_axis are snapped to grid boundaries, while the sides parallel to the voltage_axis are snapped to grid centers. Lumped elements are always snapped to the nearest grid boundary along their normal_axis, regardless of this option.

to_structure(grid: Grid | None = None, frequency_range: FreqBound | None = None)

Converts the LumpedResistor object to a Structure ready to be added to the Simulation