Components module

Components.BondWire(NameWire, Coordinates, Height, Radius, BondwireType='Spline', CenterPosition=0.5, alpha=None, beta=None, Material=None, SolidWireModel=True, Termination=None, NameFolder=None)[source]

Create Bond Wire

Parameters:
  • NameWire (str) – Name of the Bondwire

  • Coordinates (dict) –

    Dictionary with Coordinates in X,Y,Z plane to create the Bondwire: For Example

    Parameters = {} Parameters[‘X1’] = 0 Parameters[‘Y1’] = 0 Parameters[‘Z1’] = 0 Parameters[‘X2’] = 5 Parameters[‘Y2’] = 5 Parameters[‘Z2’] = 0

  • Height (int/float) – Hight of the middle point of the Bondwire

  • Radius (int/float) – Radius of the bond wire. Bond wire is an cylinder type of object.

  • BondwireType (str, optional) – The type of bond wire. Defaults to “Spline”.

  • CenterPosition (float, optional) – The center Position of the Height. This can be moved to make an object that dont have the top height in the middle. Defaults to 0.5.

  • alpha (_type_, optional) – _description_. Defaults to None.

  • beta (_type_, optional) – _description_. Defaults to None.

  • Material (str, optional) – Material for of the Bond wire. For now you need to load the material in your simulation and then use this function. Otherwise the material will not be found. Defaults to “PCE”.

  • SolidWireModel (bool, optional) – _description_. Defaults to True.

  • Termination (_type_, optional) – _description_. Defaults to None.

  • NameFolder (str, optional) – The name of the folder. Defaults to name of the wire.

Raises:
  • ValueError – Error massage

  • ValueError – Error massage

  • ValueError – Error massage

Returns:

String with VBA Code

Return type:

str

Components.Brick(BrickName, Coordinates, NameComponent=None, Material=None)[source]

Create an squere Brick object.

Parameters:
  • BrickName (str) – Name of thr brick object

  • Coordinates (dict) – Dictionary with Min/max Values for the coordinates of the brick in the room. Coordinates[“X1”] - X min Coordinates[“X2”] - X max Coordinates[“Y1”] - Y min Coordinates[“Y2”] - Y max Coordinates[“Z1”] - Z min Coordinates[“Z2”] - Z max

  • NameComponent (str, optional) – Name fo the Component. Defaults to None.

  • Material (str, optional) – Material for of the Bond wire. For now you need to load the material in your simulation and then use this function. Otherwise the material will not be found. Defaults to None.

Returns:

String with VBA Code

Return type:

str

Components.CurveWire(NameWire, Radius, Points=None, Material=None, SolidWireModel=True, Termination=None, NameFolder=None, CurveFolderName=None, CurveName=None)[source]

_summary_

Parameters:
  • NameWire (str) – Name of the wire

  • Radius (int/float) – Radius of the curve

  • Points (dict, optional) – Dictionary of X and Y points for the curve. Defaults to None.

  • Material (str, optional) – Material for of the Bond wire. For now you need to load the material in your simulation and then use this function. Otherwise the material will not be found. Defaults to “PCE”.

  • SolidWireModel (bool, optional) – _description_. Defaults to True.

  • Termination (_type_, optional) – _description_. Defaults to None.

  • NameFolder (str, optional) – Name of the Folder. Defaults to None.

  • CurveFolderName (str, optional) – Curve folder name. Defaults to None.

  • CurveName (str, optional) – Curve name. Defaults to None.

Raises:
  • ValueError – Error massage

  • ValueError – Error massage

  • ValueError – Error massage

Returns:

String with VBA Code

Return type:

str

Components.MZM(Parameters, CST)[source]
Create an MZM Modulator. Materials used:

Gold - For the electrodes LiNbO3 - For Optical Waveguides SiO2 - For Substrate

Parameters:
  • Parameters (dict) – Dictionary with all the needed values Parameters[“Lenght_Electrodes”] : Length of the Electrodes. The Waveguides will be 2 (Units) longer then the electrodes. Parameters[“Width GND”] : Width of the GND electrodes Parameters[“Width Signal”] : Width of the Signal Electrode Parameters[“Width WG”] : Top wWidth of the optical waveguide. It is an Rib waveguide Parameters[“Gap”] : Gap between Signal and optical Waveguide Parameters[“angle”] : Angle of the side wall of the optical waveguide Parameters[“High Electrodes”] : Hight of the Electodes Parameters[“High WG”] : Hight of the optical Waveguide Parameters[“High Slab”] : Hight of the Slab. When choosen “0” no Slab will be implemented. Parameters[“High Substrate”] : Hight of the substrate

  • CST (Object) – The CST Obejct that you use to load your project.

Components.PhaseModulator(Parameters, CST)[source]
Create an Phase Modulator. Materials used:

Gold - For the electrodes LiNbO3 - For Optical Waveguides SiO2 - For Substrate

Parameters:
  • Parameters (dict) – Dictionary with all the needed values Parameters[“Lenght_Electrodes”] : Length of the Electrodes. The Waveguides will be 2 (Units) longer then the electrodes. Parameters[“Width GND”] : Width of the GND electrodes Parameters[“Width Signal”] : Width of the Signal Electrode Parameters[“Width WG”] : Top wWidth of the optical waveguide. It is an Rib waveguide Parameters[“Gap”] : Gap between Signal and optical Waveguide Parameters[“angle”] : Angle of the side wall of the optical waveguide Parameters[“High Electrodes”] : Hight of the Electodes Parameters[“High WG”] : Hight of the optical Waveguide Parameters[“High Slab”] : Hight of the Slab. When choosen “0” no Slab will be implemented. Parameters[“High Substrate”] : Hight of the substrate

  • CST (Object) – The CST Obejct that you use to load your project.

Components.Squere_Waveguide(Parameters, CST)[source]
This function generate and simple straight waveguide. Materials used:

Gold - For the electrodes LiNbO3 - For Optical Waveguides SiO2 - For Substrate

Parameters:

Parameters (dict) – Dictionary with all the needed values Parameters[“Lenght WG”] : Length of the Waveguide. Parameters[“High_WG”] : Hight of the optical Waveguide Parameters[“Width WG”] : : Top Width of the optical waveguide. It is an Rib waveguide. Parameters[“Substrate Height”] : Hight of the substrate. Parameters[“Slab Heigh”] : Hight of the Slab. When choosen “0” no Slab will be implemented.