Annual daylight simulation of electrochromic window with changing continuously

hello,
I want to simulate the annual daylight of electrochromic glass,and does anyone know how to change electrochromic glass state by time step( variate visible light transmittance Infinitely),not just 4 sate