kqcircuits.simulations.finger_capacitor_sim

class kqcircuits.simulations.finger_capacitor_sim.FingerCapacitorSim(layout, **kwargs)[source]

Bases: kqcircuits.simulations.simulation.Simulation

Initialize a Simulation.

The initializer parses parameters, creates a top cell, and then calls self.build to create the simulation geometry, followed by self.create_simulation_layers to process the geometry so it is ready for exporting.

Parameters

layout – the layout on which to create the simulation

Keyword Arguments

**kwargs

Any parameter can be passed as a keyword argument.

In addition, cell can be passed as keyword argument. If cell is supplied, it will be used as the top cell for the simulation. Otherwise, a new cell will be created. See Simulation.from_cell for creating simulations from existing cells.

build()[source]

Build simulation geometry.

This method is to be overridden, and the overriding method should create the geometry to be simulated and add any ports to self.ports.

ports: List[kqcircuits.simulations.port.Port]
PCell parameters:

  • a (Double) - Width of center conductor, default=10, unit=μm

  • b (Double) - Width of gap, default=6, unit=μm

  • n (Int) - Number of points on turns, default=64

  • r (Double) - Turn radius, default=100, unit=μm

  • margin (Double) - Margin of the protection layer, default=5, unit=μm

  • face_ids (List) - Chip face IDs list, default=['1t1', '2b1', '1b1', '2t1']

  • display_name (String) - Name displayed in GUI (empty for default), default=

  • protect_opposite_face (Boolean) - Add opposite face protection too, default=False

  • a2 (Double) - Non-physical value ‘-1’ means that the default size ‘a’ is used., default=-1, unit=μm

  • b2 (Double) - Non-physical value ‘-1’ means that the default size ‘b’ is used., default=-1, unit=μm

  • finger_gap_end (Double) - Gap between the finger and other pad, default=3, unit=μm

  • ground_padding (Double) - Ground plane padding, default=20, unit=μm

  • fixed_length (Double) - Fixed length of element, 0 for auto-length, default=0, unit=μm

  • ground_gap_ratio (Double) - Ground connection width per gap ratio, default=0, unit=μm

  • finger_number (Int) - Number of fingers, default=5

  • finger_width (Double) - Width of a finger, default=5, unit=μm

  • finger_gap (Double) - Gap between the fingers, default=3, unit=μm

  • finger_length (Double) - Length of the fingers, default=20, unit=μm

  • corner_r (Double) - Corner radius, default=2, unit=μm

../_images/kqcircuits.simulations.finger_capacitor_sim.png