Active management of renewable energy sources for maximizing power production