Principle of solar power generation detection tool