distributed energy controller