This paper describes an active-stall wind turbine controller. The objective is to develop a general model of an active stall controller in order to simulate the operation of grid connected active stall wind turbines. The active stall turbine concept and its control strategies are presented and evaluated by simulations. The presented controller is described for continuous operation under all wind speeds from start-up wind speed to shut down wind speed. Due to its parametric implementation it is general i.e. it can represent different active stall wind turbine controllers and can be implemented in different simulation tools.