Comparison between power and energy methods of analyses of photovoltaic plants