Automating Blinds to find the amount of time blinds are up for daylight analysis

Hello,
I am trying to simulate daylight analysis for a primary school. I want to automate the blinds on the windows to reduce glare.

My end goal is to find the percentage of occupied time the blinds are up. I want to maximise the percentage of blinds being up so as to increase the amount of time we have the outside view.

It will be a great help if anyone could guide me how to proceed in this aspect.

Thanks!