I have a dataset that contains GHI, DHI, and DNI columns. The problem is there are null values in DHI column and I want to find the most accurate way to replace those null values. Is using this equation DHI= GHI-DNI. cos (θ) to fill missing values accurate or I should use a function from pvlib?
Asked
Active
Viewed 70 times
0
-
1If you have both GHI and DNI then using them to calculate DHI is certainly the most accurate way. However, depending on the time step you may have to consider using the average zenith angle during the period instead of just the zenith angle at the time stamp. – Adam R. Jensen Apr 06 '21 at 19:35
1 Answers
0
If you have partial null values in the DHI column, then the most accurate approach would be to examine the time steps where you do have all three values to see how consistent they are, and combine this with your knowledge about the instruments and maintenance to adjust your filling strategy.
But as a first step, just try what you proposed and keep in mind Adam's comment about the sun position.

adr
- 1,731
- 10
- 18