The stability of global economies relies heavily on power systems (PS) that have sufficient operating reserves. When these reserves are insufficient, power systems become vulnerable to issues such as load shedding or complete blackouts. Maintaining grid stability becomes even more challenging with a high penetration of renewable energy sources (RES). However, RES, connected through power electronic devices, offer significant potential as ancillary service (AS) sources. Renewable energy-based microgrids (MG), which aggregate various RES resources and have substantial load control potential, further enhance the capability of AS provision from RES. The presence of diverse AS resources raises the question of how to dispatch ancillary service signals optimally to all resources. Most of the previous research work related to AS allocation relied on single-bus MG models. This paper proposes a detailed MG model for the optimal dispatching of ASs among the resources using Virtual Load, along with an optimization procedure to achieve the best results. The model incorporates voltage profiles and power losses for AS dispatching, and a comparative analysis is conducted to quantify the significance of grid modeling. The model and proposed procedure are tested using the CIGRE microgrid benchmark model. The results indicate that detailed modeling of MG can impact the results by 11%, compared to single-bus modeling, which qualifies detailed MG modeling for all future research work and shows the impact that modeling can have on technical and economic indicators of MG operation.