Net energy analysis