The work is mainly a result of a Danish project titled ‘‘Simulation of wind power plants’’, but also a Brazilian Ph.D. study titled ‘‘Power quality and stability issues of integration of large wind farms’’ has contributed to the model development. This Ph.D. study is accomplished in Denmark.