A Comparison of IEC 61850-Based Digital-HIL and Analog-HIL Using RTDS