Following your other feed, what i understand is , you are trying to model a MPPT system for wind power applications. Please follow the following two articles, it will be of help to start of your objective function.
1. Shabani, A. Deihimi, “A New Method of Maximum Power Point Tracking for DFIG Based Wind Turbine”, 25th International Power System Conference, 2010.
2. Yuanye Xia, Khaled H. Ahmed, Barry W. Williams, "A New Maximum Power Point Tracking Techniquefor Permanent Magnet Synchronous Generator BasedWind Energy Conversion System", IEEE TRANSACTIONS ON POWER ELECTRONICS, VOL. 26, NO. 12, DECEMBER 2011