Very good explanation
but as good as it is, is a quite daunting task to do as you say.
btw, something is a bit screwed about SR and SS in this game. Does the red light thing show what is "supposed" to be the SS/SR point? (even though is visually innacurate). sunrise is quite accurate, but sunset is not.