CREATE A SET OF PARAMETRIC SHADING DEVICES AND SIMULATE THEIR FORM USING LADYBUG AND GALAPAGOS

Hi,
im trying to analyse the best angle of dynamic diamond solar panels on the facade to get enough shading and radiation in order to have enough daylight for the interior part during a year.the area is a school. i scripted few things but because im not professional i don’t know if i did it write or wrong.I appreciate if anyone can check and guide me. solar panels will rotate according to the sun so they won’t be rotated just in the x-axis. also maybe the size and number of solar panels on the facade will change everything.thank you in advance