% M5 Assignment 1: PM Generator
Lsa = 150e-6; % self inductance
Lma = 15e-6; % mutual inductance
L = [ Lsa , Lma , Lma ;
      Lma , Lsa , Lma ;
      Lma , Lma , Lsa ];
rs = 9.4e-3 ; % phase resistance
R = diag ([ rs rs rs ]) ;
A = - inv ( L ) * R
B = inv ( L )