An efficient architecture of a PV plant for ancillary service supplying