Cliff,
I made that changes that you suggested and now I am getting values other than 0.
What is interesting is that setting the latitude and longitude to 0 just shows a slight difference in the output. I wonder why this make a difference at all since I am providing the measurements.
Expected Produced (PVLIB algorithm, hour=12:00 PM): 73.3824
- versus -
Expected Produced (PVLIB algorithm, hour=12:00 PM): 72.59572002151778 (latitude= 0, longitude=0)
The other part I noticed is that when I run it for 24 hours of data, the expected value is less than what is actually produced at the site:
Date: 2025-05-23 00:00:00-04:00
Actual Produced (for entire day): 865
Expected Produced (PVLIB algorithm): 743.2071639350548
I would expect that the "expected produced" would be higher (because ideal conditions) than the "actual produced". The questions that come to mind is:
- Is this valid, having actual be higher than expected?
- What would need to be modified for the expected to be more accurate or precise?
I've attached the latest version of the Python file (leaving out the three data input files, since they didn't change).