One solution for grid-tie backup and off-grid solar (230 VAC)