Add support for energy segments in generated epim designs.