The example file "C:\DIVA\ExampleFiles\Grasshopper\Daylight\02_AnnualDaylight_C_WindowsAndShades.gh" has a description of manual and automatic sensors.
In both cases (manual and auto) the threshold for direct sun exposure is 50 W/m2 direct normal irradiance. Manual shades use the Lightswitch algorithm to determine when occupants raise or lower the blinds.
Details on the roller shade material (and all other default materials) can be found in the file "C:\DIVA\Daylight\material.rad".
Sorry for the late reply and thank you very much for you answer, it was very useful.
Unfortunately I had a new problem. I tried to model my customize shading system but when I run the symulation I get an error on the grid. How can I manage the problem?
I've attached the files as you can see below.
Thank you very much for your time and work