Skip to content

ENH: Implement PVSyst Cell Temperature Model #552

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

Closed
mikofski opened this issue Aug 31, 2018 · 5 comments
Closed

ENH: Implement PVSyst Cell Temperature Model #552

mikofski opened this issue Aug 31, 2018 · 5 comments

Comments

@mikofski
Copy link
Member

mikofski commented Aug 31, 2018

PVSyst Cell Temperature Model
For users using PVSyst model chain, there is no equivalent cell temperature model. The only cell temperature model is the Sandia array performance model, pvlib.pvsystem.sapm_celltemp. The PVSyst cell temperature model is different.

Describe the solution you'd like
Add a corresponding method like pvlib.pvsystem.pvsyst_celltemp. I'll bet it's already implemented in PVLIB_MATLAB, right?

Describe alternatives you've considered
leave it to the user to implement

def pvsyst_celltemp(ambient_temp, gti, panel_efficiency, windspeed, alpha_absorption=0.9,
                    natural_convenction_coeff=29, forced_convection_coeff=0):
    """
    Calculate PVSyst cell temperature.

    Parameters
    ------------
    ambient_temp : numeric
        Ambient temperature in degrees Celsius
    gti : numeric
        Global tilted irradiance, AKA incident irradiance in the plane of array (POA) in W/m^2
    panel_efficiency : numeric
        PV module efficiency as a fraction
    windspeed : numeric
        Wind speed in m/s
    alpha_absorption : numeric
        Absorption coefficient, default is 0.9
    natural_convenction_coeff : numeric
        Natural convection coefficient, default is 29
    forced_convection_coeff : numeric
        Forced convection coefficient, default is zero

    Returns
    --------
    celltemp : numeric
        Cell temperature in degrees Celsius
    """
    combined_convection_coeff = (
        natural_convenction_coeff + forced_convection_coeff * windspeed
    )
    return (ambient_temp
        + alpha_absorption * gti * (1 - panel_efficiency) / combined_convection_coeff)

I'm not married to these names, they are only for demonstration

Additional context

  • is this related to Add PVsyst as option to ModelChain #487 at all? I tried to look for any corresponding or existing issues
  • if this cell temperature model is implmented then should others be as well? what does SAM use?
@cwhanse
Copy link
Member

cwhanse commented Aug 31, 2018

Great proposal @mikofski. The PVSyst temperature model is an extension of the Faiman temperature model. We don't have either in PVLib MATLAB. They are easy enough to code but I don't know of a database of coefficients. Like the Sandia model, coefficient values depend both on the module construction and its mounting. PVSyst provides some defaults.

I read the recent bulletin board exchange between Mike Anderson and Andre Mermoud, it appears that there is still uncertainty regarding some of the PVsyst model terms (efficiency).

The Faiman model is prescribed by at least one IEC standard so it is of broad interest. I would like to see this model added as well. Different pull request, though.

How do people feel about changing the naming convention: celltemp_sapm, celltemp_pvsyst etc. rather than sapm_celltemp etc.?

@wholmgren
Copy link
Member

wholmgren commented Aug 31, 2018

At the risk of issue scope creep... what about a celltemp.py module with functions sapm, pvsyst, etc.? Maybe better to address this in #436.

@cwhanse
Copy link
Member

cwhanse commented Aug 31, 2018 via email

@wholmgren wholmgren added this to the 0.6.1 milestone Dec 11, 2018
cwhanse pushed a commit that referenced this issue Dec 11, 2018
* initial implementation of pvsyst_celltemp function (#552)

* Reformat for stickler-ci

* Add error tests for pvsyst_celltemp

* Remove unused variables per stickler-ci

* Add pvsystem.pvsyst_celltemp function to docs

* correct api title

* formatting changes per wholmgren and cwhanse

* Additional formatting improvements

* Fix symbol in Reference
@wholmgren
Copy link
Member

Closed by #628.

@adriesse
Copy link
Member

adriesse commented Jan 22, 2019

I have a PR coming which I would like to attach to this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants