Optimize power management of a wind turbine system in combination with battery storage and diesel backup power.