How to remove pvlib deprecation warnings

7 views
Skip to first unread message

Aakash Singh

unread,
Dec 11, 2025, 2:11:36 PM (5 days ago) Dec 11
to pvlib-python
Have written a python application that I'm running from command line and linux terminal. However, each time I run the application I see the following deprecation warning from pvlib as shown below:

C:\Users\DevUser\pvlib_standalone_app\myapp_pvlib_agmt.py:322: pvlibDeprecationWarning: Parameter 'g_poa_effective' has been renamed since 0.13.0. and will be removed soon. Please use 'effective_irradiance' instead.

What can I do to suppress or avoid these warnings? It's triggered by the following function:

pvlib.pvsystem.pvwatts_dc(
        g_poa_effective=poa_irradiance['poa_global'],
        temp_cell=cell_temperature,
        pdc0=module_parameters_660['pdc0'],
        gamma_pdc=module_parameters_660['gamma_pdc']
    )

Aalekh Roy

unread,
Dec 11, 2025, 2:21:34 PM (5 days ago) Dec 11
to Aakash Singh, pvlib-python
Hey Aakash,

All it says is the first param `g_poa_effective` of the function call `pvlib.pysystem.pvwatts_dc()` has been renamed to `effective_irradiance`. 
If you rename it in your script while calling the function, the warning won't come. 

Regards,
Aalekh 


--
You received this message because you are subscribed to the Google Groups "pvlib-python" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pvlib-python...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/pvlib-python/9ad46a99-d035-46ff-a555-3f25753e4b33n%40googlegroups.com.

Aakash Singh

unread,
Dec 12, 2025, 9:58:20 AM (4 days ago) Dec 12
to pvlib-python
Hi Aalekh,

Thanks a lot for your advice! I built the application off older pvlib sample code so that change makes sense.

Regards,
Aakash

Reply all
Reply to author
Forward
0 new messages