Resistor

class qultra.R(node_minus, node_plus, R_value)[source]

Bases: object

Represents a resistor 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

  • R_value (float) – Resistance value [Ohm]

admittance(z=None)[source]

Calculate the admittance of a resistor R

Y = 1/R

Returns:

Y – Complex admittance

Return type:

complex