Directly-Coupled Synchronous Generators with Converter Behaviour in Islanded Microgrids