MNARepresentation

class pmrf.models.composite.interconnected.circuit.base.MNARepresentation(y_r_idx: ndarray, y_c_idx: ndarray, b_r_idx: ndarray, b_c_idx: ndarray, c_r_idx: ndarray, c_c_idx: ndarray, d_r_idx: ndarray, d_c_idx: ndarray, ext_idx: ndarray, int_idx: ndarray, aux_idx: ndarray)

Bases: Module

Static topological representation for Modified Nodal Analysis (MNA) assembly and reduction.

aux_idx: ndarray

A 1D array of auxiliary indices (inherently internal and eliminated).

b_c_idx: ndarray

Global column indices mapping local B elements (Node to Aux) to the global MNA matrix.

b_r_idx: ndarray

Global row indices mapping local B elements (Node to Aux) to the global MNA matrix.

c_c_idx: ndarray

Global column indices mapping local C elements (Aux to Node) to the global MNA matrix.

c_r_idx: ndarray

Global row indices mapping local C elements (Aux to Node) to the global MNA matrix.

d_c_idx: ndarray

Global column indices mapping local D elements (Aux to Aux) to the global MNA matrix.

d_r_idx: ndarray

Global row indices mapping local D elements (Aux to Aux) to the global MNA matrix.

ext_idx: ndarray

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

int_idx: ndarray

A 1D array of standard node indices designated as internal (eliminated).

property num_aux: int

The total number of global auxiliary variables.

property num_nodes: int

The total number of global standard nodes in the network.

y_c_idx: ndarray

Global column indices mapping local Y elements (Node to Node) to the global MNA matrix.

y_r_idx: ndarray

Global row indices mapping local Y elements (Node to Node) to the global MNA matrix.