Calculates the optimal tilt angle depending on the latitude.
e.g. about 27° to 34° from ground in Germany. The pvlib. uses tilt angles horizontal=90° and up=0°. Therefore 90° minus the angle from the horizontal.
lat (float) – latitude
Angle for optimal surface tilt of lat, rounded to zero decimal places.
int