Via excitation (AVR) the synchronous generator can supply reactive power and set the cos φ (typically 0.9 to 1.0 at injection); grid-supportive reactive power may be required or remunerated by the grid operator.
Grid service, generator setting.