lcapy.oneport.Y
- class lcapy.oneport.Y(Yval='Y', **kwargs)
Bases:
OnePortGeneral admittance \(Y\)
- Parameters:
Yval (int or float or complex or str) – Admittance value \(Y\)
- args
Admittance value \(Y\)
- 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
- 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 component
- 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.