The document describes the modeling of a doubly fed induction generator (DFIG) machine. It represents the DFIG as two sets of three-phase windings on the stator and rotor. It then derives the voltage and flux equations for each phase by considering the stator-stator, rotor-rotor, stator-rotor, and rotor-stator inductance terms. The inductances are represented by a 6x6 matrix with submatrices that depend on rotor position and angle due to the changing positional relationship between rotor and stator windings.