CoupledOnePorts
- class pmrf.models.composite.nodal.CoupledOnePorts(coupled: list[Model], k_matrix: Array | ndarray | bool | number | bool | int | float | complex, *, z0: complex = 50 + 0j, name: str | None = None, metadata: Any = None)
Bases:
Model(experimental) Wraps N 1-port models (e.g. inductors) and couples them via a given K-matrix.
- Parameters:
coupled (list[Model]) – The sequence of 1-port models to couple.
k_matrix (ArrayLike) – The NxN coupling coefficient matrix. Must be symmetric, have 1.0 on the diagonals, and be positive semi-definite.
Reference
----------------------
defined (Creates an N-port model where the off-diagonal interactions are)
relation (by the mutual admittance)
$$ ($$ Y_{ij} = k_{ij} sqrt{Y_{ii} Y_{jj}})
- classmethod from_couplings(models: list[Model], couplings: list[tuple[int, int, float]], **kwargs) Self
Builds of model of coupled one-ports from a list of couplings coefficients between them.
Parameters: - models: The models to be coupled. - defined_couplings: A list of tuples (model_i, model_j, k_factor).
- k_matrix: Array | ndarray | bool | number | bool | int | float | complex
The NxN coupling coefficient matrix.