Sun-as-a-star analysis of simulated solar flares