FloatingTwoPort

class pmrf.models.composite.nodal.FloatingTwoPort(floating: Model, *, name: str | None = None, metadata: Any = None)

Bases: Model

Lift a two-port model into a canonical floating four-terminal model.

Ports are ordered as (1+, 1-, 2+, 2-). If the inner two-port has admittance matrix \(Y\), the lifted matrix is

\[Y_\mathrm{floating} = D Y D^T,\]

where

\[\begin{split}D = \begin{bmatrix} 1 & 0 \\ -1 & 0 \\ 0 & 1 \\ 0 & -1 \end{bmatrix}.\end{split}\]

This is a canonical terminal-pair lift: each pair carries equal and opposite current and common-mode voltages produce no response. It does not infer capacitance, leakage, radiation, conduction, or other coupling to a chassis or external reference that is absent from the inner two-port model. In particular, it is distinct from GroundLifted and GroundExposed, which expose a shared reference node.

Parameters:

floating (Model) – The two-port model whose port voltages are to be interpreted as terminal-pair voltages.

floating: Model
property number_of_ports: int

Number of ports.

Return type:

int