Daylight Analysis with Grasshopper & Galapagos

Hi guys,

I would like to do a daylight analysis for a skylight component, find good angles to get more daylight into the building. An example is something like this: where sliders controls the angle, size etc of the skylight opening/glazing, the to connect a solver such as galapago to see which sliders allows more rays into the building.

I have been searching for quite sometime and asking around, but could not find a good resource to start learning. Would anyone be able to point me to good resources to learn, or provide guidance on how to start. Thank you, very much appreciated.