From 6df2c8b5bc4579fd7357d248d2186754e9994890 Mon Sep 17 00:00:00 2001 From: Cliff Hansen Date: Mon, 30 Sep 2024 10:38:54 -0700 Subject: [PATCH] fix typos --- docs/sphinx/source/whatsnew/v0.11.2.rst | 2 +- pvlib/pvsystem.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/sphinx/source/whatsnew/v0.11.2.rst b/docs/sphinx/source/whatsnew/v0.11.2.rst index 9d7129d50d..918dcc18d1 100644 --- a/docs/sphinx/source/whatsnew/v0.11.2.rst +++ b/docs/sphinx/source/whatsnew/v0.11.2.rst @@ -15,7 +15,7 @@ Enhancements Documentation ~~~~~~~~~~~~~ * Edited docstrings for :py:func:`~pvlib.pvsystem.dc_ohms_from_percent` and - :py:func:`~pvlib.pvsystem.dc_ohmic_loss` for clarity. (:issue:`1601`, :pull:`2229`) + :py:func:`~pvlib.pvsystem.dc_ohmic_losses` for clarity. (:issue:`1601`, :pull:`2229`) Testing diff --git a/pvlib/pvsystem.py b/pvlib/pvsystem.py index 57752dff7e..02a1ac0664 100644 --- a/pvlib/pvsystem.py +++ b/pvlib/pvsystem.py @@ -2952,7 +2952,7 @@ def dc_ohmic_losses(resistance, current): .. math:: - L = I \times R^2 + L = I^2 \times R where :math:`I` is the current (A) and :math:`R` is the resistance of the conductor (ohms).