Coplanar waveguide line

class qultra.CPW(node_minus, node_plus, l, Z0=50)[source]

Bases: object

Represents a CPW component

Parameters:
  • node_minus (int) – The node to which the negative terminal is connected

  • node_plus (int) – The node to which the positive terminal is connected

  • l (float) – Length of the line [m]

  • Z0 (float) – Charateristic impedence [Ohm]. Default is 50 Ohm

admittance_matrix(z)[source]

Construct the complex admittance matrix of a cpw

Parameters:

z (complex) – Complex variable (complex frequency)

Returns:

Y_matrix – complex admittance matrix

Return type:

numpy array

current(V_0, V_l, z, x)[source]

Calculate the current in a CPW given the voltage node values.

Parameters:
  • V_0 (complex) – Voltage at the start node.

  • V_l (complex) – Voltage at the end node.

  • z (complex) – Complex variable (complex frequency).

  • x (float) – Position along the CPW.

Returns:

I – Calculated current at position x.

Return type:

complex

inductive_energy(V_0, V_l, z)[source]

Calculate the inductive energy stored in a CPW.

Parameters:
  • V_0 (complex) – Voltage at the start node.

  • V_l (complex) – Voltage at the end node.

  • z (complex) – Complex variable (complex frequency).

Returns:

E – Inductive energy stored in the CPW.

Return type:

complex