This example shows an asynchron generator directly coupled to the grid. The wind-speed is increased from 5 to 15 m/s. The machine remains stable.
See for example:
sensor.p[1:2] active and reactive power windGen.generator.slip
up users guide