Distributed energy resource