Incidence matrix

From ASCEND
Revision as of 13:57, 13 May 2010 by UploadBot (talk | contribs) (Restored page from Google Cache, uploaded by John Pye)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

The incidence matrix (or sparsity matrix) is a matrix of ones and zeros. The rows correspond to equations in your model, and the columns correspond to the variables in your model. At points where the variable corresponding to the current column is present in the equation corresponding to the current row, there will be a '1', otherwise there will be a '0'.


When incidence matrices are shown graphically in ASCEND PyGTK, a green mark is used to indicate fixed variables, and blue is used to indicate free variables (ie those that are being solved for).

The incidence matrix shows the variables and equations after they have been reordered to minimise iterative solving. As a result, when the blue part of the incidence matrix is in lower-triangular shape, it means that there are no simultaneous equations: all variables can be solved for explicitly, in order. In other cases, as here, there are some variables that need to be solved; ASCEND uses Newton's method in these cases (see QRSlv).

<img src="/skins/common/images/magnify-clip.png" width="15" height="11" alt="" />
An incidence matrix for a simple system

See also

You can also generate an Incidence Graph of your system.