Anuual Glare control

How to calculate annual daylight and glare simulation simultaneously?
Because, for glaring simulation I have used Image Based Simulation where I can only calculate one day and hour. I want to calculate and optimize a dynamic shader on the base of annual daylight (UDI) and annual DGP & DGI