Skip to content

Add Fuentes temperature model #1032

Closed
Closed

Description

@wholmgren

Is your feature request related to a problem? Please describe.
PVWatts uses a temperature model, Fuentes, that's not implemented in pvlib python.

Describe the solution you'd like
Add the Fuentes model described in this pdf: 850330.pdf

Describe alternatives you've considered
Continue to use sapm.

Additional context
Originally discussed in #1022 (comment)

Activity

  1. kandersolar commented on Aug 29, 2020

    @kandersolar
    Member

    I have a python implementation of the Fuentes model I can contribute. However because the model includes a thermal inertia effect, each temperature calculation depends on the previous value in a nontrivial way and I haven't found a way to vectorize it with numpy, so unfortunately it's a little slow. Calculating cell temperature for an 8760 takes 4-5 seconds on my computer. Is slow code better than no code? If so, I will open a PR.

    The code is pretty similar to the original FORTRAN77 code in the reference's Appendix A... it would be a good candidate for rewriting in cython if pvlib goes that way.

  2. wholmgren commented on Aug 29, 2020

    @wholmgren
    MemberAuthor

    Numba is also a good option.

  3. added this to the 0.8.0 milestone on Sep 3, 2020
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

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions