dSPACE based implementation of a grid connected smart inverter system | Synapse