In this paper, we classify the simple nondegenerate Whittaker modules for the affine Kac–Moody Lie algebra of type G2(1). Then we handle the classification of Whittaker modules in the critical level, according to which, we discover the relationship between the W-algebra W(gL) associated with the Langlands dual algebra gL and nondegenerate Whittaker modules for ĝ of type G2(1).
Ge et al. (Mon,) studied this question.