-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Add temperature derate to inverter models #1199
Comments
No argument from me that the Sandia/CEC inverter model can be improved. Contributions are welcome. Some caveats, however:
That would be a nice addition to pvlib. But, to my knowledge the inverter model in Pvsyst is not fully documented. The Pvsyst license prohibits reverse engineering the software. Without reference to complete and open documentation, I don't think we can add How did you calculate efficiency? The values computed from the inverter models in the CEC database result from inverter performance tests at 3rd party laboratories. I would not be surprised if the independent testing arrives at somewhat different efficiency than the "maximum" efficiency reported by the manufacturer. |
@yangangky could you help me understand where the "Nominal output power" and "Max output power" values are obtained (in the inverter.datashett.s.information_2020.xlsx file). For example, I am looking at the datasheet for the SAM Sunny Central 2475 inverter and I don't see a "nominal" output power of 2250. I see two different maximum AC output power (kW) which depend on temperature. |
I use pvlib to calculate the inverter efficiency. When I use pvlib to simulate the power generation, I can get a dc_energy and ac_energy. The inverter efficiency =dc_energy/ac_energy. I calculate 32 inverters for the efficiency by this method. Note: I eliminate the clipping effection by using DC : AC < 1.0. (DC means dc nominal power for system design, AC means inverter nominal power) |
@ Cliff, You are right. As we discussed in the google group. https://groups.google.com/u/1/g/pvlib-python/c/ibfhCWQrUhE 20201121 SG3125HV-30 SG3400HV-30.pdf |
I suspect that undersizing the DC array will also underestimate efficiency, relative to the stated efficiency, which is supposed to be at full DC input and AC output, and nominal DC voltage. For the CEC inverter model, efficiency at rated input should be equal to pac0 / pdc0 (two parameters from the CEC database). |
The limiting temperature (i.e. 45C) is measured internal to the inverter, I would guess with a thermocouple attached to one of the IGBTs, but perhaps elsewhere. Internal temperature will be higher than ambient. I know of no published model to translate from ambient temperature to internal inverter temperature. |
At SunPower & DNV we always treated this as ambient temperature. We worked closely with SMA, I don't recall them using onboard temperature. Pvsyst help has a section on this:
|
Thank you for your illustration. Sorry for that I did not give you a clear illustration for the DC:AC value. The DC:AC value about 0.9 to 1.0 for previous simulation. However, I did the simulation again keep the DC:AC=1.0, the conclusion is nearly the same as last comment. You can review the deatails as attachment. |
Hi Cliff, the temperature is ambient temperature, not the inverter machine internal temperature. Below graph is the sungrow inverter charateristics curve, the test was under the ambient temperature. Because the permission, I can not load the whole file on here. |
Hi, Mark. Thank you for your illustration and information. It is helpful. Yes, Sungrow indeed treat it as ambient temperature. |
I looked at several inverter company's technical documents and they all describe that temperature as "ambient". I'm still puzzled how that temperature is measured in an actual inverter, but that's a different question. The challenge here is a referenceable source for a model for inverter derating by temperature. It's not simply a matter of temperature: DC voltage plays a role, as does AC power output. See these documents by Schneider and SolarEdge. SAM implements temperature derating for inverters. The code is not described in the technical support document, perhaps someone who can read C++ well could figure out how it works. It would be nice to have the model documented, if necessary the model could be described on pvpmc.org in advance of a paper. @mjprilliman @janinefreeman @yangangky would you mind if I edited the title of this Issue to "Add temperature derate to inverter models"? |
duplicate of #85 |
@dguittet implemented SAM's original inverter temperature derating model, and @mjprilliman modified it to be derate power rather than current, I believe. They may be able to better describe how it works. It should be documented somewhere in the SAM help, @cpaulgilman can you take a look or add it to your list? Thanks! |
@cwhanse, I am OK for it. Thanks for your reminder. |
Here's a link to the issue describing why the inverter temperature derate feature was changed to be based on the ratio of max output power to rated power (DC) rather than efficiency. The main idea is that while lower efficiency at higher temperatures could be real physical behavior, it is more important to simulate the power limiting (or current limiting) built into many inverters for increasing ambient temperature. This derate can also be specified in the SAM UI at different DC voltages to then be interpolated over in the derate calculations. |
My "other" inverter paper describes the modeling of internal inverter temperature rise and a possible algorithm for derating. (https://doi.org/10.1109/PESC.2008.4592327) There are really three distinct aspects of inverter operation:
Modelling 3. is probably most relevant. I wouldn't think the simple code to implement the derating curves shown above for 3. requires or deserves a publication, but to cover the whole topic broadly would probably yield enough material for such. (Think module-mounted electronics, for example.) |
Related to this, I wonder whether all this should happen quietly behind the scenes (probably not), whether python warnings should be emitted (maybe), whether the inverter functions should be returning a status flag array (aka state)? |
I will revise SAM Help to more clearly describe the changes we made in SAM 2020.11.29 to address SAM Issue 442. That revision should be part of SAM 2020.11.29 r2. |
Is this related to #1178 ? |
Yes, in the sense that the available inverter models can be improved. Here, the specific ask is to add the temperature dependence of the power limit. #1178 is asking that the inverter function also return the DC voltage at which the inverter is operating while clipping, if I understand it correctly. |
Is your feature request related to a problem? Please describe.
Sandia inverter model is not suitable for clippling calculation nowadays. Because CEC inverter database do not have 'maximum AC power' parameters, this parameters really decide the clipping starting line.
Note:
ADR inverter have 'Pacmax' parameter. But I needt to creat a inverter database (including mainstream inverter company and type) by ADR algorithm then can use it. I think it is not possible by now.
Describe the solution you'd like
PVsyst inverter use the two parameters (maximum AC power and nominal AC power) to calculate inverter clipping. And there is a inverter database which every inverter company update it on time. If we can create a new inverter function like pvsyst, then we can use the pvsyst invereter database (OND file) , and do not need to create a new database.
Note: Frederic have written a code which read the OND file parameters, the link is here: https://github.com/frivollier/pvsyst_tools/tree/master/pvsyst
Additional context

I use PVlib CEC/sadia model to calculate inverter efficiency and found a lot of values are lower than the inverter database value. Below graph is the summarized chart of 32 inverters.
I also summarized the inverter efficiency in database which I download from website in the end of 2020. The sample number is 145 for 12 vendors. The median inverter efficiency is 98.8%.

Note: Related database are as attachment, please review.
inverter datasheet s information_2020.xlsx
sam-library-cec-inverters-including inverter efficiency by pvlib.xlsx
The text was updated successfully, but these errors were encountered: