add const energy error