Skip to content

AOI dependence for soiling losses #1955

Open

Description

@kandersolar

Is your feature request related to a problem? Please describe.
Soiling losses are known to show a dependence on angle of incidence, but pvlib's soiling loss models don't consider AOI.

Describe the solution you'd like
Implement a model that calculates an adjustment factor, analogous to IAM, that converts soiling loss at AOI=0 to soiling loss at any angle of incidence.

Here is one such model: Guo & Javed 2024, Effect of incidence angle on PV soiling loss. https://doi.org/10.1016/j.solener.2023.112298

Describe alternatives you've considered
N/A

Additional context
One wrinkle: soiling loss models tuned to field measurements probably don't calculate soiling loss at AOI=0, but rather some kind of "average" AOI that depends on both the sun position and the weather conditions (sun AOI matters less in cloudy climates). Conceptually, it seems like soiling loss ought to be considered a combination of direct and diffuse components the same way IAM is. It's not obvious to me how best to apply an AOI correction factor to empirical soiling models.

Activity

  1. echedey-ls commented on Mar 2, 2024

    @echedey-ls
    Member

    I've read the paper and I don't dislike the proposed model. The only issues I have with it are:

    1. Do we want to provide some kind of fitting functions so the two parameters can be obtained from some kind of curve fit? The paper approach is for some exact soiling values but in the field they change with the weather.
      • In this case, what data can/should I make use of?
      • The $SL_0$ can be left up to the user but I can't think of how to get it from this kind of data.
        I have in mind this data could be two flat reference cells, one that cleans itself (or is cleaned) everyday and another one that gets soiled normally. So at AOI=0º, $SL_0$ is direct. For other cases, I'm not sure.
        Rearranging (7) as $SL_\theta(\theta) = SL_0 · (sec \theta)^P [\frac{1 - F_n/IAM}{1 - F_n}]$ there is another parameter, $SL_0$. Whether this works or not, I'm 0% sure.
    2. Data testing - I can do the average functional test of datatypes and some numbers, but they won't guarantee scientific rigour. Maybe from the graphs I can approximate some values...
  2. mikofski commented on Mar 2, 2024

    @mikofski
    Member
  3. adriesse commented on Mar 4, 2024

    @adriesse
    Member

    I don't have access to this paper, but I do recall that Martin & Ruiz discussed representing the dirty modules with a different a_r. That wouldn't accommodate losses at normal incidence.

  4. adriesse commented on Apr 3, 2026

    @adriesse
    Member

    Have there been any new developments/publications on this topic? It's pretty relevant since some soiling measurement approaches don't capture this properly.

  5. williamhobbs commented on Apr 6, 2026

    @williamhobbs
    Contributor

    I'm generally interested in this concept.

    Here's an updated paper by Guo with outdoor validation: https://doi.org/10.1016/j.solener.2025.114253

  6. adriesse commented on Apr 9, 2026

    @adriesse
    Member

    Thanks @williamhobbs ! A soiling measurement system that gives you one value per day will not be enough to determine which curve you are on. This is a subject of discussion for the revision of IEC 61724-1.

  7. williamhobbs commented on Jun 26, 2026

    @williamhobbs
    Contributor

    I was revisiting this and think that I've put together something close to what's in Guo 2026. I think the only difference is that I'm using pvlib.iam.physical because it's easy, and Guo used an empirical IAM table.

    from pvlib.tools import cosd
    import pvlib
    import numpy as np
    import matplotlib.pyplot as plt
    
    # based on Guo 2026, https://doi.org/10.1016/j.solener.2025.114253
    def iam_soil_guo(aoi, SL0, Fn, P):
        costheta = np.maximum(0, cosd(aoi))  # always >= 0
        sec = 1 / costheta
        iam = pvlib.iam.physical(aoi)  # Guo used a table of imperical values, Table 2
        SL_mod = (sec ** P) * ((1 - (Fn / iam)) / (1 - Fn)) * SL0
        return SL_mod
    
    # range of aoi values
    aoi = np.arange(0, 80)
    
    # parameters to match Guo 2026 Fig. 7a, left column (soiling loss 0.058)
    P = 1
    Fn = 0.7
    SL0 = 0.058
    
    # calculate modeled soiling loss
    SL_mod = iam_soil_gou(aoi, SL0, Fn, P)
    
    # plot it
    plt.plot(aoi, SL_mod)
    plt.ylabel('Soiling loss')
    plt.xlabel('aoi (deg.)')
    plt.show()

    And the fancy "manually overlay screenshots in powerpoint with transparency and stretching" comparison:

    Image

    The large negative values surprised me. But then, actually reading some of Guo 2026, I saw

    It should be noted that the current model yields negative values at very large AOI (e.g., AOI > 80°). This artifact results from treating Fn as a constant, even though Fn – the ratio of scattered light reaching the PV cell to the normal-incidence transmittance [16] – should decrease at high AOI due to dust particles shading one another. Because solar irradiance is already very low at such large AOI values, the resulting inaccuracy is acceptable for typical applications when the irradiance-weighted soiling loss is of interest. Further work is needed if accurate modeling at high AOI is required.

    If I were to continue working with this on my own, I would clip the lower bound of modeled aoi-dependent soiling loss to be no lower than the nominal soiling loss (SL0).

  8. adriesse commented on Jun 29, 2026

    @adriesse
    Member

    If further work is needed, is it ready for pvlib? On the other hand, there are a lot of models that could use more work so that may not be the right question. On the other hand if he is actively working on it...

  9. williamhobbs commented on Jun 29, 2026

    @williamhobbs
    Contributor

    @adriesse, I think it's useful now, with the modification of clipping the loss at a minimum of the nominal soiling. If that sort of modification is ok for pvlib, then I think it could be considered ready.

    Without that modification, it could return very bad (large negative) results, which seems like a bad fit for pvlib.

    I'll add that modifying the function with a "floor" is somewhat similar to the addition of the cap_adjustment option to pvsystem.pvwatts_dc nonlinear adjustment. That cap was not in the original reference, but Cliff approved that addition (here). A key difference is that what I'm suggesting here would not be optional.

    On the other hand if he is actively working on it...

    I don't know if anything is still being worked on. I guess we could send an email and ask...

  10. cwhanse commented on Jul 3, 2026

    @cwhanse
    Member

    @williamhobbs nice work.

    I agree with @williamhobbs that the model is useful as is, and that clipping the loss is appropriate (with notes in the docstring).

    I would build the empirical IAM table into the pvlib code and give the user an option to substitute a preferred IAM model. The p and F parameter values in the paper are hitched to the empirical IAM model, and I'm inclined to ask that pvlib code include default p and F from the paper. P could be interpolated from the paper's Table 3; open to other ideas here.

  11. markcampanelli commented on Jul 3, 2026

    @markcampanelli
    Contributor

    This might be relevant in terms of a formulating a consistent implementation of empirical IAM functions across multiple applications in pvlib: #2050

    Note: The reason I rail on and on about simpler interfaces in pvlib is that it makes seeing one's contributions across the finish line way easier, especially as the code base grows. Of course, it also reduces the mental load on the consumers, even though many of them don't realize how much of a good thing that is, esp. once they have their particular computational workflow set up in the loosey-goosey world of Python.

  12. williamhobbs commented on Jul 3, 2026

    @williamhobbs
    Contributor

    @cwhanse thanks.

    I agree that the IAM table from the paper should be the default, and it should also default to the paper’s Fn and P.

    For P, I think using the values from Table 3 and interpolating probably makes the most sense. Based on the points in fig 5 and the regression used to get the values in Table 3, it seems reasonable to somehow extrapolate to zero soiling (SL0), but to fix the P value at 0.8 for SL0 greater than 15%. But I haven’t tested anything there, so I’m very open to suggestions a.

    And clarify it all in the doc string.

    And of course allowing custom IAM, Fn, and P should be included.

  13. williamhobbs commented on Jul 7, 2026

    @williamhobbs
    Contributor

    I'm not sure how much this matters, but I can't seem to confirm where the empirical IAM values in Table 2 of Guo 2026 came from. I don't have a copy of the manuscript for ref 19, but slides are online*, and I don't see anything that matches Table 2. Ref 18 is open access (just the data, the related paper** is not open access), and includes lots of measurements, but I also can't find a match there.

    Image Image Image

    * https://www.kiwa.com/globalassets/us/pvel/resources/kiwa-pvel-pvsc-iam-presentation-2024_06_12.pdf
    ** https://doi.org/10.1002/pip.3365

  14. cwhanse commented on Jul 8, 2026

    @cwhanse
    Member

    I am looking at a copy of [19] and I don't see those numbers. I think they may have been derived from the supplementary data for this paper: https://doi.org/10.1002/pip.3365 But the DTU server seems to have lost that file; maybe @AdamRJensen can help?

  15. williamhobbs commented on Jul 8, 2026

    @williamhobbs
    Contributor

    @cwhanse, the supplementary data link (https://doi.org/10.11583/DTU.12613325.v1) works for me. Here's the direct file download link: https://data.dtu.dk/ndownloader/files/23707952.

    Also looks like it's okay to post here, AOIRR2020RawData.csv, with the following note:

    If you use this data in a published work, please cite the dataset and the following publication:

    Riedel-Lyngskær N, Santamaria Lancia AA, Plag F, et al. Interlatoratory comparison of angular-dependent photovoltaic device measurements: Results and impact on energy rating. Prog Photovolt Res Appl. 2020. https://doi.org/10.1002/pip.3365

    edit to add: @cwhanse, I bet the issue you ran into an invalid link due to a wrapped line in Guo 2026. it goes to https://doi.org/10.11583/ instead of https://doi.org/10.11583/DTU.12613325.v1.

    Image
  16. CameronGordonn commented on Nov 12, 2026

    @CameronGordonn

    Edit: Brevity, added script output and PR proposal

    The Table 2 values come from the DTU dataset [18] linked above (the table header only cites [19]). They're the mean of Lab A's four samples and match to 7 decimals. The 0 at 90° is Guo's addition.

    import pandas as pd
    df = pd.read_csv('AOIRR2020RawData.csv', encoding='utf-8-sig')
    df.columns = ['lab', 'sample', 'type', 'aoi', 'tau']
    lab_a = df[df['lab'] == 'A'].groupby('aoi')['tau'].mean()
    print(lab_a.loc[[0, 45, 60, 70, 75, 80, 85]].round(7).tolist())
    [0.9999998, 0.9922715, 0.9530007, 0.869752, 0.7902393, 0.6533689, 0.4265102]
    

    Fn and P were fitted with this table, so I'd keep it as the default and just cite the dataset. Compared with iam.physical in @williamhobbs's sketch, the modeled loss differs by up to 2% through 65° but by about 16% at 75°.

    For P, I don't think I'd extrapolate the Fig. 5 fit (P = 31.48·SL0² − 9.88·SL0 + 1.57). It bottoms out at about 0.80 near SL0 = 0.157 and goes up to 1.57 at SL0 = 0. Interpolating Table 3 with np.interp gives P = 1.15 below 0.05 and P = 0.80 above 0.15, which matches the 0.8 cap suggested above. Another option: Table 5 shows P = 1 (or 0.9) with Fn = 0.7 keeps daily loss within 6%.

    To start, I'd propose one function in pvlib/soiling.py taking aoi and the normal-incidence soiling loss, with Table 2 as the default IAM (or a user-supplied one), P from Table 3, Fn = 0.7, and the SL0 floor. The docstring would warn against passing kimber/hsu output, since field-measured losses already include the angle effect.

    Two questions I have on this; should aoi ≥ 90° return SL0 or NaN, and should P default to Table 3 or the simpler P = 1?

    I've worked on how tilt angle affects soiling buildup and rain cleaning, so this is interesting to me. @williamhobbs since you wrote the prototype, are you planning a PR? If not, I'd be interested in building once we settle the defaults.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions