energy resource allocation