lcapy.oneport.Ser
- class lcapy.oneport.Ser(*args)
Bases:
ParSerDefines a pair or more of one-port networks in series.
- Parameters:
args (tuple[OnePort, ...]) – Tuple of components declared in series.
- Raises:
ValueError – If less than two arguments are provided.
ValueError – If two current sources are connected in series.
- Warns:
Redundant Component – A component may be considered redundant if it is in series with a current source.
Warning
A minimum of two arguments are required to define a parallel circuit.
Methods
__init__(*args)Attributes
Open circuit voltage \(V_{oc}\) of the series circuit.
Admittance \(Y\) of the series circuit.
Determines if the one-port has a series current source.
Provides the height of the series circuit, which is the largest height of the components in series.
Impedance \(Z\) of the series circuit.
Indicates the component is a series combination of components.
Provides the width of the series circuit, which is the sum of the widths of the components in series.
- property Voc
Open circuit voltage \(V_{oc}\) of the series circuit.
This is the sum of the open circuit voltages of the components in series.
- Returns:
The open circuit voltage \(V_{oc}\) of the series circuit.
- Return type:
float
- property admittance
Admittance \(Y\) of the series circuit.
This is \(\frac{1}{Z}\), or the inverse of the sum of the impedance of the series circuit.
- Returns:
The admittance \(Y\) of the series circuit.
- Return type:
float
- property has_series_I
Determines if the one-port has a series current source.
- Returns:
True if any series components have a series current source, or are themselves a current source.
- Return type:
bool
- property height
Provides the height of the series circuit, which is the largest height of the components in series.
- Returns:
The height of the series circuit.
- Return type:
float
- property impedance
Impedance \(Z\) of the series circuit.
This is the sum of the impedances of the components in series.
- Returns:
The impedance \(Z\) of the series circuit.
- Return type:
float
- is_series = True
Indicates the component is a series combination of components.
- Type:
bool
- property width
Provides the width of the series circuit, which is the sum of the widths of the components in series.
- Returns:
The width of the series circuit.
- Return type:
float