If voltages are applied to the terminals, the extracted currents represent elements in the admittance matrix, Y. This matrix determines the relation between the applied voltages and the corresponding currents with the formula
so when V1 is nonzero and all other voltages are zero, the vector
I is proportional to the first column of
Y.
It might be necessary to calculate the Z-matrix in a more direct way. Similar to the
Y calculation, the
Z calculation can be done by forcing the current through one terminal at the time to a nonzero value while the others are set to zero. Then, the columns of the impedance matrix are proportional to the voltage values on all terminals: