Added getLastBuffer() to energy network