Simulations of the periodic flaring rate on YY Gem