Text this: Hardware-in-the-loop evaluation of an advanced distributed energy resource management algorithm /