kqcircuits.elements.circular_capacitor

class kqcircuits.elements.circular_capacitor.CircularCapacitor[source]

Bases: Element

The PCell declaration for a circular capacitor.

An outer semi-circular island with an inside circular island. Fixed-length capacitor is supported and different line impedance on each side can be used. Two ports with reference points. The feedline has the same length as the width of the ground gap around the coupler.

build()[source]

Child classes re-define this method to build the PCell.

classmethod get_sim_ports(simulation)[source]

List of RefpointToSimPort objects defining which refpoints should be turned to simulation ports for the given element class

Returns empty list if not implemented for Element subclass. When implementing this method, the best practice is for this method to have no “side effects”, that is all code contained within this method should only serve to derive the list of RefpointToSimPort objects and nothing else: no change in element’s geometry or parameter values.

Parameters:
  • cls – Element class, this is a class method

  • simulation – Simulation object where a cell of this element class is placed. Use this argument if you need to decide certain arguments for RefpointToSimPort objects based on simulation’s parameters

Returns:

List of RefpointToSimPort objects, empty list by default

PCell parameters:

  • r_inner (Double) - Radius of the outer edge of the center island (μm), default=20, unit=μm

  • r_outer (Double) - Radius of the external coupler island (μm), default=80, unit=μm

  • swept_angle (Double) - Angle covered by the external island in degrees, default=180

  • outer_island_width (Double) - Width of the external island (μm), default=40, unit=μm

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

  • 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

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

../_images/kqcircuits.elements.circular_capacitor.png