A droop-based diesel generator emulator for microgrid frequency control studies‏