1. you can use v_sin model do the ac analysis, the default of ac_mag=1, ac_phase=0.0, which are equivalent to other ac property of v.sin v_dc.sin, there ac is a mast structure ac=(mag=1.0,phase=0.0).
2. You cannot do the ac analysis on the switching circuit. because AC analysis is also called small signal analysis, which means all the nonlinear model are linenarized around operating point. In power switching circuit, the switch device are working either on or off state, and the operation points are on one of these two state, so the ac analysis results are only for one of this condition. What you really want is the average frequency response of the circuit. So the AC analysis is not appropriate for this large signal analysis.
3. TDSA is designed for this type application. it injects sinusoidal spectrum into the input, and detect the zero cross and amplitude to determine the phase and gain approximately. Be aware of that the speed maybe slow.
4. There are another option which requires you have the knowledge of MAST modeling. You can create a average model, which can be used for the AC analysis for the compensate loop design. Please refer to one of example in saber product. iqbus/jsp/iqbus_sw_average??
Hope this is helpful!
Hope this help