lcapy.oneport.G

class lcapy.oneport.G(Gval='G', **kwargs)

Bases: OnePort

Conductor

Parameters:

Gval (int or float or complex or str) – Conductance value

args

Conductance value, or, placeholder value ‘G’

Type:

tuple[ int or float or complex or str]

Methods

__init__

current_equation(v[, kind])

Return expression for current through component given applied voltage.

voltage_equation(i[, kind])

Return expression for voltage across component given applied current.

Attributes

is_conductor

Indicates the component is a conductor

is_noiseless

Indicates the conductor is not noiseless.

current_equation(v, kind='t')

Return expression for current through component given applied voltage.

Parameters:
  • v – Applied voltage

  • kind (str) – The chosen representation of the equation. See lcapy.super.Superposition.select() for a description of the different representations supported.

Return type:

Expression for current through the conductor

is_conductor = True

Indicates the component is a conductor

Type:

bool

is_noiseless = False

Indicates the conductor is not noiseless. For noiseless conductor see lcapy.oneport.NG.

Type:

bool

voltage_equation(i, kind='t')

Return expression for voltage across component given applied current.

Parameters:
  • i – Applied current

  • kind (str) – The chosen representation of the equation. See lcapy.super.Superposition.select() for a description of the different representations supported.

Return type:

Expression for voltage across the conductor