Energy Comparator
same idea as the fluid comparator, but for energy