Battery Energy Storage Emulation For Power System Applications