SunPower / PVMismatch

An explicit Python PV system IV & PV curve trace calculator which can also calculate mismatch.
http://sunpower.github.io/PVMismatch/
BSD 3-Clause "New" or "Revised" License
79 stars 30 forks source link

use lookup table for 2-diode parameters (a la SAM) #52

Open mikofski opened 7 years ago

mikofski commented 7 years ago

related to #50 and #51

At PVSC Janine Freeman introduced a great idea to nearly eliminate errors from diode-analog cell models, which was to use a lookup table.

Since we already have the pvmismatch.contrib.gen_coeffs methods, all we need is to loop over it so it creates an IEC-61853 table but for Isat1, Isat2, Rs and Rsh instead of Imp, Vmp, Isc, and Voc.

Then we would have to add the interpolation methods into pvmismatch.pvcell or at least the option to.

mikofski commented 7 years ago

see

mikofski commented 7 years ago

see Trello

xjianwei520 commented 6 years ago

Dear Mikofski : i saw the fuction about' gen_coeffs.gen_two_diode()', it can return the cell parameter such as isat1, isat2, rs, rsh. actually, Some R&D Projects also need the cell reversed parameter such as ARBD,BRBD,VRBD,NRBD. The current packages can solve this problem ?

mikofski commented 6 years ago

@xjianwei520, no, I didn't add methods to fit reverse breakdown parameters, because AFAIK there isn't an IEC standard to test or measure for this, and often there is little or no published data on reverse bias characteristics of cells or modules.

But I agree that we should at least provide some guidelines or rules of thumb, maybe in the documentation or the wiki. Probably we should get a few other researchers to give their input?

The equations for the reverse breakdown are in issue #25 and in pvcells.py.

Here's what I would suggest:

  1. Try to find out what the breakdown voltage is and use that to set VRBD. Typically front contact p-type c-Si cells breakdown in reverse bias somewhere between -17.0-volts to -25.0-volts. SunPower modules are back contact n-type and they breakdown between -3.5 and -5.5 volts.

  2. Try to get real reverse bias test data and fit it using scipy.optimize.curve_fit to get ARBD, BRBD and NRBD using the equation from #25 and . Otherwise, just use the defaults for for ARBD, BRBD, and NRBD - unfortunately, this model is not great, but there is an issue #26 to make a more flexible reverse bias model

xjianwei520 commented 6 years ago

Thanks ,Mark. I will try it follow your idea, and i also give you all feedbacks about result whatever good or bad. hoping the pvmismatch more and more powerful

markcampanelli commented 6 years ago

What’s your fitting data look like? I have a “global” single diode model fitting already in production, and I’m always curious to compare fit values between single and double diode models.

On Wed, Jan 10, 2018 at 19:15 xjianwei520 notifications@github.com wrote:

Thanks ,Mark. I will try it follow your idea, and i also give you all feedbacks about result whatever good or bad. hoping the pvmismatch more and more powerful

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/SunPower/PVMismatch/issues/52#issuecomment-356792347, or mute the thread https://github.com/notifications/unsubscribe-auth/ABEr8_NL45NFAweEFGhHvchPcqt53_d1ks5tJWCUgaJpZM4OzATt .