Title says it all. Thx
Edit
Note I'm not trying to calculate these values I want to assign them to the city engine environment settings. Idea is to set up a script as below.
assign sun position
set position by bookmark
snapshot
layer off.
layer on
snapshot
etc
set position bookmark
etc
Set new sun position
etc
Cheers