Daylight analysis

Hi all,

I have been working on the simple 3d model in rhino for daylight analysis but the script is not working, please help me with that