Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

ModelChain Object doesn't accept Perez transposition model coefficents #2127

Copy link
Copy link
@bgpierc

Description

@bgpierc
Issue body actions

For comparison purposes, I'm running a lot of models using the ModelChain object.

I'd like to vary the Perez parameters to see if my choice of parameters is having a significant effect, but using the ModelChain interface does not support changing this argument, which is passed to system.get_irradiance in ModelChain.prepare_inputs.

This makes it so a ModelChain always uses the default allsitescomposite1990 coefficients when using perez.

We can work around this by using ModelChain.run_model_from_poa rather then ModelChain.run_model, but this seems rather clunky if all you want to change is the Perez coefficients.

I'll submit a PR with a fix if there's interest. Thoughts?

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

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.