NodalRepresentation

class pmrf.models.composite.interconnected.circuit.base.NodalRepresentation(r_idx: ndarray, c_idx: ndarray, ext_idx: ndarray, int_idx: ndarray)

Bases: Module

Static topological representation for nodal admittance assembly and reduction.

c_idx: ndarray

A 1D array of global column indices mapping local elements to the global NAM.

ext_idx: ndarray

A 1D array of node indices designated as external (retained after reduction).

int_idx: ndarray

A 1D array of node indices designated as internal (eliminated via Schur complement).

property num_nodes: int

The total number of global nodes in the network, including the dummy ground node.

r_idx: ndarray

A 1D array of global row indices mapping local elements to the global Nodal Admittance Matrix (NAM).