energy analysis