The management of the power flow of a wind generation system is presented. This system is made up of a doubly fed induction generator and a Back to Back converter. The analysis focuses on the grid-side converter. The control loops of the current to the grid and the voltage of the DC-Link are designed based on proportional-integral controllers. These controls allow to manage the active and relative power that is injected into the grid. The Converter is simulated in Simulink of Matlab, where its operation as a rectifier and inverter is validated. This is able to be done due to the vector control technique used in the control structure of the wind generation system, in addition an adequate power exchange is obtained between the generator and the grid.