-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Add spectral mismatch model comparison table #2353
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
Questions: How many cell technologies is too many to list? I think after 2 or 3, it might be best just to write "multiple"? |
I don't think links to the input definitions add much value. It would be easier to read the list of inputs if the list had one input on each line, rather than a comma-separate text paragraph. It doesn't seem very helpful when most "Cell technology" fields have a value of "Multiple". I'd use the vertical real estate to list all the cell technologies, except for 'sapm' and 'mismatch_field' which aren't specific to a cell type. The SAPM model is specific to a module product, not to a cell type. I think "Data source" doesn't add much here. The primary use is for a modeler looking to select a model. Data used for development and validation can be relegated to the references. |
@RDaxini it looks like you're thinking to create a single page to house all comparison tables, is that right? In #2329 I was imagining these tables would live in pages dedicated to the relevant modeling topic. For example, the table in this PR would be one component of a broader page explaining pvlib's functionality related to spectrum and spectral mismatch. Similarly, the transposition model table would be in a page talking about the irradiance models. I still think that's a good approach, although of course I am interested in hearing opposing viewpoints. |
@kandersolar you're too fast again, haha. I went for single page originally because we did not have subsections at that time, but I think 0be2e46 just before your comment should have fixed this in line with your suggestion. We now have one main subsection called model comparisons, and then there will be individual subsubsections explaining the functionality and comparing models. Have a look, let me know if that's what you had in mind. Or did you mean a whole subsection for "spectrum", another for "irradiance", rather than a subsection called "model comparison" (can be renamed) with subsections for those topics (spectrum, irradiance, etc.)? |
Ok I see, nice. I suggest merging the |
@kandersolar, how about 7e79344? Aside, related: the user guide folder could benefit with some organization of the files, what do you think? I was considering opening a separate issue to seek opinions on categorizing those files into folders, perhaps folders aligned with the subsections perhaps... not urgent/major but the thought came to mind while working on this |
I am +1 to where it's going now.
+1 to this as well |
@adriesse, a suggestion: 298caa8. Your thoughts? (note Ref. was changed to Reference in the next commit) |
Having reread the whole page now, I think it would benefit from an introduction that clearly separates functions/models that actually use spectrally-resolved data vs. those that don't. Then I think the reference will also fall into place more naturally. |
Lots of good suggestions here. I could be convinced otherwise, but atm I'm not 100% on board with ticking off variables. Is there a chance we imply more ticks => better, ie more variables => better? We know that is not necessarily the case since there is variation in importance among individual variables for different PV types, climates, etc., and mixed value in their use in conjunction with one another. So maybe we go with Kevin's formatting suggestion, but with ticks rather than "yes" as suggested by Echedey?
+1, adding rows will fit better on the page, so one model per row sounds good.
You mean a new line within each table cell, or a full distinct table row for each variable? |
@RDaxini regarding
I now regret small recommendations I wrote in past PRs. I don't think pvlib is the place to put not entirely factual information, cause it can get misunderstood and sometimes misses a bigger picture of the modelling. But feel free to study and publish that in a paper, it may make for a relevant piece of knowledge. Great observation. On the other hand, if you think how to format is holding back this PR for too long, it may be time to:
Just an opinion update: I strongly believe putting each model input in a column is beneficial, so that libraries like DataTables (also this repo) can let users sort by inputs. My opinion was not so strong in the past. |
New build: https://pvlib-python--2353.org.readthedocs.build/en/2353/user_guide/modeling_topics/spectrum.html Included three examples based on suggestions from @kandersolar and @echedey-ls (thanks) |
Mild preferences for the third table version over the first. Either are better than the 2nd. The one disadvantage of the third table is that if pvlib adds a few more spectral models, the table has to expand horizontally. |
I lean towards the first table and this is one of main the reasons why. I also think the readability logic makes more sense going from left to right, starting with the model (left) and then introducing info about the model (right), rather than top to bottom. Re new models, we can expect at least one new model from First Solar soon. Not sure what the current status is but we have been hearing about it for at least a year now. I think it is reasonable to expect new models for bifacial and/or tandems to be published in the future too. |
I prefer the first table and would suggest putting the year and reference in the first column and then sorting by date. Maybe suppress the shading of alternate rows. The text is not always clear, for example the last sentence. I would suggest a structure like:
|
Tests addedUpdates entries indocs/sphinx/source/reference
for API changes.docs/sphinx/source/whatsnew
for all changes. Includes link to the GitHub Issue with:issue:`num`
or this Pull Request with:pull:`num`
. Includes contributor name and/or GitHub username (link with:ghuser:`user`
).remote-data
) and Milestone are assigned to the Pull Request and linked Issue.