Measurement system for fast power and energy rating of photovoltaic devices