From 5f5f8b18522d3318f1dcac978bfe587aeca817c7 Mon Sep 17 00:00:00 2001 From: Kevin Anderson Date: Wed, 12 Nov 2025 16:14:46 -0500 Subject: [PATCH] use IEEE style for pvwatts v5 citation --- pvlib/inverter.py | 4 ++-- pvlib/pvsystem.py | 10 ++++------ 2 files changed, 6 insertions(+), 8 deletions(-) diff --git a/pvlib/inverter.py b/pvlib/inverter.py index 1dda69336c..a6a80863eb 100644 --- a/pvlib/inverter.py +++ b/pvlib/inverter.py @@ -388,8 +388,8 @@ def pvwatts(pdc, pdc0, eta_inv_nom=0.96, eta_inv_ref=0.9637): References ---------- - .. [1] A. P. Dobos, "PVWatts Version 5 Manual," - http://pvwatts.nrel.gov/downloads/pvwattsv5.pdf (2014). + .. [1] A. P. Dobos, "PVWatts Version 5 Manual", NREL, Golden, CO, USA, + Technical Report NREL/TP-6A20-62641, 2014, :doi:`10.2172/1158421`. """ pac0 = eta_inv_nom * pdc0 diff --git a/pvlib/pvsystem.py b/pvlib/pvsystem.py index edad38b412..9744d247ff 100644 --- a/pvlib/pvsystem.py +++ b/pvlib/pvsystem.py @@ -2925,9 +2925,8 @@ def pvwatts_dc(effective_irradiance, temp_cell, pdc0, gamma_pdc, temp_ref=25.): References ---------- - .. [1] A. P. Dobos, "PVWatts Version 5 Manual" - http://pvwatts.nrel.gov/downloads/pvwattsv5.pdf - (2014). + .. [1] A. P. Dobos, "PVWatts Version 5 Manual", NREL, Golden, CO, USA, + Technical Report NREL/TP-6A20-62641, 2014, :doi:`10.2172/1158421`. """ # noqa: E501 pdc = (effective_irradiance * 0.001 * pdc0 * @@ -2971,9 +2970,8 @@ def pvwatts_losses(soiling=2, shading=3, snow=0, mismatch=2, wiring=2, References ---------- - .. [1] A. P. Dobos, "PVWatts Version 5 Manual" - http://pvwatts.nrel.gov/downloads/pvwattsv5.pdf - (2014). + .. [1] A. P. Dobos, "PVWatts Version 5 Manual", NREL, Golden, CO, USA, + Technical Report NREL/TP-6A20-62641, 2014, :doi:`10.2172/1158421`. """ params = [soiling, shading, snow, mismatch, wiring, connections, lid,