y2mna

pmrf.rf.y2mna(y: Array | ndarray | bool | number | bool | int | float | complex) MNAStamp

Convert Y-parameters to a Modified Nodal Analysis (MNA) stamp.

Since Y-parameters already represent a pure nodal formulation, this function generates a standard stamp with zero auxiliary variables.

Parameters:

y (ArrayLike) – The Y-parameter matrix with shape (nports, nports) or (nfreqs, nports, nports).

Returns:

The MNA representation containing Y, B, C, and D matrices.

Return type:

MNAStamp