How to show ray tracing in sun radiation analysis


I would like to see the ray tracing in my script but can not figure out how to turn it one. Could anybody tell me how to do it please? I have attached image showing ray tracing function that I would like to also see with my script. And a image of my script - unfortunately as I am a new member I cannot post the script as an attachment.

Thanks in advance!