AC photovoltaic protection box for central inverters