Skip to content

ModelChain disregards diffuse optical losses for non-Sandia modules #2509

@ramaroesilva

Description

@ramaroesilva

Is your feature request related to a problem? Please describe.
modelchain.ModelChain and modelchain.ModelChain.with_pvwatts only consider optical losses for diffuse irradiance for modules from the Sandia Database, which contain an FD parameter for this. This can be seen in the effective_irradiance_model function in here.

def effective_irradiance_model(self):
def _eff_irrad(module_parameters, total_irrad, spect_mod, aoi_mod):
fd = module_parameters.get('FD', 1.)
return spect_mod * (total_irrad['poa_direct'] * aoi_mod +
fd * total_irrad['poa_diffuse'])

In my opinion, this is relevant for pvwatts approach. Not sure for more detailed approaches like single-diode model, etc.

Describe the solution you'd like
pvlib already contains well-established functions to compute diffuse irradiance losses such as the Martin-Ruiz and Marion's models. Would "just" be a matter of implementing them in the modelchain workflow.

Additional context
Even for Sandia modules, could it make sense to allow users to replace the FD constant by values from the Martin-Ruiz or Marion models?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions