@@ -2871,46 +2871,49 @@ def pvwatts_losses(soiling=2, shading=3, snow=0, mismatch=2, wiring=2,
28712871def dc_ohms_from_percent (vmp_ref , imp_ref , dc_ohmic_percent ,
28722872 modules_per_string = 1 ,
28732873 strings = 1 ):
2874- """
2875- Calculates the equivalent resistance of the wires from a percent
2876- ohmic loss at STC.
2877-
2878- Equivalent resistance is calculated with the function:
2879-
2880- .. math::
2881- Rw = (L_{stc} / 100) * (Varray / Iarray)
2882-
2883- :math:`Rw` is the equivalent resistance in ohms
2884- :math:`Varray` is the Vmp of the modules times modules per string
2885- :math:`Iarray` is the Imp of the modules times strings per array
2886- :math:`L_{stc}` is the input dc loss percent
2874+ r"""
2875+ Calculate the equivalent resistance of the conductors from the percent
2876+ ohmic loss of an array at reference conditions.
28872877
28882878 Parameters
28892879 ----------
28902880 vmp_ref: numeric
2891- Voltage at maximum power in reference conditions [V]
2881+ Maximum power voltage of one module at reference conditions. [V]
28922882 imp_ref: numeric
2893- Current at maximum power in reference conditions [V]
2894- dc_ohmic_percent: numeric, default 0
2895- input dc loss as a percent, e.g. 1.5% loss is input as 1.5
2883+ Maximum power current of one module at reference conditions. [A]
2884+ dc_ohmic_percent: numeric
2885+ Array DC power loss as a percent of DC power loss at reference
2886+ conditions. In percent, e.g. 1.5% loss is input as 1.5.
28962887 modules_per_string: int, default 1
2897- Number of modules per string in the array.
2888+ Number of series-connected modules per string in the array.
28982889 strings: int, default 1
28992890 Number of parallel strings in the array.
29002891
29012892 Returns
29022893 ----------
29032894 Rw: numeric
2904- Equivalent resistance [ohm]
2895+ Equivalent resistance. [ohm]
29052896
29062897 See Also
29072898 --------
29082899 pvlib.pvsystem.dc_ohmic_losses
29092900
2910- References
2911- ----------
2912- .. [1] PVsyst 7 Help. "Array ohmic wiring loss".
2913- https://www.pvsyst.com/help/ohmic_loss.htm
2901+ Notes
2902+ -----
2903+ Equivalent resistance is calculated as:
2904+
2905+ .. math::
2906+
2907+ R_w = \left(\frac{L_{stc}}{100}\right) \times \left(\frac{
2908+ V_{array}}{I_{array}}\right)
2909+
2910+ :math:`R_w` is the equivalent resistance in ohms.
2911+ :math:`V_{array}` is the array voltage, equal to ``vmp_ref`` times
2912+ ``modules_per_string``.
2913+ :math:`I_{array}` is the array current, equal to ``imp_ref`` times
2914+ ``strings``.
2915+ :math:`L_{stc}` is the input DC loss percent at reference conditions.
2916+
29142917 """
29152918 vmp = modules_per_string * vmp_ref
29162919
@@ -2922,30 +2925,37 @@ def dc_ohms_from_percent(vmp_ref, imp_ref, dc_ohmic_percent,
29222925
29232926
29242927def dc_ohmic_losses (resistance , current ):
2925- """
2928+ r """
29262929 Returns ohmic losses in units of power from the equivalent
29272930 resistance of the wires and the operating current.
29282931
29292932 Parameters
29302933 ----------
29312934 resistance: numeric
2932- Equivalent resistance of wires [ohm]
2935+ Equivalent resistance of wires. [ohm]
29332936 current: numeric, float or array-like
2934- Operating current [A]
2937+ Operating current. [A]
29352938
29362939 Returns
29372940 ----------
29382941 loss: numeric
2939- Power Loss [W]
2942+ Power loss. [W]
29402943
29412944 See Also
29422945 --------
29432946 pvlib.pvsystem.dc_ohms_from_percent
29442947
2945- References
2946- ----------
2947- .. [1] PVsyst 7 Help. "Array ohmic wiring loss".
2948- https://www.pvsyst.com/help/ohmic_loss.htm
2948+ Notes
2949+ -----
2950+ Ohmic (also termed joule or heat) loss is the power lost due to current
2951+ flowing through a conductor. Ohmic loss, :math:`L`, is computed as
2952+
2953+ .. math::
2954+
2955+ L = I \times R^2
2956+
2957+ where :math:`I` is the current (A) and :math:`R` is the resistance of the
2958+ conductor (ohms).
29492959 """
29502960 return resistance * current * current
29512961
0 commit comments