...
Calculations for expected angle of sunlight at a given time in the day for a latitude/longitude point of the world
Data from weather on the expected sun levels for a geographical point
Solar array layout , and cell efficiencies
Outputs
Expected energy absorbed by the solar array that is added to the battery pack.
Notes
Calculations were mostly completed by Carson Bay before his departure from the team and the incomplete code is available in Github for calculating the solar intake depending on time of day
The above code can be used as a basis, however with the switch to challenger most of these calculations will not be very useful and will have to be retooled for MSXV