pvlib-python icon indicating copy to clipboard operation
pvlib-python copied to clipboard

Gallery examples of ModelChains for the DOE Solar Data Bounty Prize systems

Open kandersolar opened this issue 1 year ago • 12 comments

The U.S. Department of Energy sponsored a Solar Data Bounty Prize that resulted in publication of detailed monitoring data and system configuration specs for five commercial PV systems. I think we should create a section in the example gallery containing "reference models" for these systems. This section could be expanded over time to have models corresponding to other public PV datasets too (RTC, NIST, etc).

System descriptions:

  • [ ] https://openei.org/wiki/PVDAQ/Sites/Farm_Solar_Array
  • [ ] https://openei.org/wiki/PVDAQ/Sites/Maui_Ocean_Center
  • [x] https://openei.org/wiki/PVDAQ/Sites/SR_CO (#1985)
  • [ ] https://openei.org/wiki/PVDAQ/Sites/Shine_On_Solar_Facility
  • [ ] https://openei.org/wiki/PVDAQ/Sites/Simon_Solar_Farm

Data available for download here: https://data.openei.org/s3_viewer?bucket=oedi-data-lake&prefix=pvdaq%2F2023-solar-data-prize%2F

It would be great to get these pages created and merged before March 21 so that they can be mentioned in the Modeling Tools webinar, so I'm tagging this for v0.10.4 (scheduled for mid-March).

kandersolar avatar Jan 24 '24 16:01 kandersolar

Did DOE put funds aside for such work (seems like that would've made sense)?

AdamRJensen avatar Feb 06 '24 11:02 AdamRJensen

To my knowledge, no special funding is currently available for this work.

kandersolar avatar Feb 06 '24 13:02 kandersolar

I really like this idea.

SR_CO looks like thin-film with true-tracking, and I think Simon Solar Farm is fixed tilt 2P crystalline, so both could be good for validation of self-shade models.

williamhobbs avatar Feb 20 '24 17:02 williamhobbs

Edit: oops, nevermind, see comment from @williamhobbs below

A note for whoever makes these models: it's a little hard to tell, but from google street view it looks like SR_CO is a 4L array, so don't be surprised if the simple linear self-shading model doesn't perform very well.

image

image

https://www.google.com/maps/@40.3848262,-104.547199,3a,15y,351.87h,88.67t/data=!3m6!1e1!3m4!1szpxv4gM0fGnA5kIHnMoA1Q!2e0!7i16384!8i8192?entry=ttu

kandersolar avatar Feb 21 '24 16:02 kandersolar

@kandersolar these look like CdTe modules that have vertical scribe lines when mounted in landscape (all cells in a shaded module are shaded uniformly), so modeling linear shade losses should be ok.

williamhobbs avatar Feb 21 '24 18:02 williamhobbs

Here is a rough example model page for one system (SR_CO): https://gist.github.com/kandersolar/2ab973ea0b5d8cd45531a38c6e1fd06f

Feedback is welcome.

One general consideration for including this kind of example page in the docs is that to actually run the model and perform the comparison requires a lot of i/o (fetching PSM3 data and fetching the measured power data). So far we have managed to avoid performing significant i/o in the example gallery, and it would be great to keep it that way. I suggest we configure these particular examples to not be executed during the docs build, and just include the comparison plots as static PNGs. We could also just omit the plots entirely, but IMHO the figures make the example page a lot more engaging.

kandersolar avatar Mar 06 '24 17:03 kandersolar

Looks good to me. I'm surprised that you have to guess at metadata given that that these are presumably the five winners. Are they?

If we settle on a way to deal with large data in examples, then we could migrate some examples from DuraMAT to pvlib as well.

adriesse avatar Mar 06 '24 19:03 adriesse

Regarding guessing metadata, I think that a lot of array geometry info (pitch, collector width, GCR, tracker height) was left off of the list of requested metadata for the bounty prize. And manufacturer/model info was optional to provide.

@kandersolar: all of your assumptions look reasonable to me.

williamhobbs avatar Mar 06 '24 20:03 williamhobbs

Why not move the gallery to it’s own repo?

mikofski avatar Mar 07 '24 05:03 mikofski

Why not move the gallery to it’s own repo?

I guess these models could be a repository alongside the other tutorial repositories, but (1) I don't envision these to really be tutorials, just examples, and (2) I don't think that would completely solve the i/o problem anyway -- the Data Prize datasets are pretty large (some 100s of MB), which is a lot to be downloading or storing no matter what repository the code lives in.

given that that these are presumably the five winners. Are they?

Yep, those are the winners. It's too bad that more detailed design information wasn't collected, but at least it's possible to cobble together estimates for enough missing pieces to make a simple but still reasonable model.

kandersolar avatar Mar 07 '24 21:03 kandersolar

Perhaps we don't really need those examples for pvlib purposes, but in your opener you also called them "reference models". I think it would be a great open source/open data/open science achievement to run with the partial published data; scrape, glean and reverse engineer the missing bits and meta-bits; and then publish a complete reference model with documentation for each!

adriesse avatar Mar 07 '24 21:03 adriesse

I like that idea a lot! That would be a fun and useful project.

For now, #1985 is open for discussion. Rendered example page here.

kandersolar avatar Mar 08 '24 15:03 kandersolar