Improving the grid power quality using virtual synchronous machines | Synapse