GroundExposed

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

Bases: Model

A wrapper that converts an N-port grounded model into an (N+1)-port model by exposing the global ground as a single, accessible terminal.

The original signal ports remain at indices 0 to N-1. The new exposed ground port is at index N.

Mathematical Formulation

Uses the Indefinite Admittance Matrix (IAM) transformation. Because the sum of currents entering a subcircuit must be zero, the exposed global node is calculated so that the rows and columns of the expanded Y-matrix sum to zero.

Parameters:

exposed (Model) – The inner N-port model whose ground is to be exposed.

exposed: Model

The inner N-port model to be wrapped.