Rotating panel interactive with sun position

I am working on a project that Rotates the Vertical louvers according to the sun position,
I have done this much so far but I am not able to rotate it in relation to sun position.
it would be very helpful if you could help me out as I am new to using grasshopper (395.7 KB)

rotating louvre
I think this what yhou are after: (399.5 KB)
Note that I just took a .epw file, you didn’t provide one.

Thank you so much for your help i’ll look into the script . Thank you so much and yes this is what I wanted to achieve