Additional information to the previous response provided by Mr. Lafifi:
Models applied for Virtual Synchronous Machines (VSM) and issues around implementation are described in the two publications below. Article A Virtual Synchronous Machine implementation for distributed...
Article Small-signal modeling and parametric sensitivity of a virtua...