Instrument to test the power generation of solar panels