lcapy.oneport.Z
- class lcapy.oneport.Z(Zval='Z', **kwargs)
Bases:
OnePortGeneral impedance \(Z\)
- Parameters:
Zval (int or float or complex or str) – Impedance value \(Z\)
- args
Impedance value \(Z\)
- 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 (str or float) – 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 impedance
- voltage_equation(i, kind='t')
Return expression for voltage across component given applied current.
- Parameters:
i (str or float) – 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 current voltage across the impedance