kqcircuits.simulations.waveguides_sim

class kqcircuits.simulations.waveguides_sim.WaveGuidesSim(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.

produce_guides()[source]
produce_ground_bumps()[source]
ports: List[kqcircuits.simulations.port.Port]
PCell parameters:

  • cpw_length (Double) - Waveguide length, default=100, unit=μm

  • n_guides (Int) - Number of guides, default=5, unit=μm

  • spacing (Double) - Parallel spacing, default=100, unit=μm

  • guide_face_id (String) - Guide face id b|t, default=b, unit=μm

  • add_bumps (Boolean) - Add ground bumps, default=False

  • port_termination_end (Boolean) - Port termination end, default=True

  • use_edge_ports (Boolean) - Use edge ports, default=True

../_images/kqcircuits.simulations.waveguides_sim.png