Sunlight at sub-surfaces a window sunpath system

Hi, I would like to set up a definition to analyze direct sunlight inside a space. A test room with one window and a sunpath. To look at how the direct sunlight inside are moving and calculate its visual appearance in size, distribution and light level for example.

Further on it would be cool to make the window placement parametric in the wall. To be able to adjust the size and placement of the window depending och the sunlight inside. I would like to arrange the windows to create a light pattern on a specific surface inside.
For example, in reverse state at that surface I want the evening sunlight, how should the window be arranged?

Anyone, some input on how to go on with this?