Device-Level Power Electronic System Emulation For Hardware-In-The-Loop Applications