Distributed solar power generation calculation