@@ -2871,46 +2871,49 @@ def pvwatts_losses(soiling=2, shading=3, snow=0, mismatch=2, wiring=2,
2871
2871
def dc_ohms_from_percent (vmp_ref , imp_ref , dc_ohmic_percent ,
2872
2872
modules_per_string = 1 ,
2873
2873
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.
2887
2877
2888
2878
Parameters
2889
2879
----------
2890
2880
vmp_ref: numeric
2891
- Voltage at maximum power in reference conditions [V]
2881
+ Maximum power voltage of one module at reference conditions. [V]
2892
2882
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.
2896
2887
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.
2898
2889
strings: int, default 1
2899
2890
Number of parallel strings in the array.
2900
2891
2901
2892
Returns
2902
2893
----------
2903
2894
Rw: numeric
2904
- Equivalent resistance [ohm]
2895
+ Equivalent resistance. [ohm]
2905
2896
2906
2897
See Also
2907
2898
--------
2908
2899
pvlib.pvsystem.dc_ohmic_losses
2909
2900
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
+
2914
2917
"""
2915
2918
vmp = modules_per_string * vmp_ref
2916
2919
@@ -2922,30 +2925,37 @@ def dc_ohms_from_percent(vmp_ref, imp_ref, dc_ohmic_percent,
2922
2925
2923
2926
2924
2927
def dc_ohmic_losses (resistance , current ):
2925
- """
2928
+ r """
2926
2929
Returns ohmic losses in units of power from the equivalent
2927
2930
resistance of the wires and the operating current.
2928
2931
2929
2932
Parameters
2930
2933
----------
2931
2934
resistance: numeric
2932
- Equivalent resistance of wires [ohm]
2935
+ Equivalent resistance of wires. [ohm]
2933
2936
current: numeric, float or array-like
2934
- Operating current [A]
2937
+ Operating current. [A]
2935
2938
2936
2939
Returns
2937
2940
----------
2938
2941
loss: numeric
2939
- Power Loss [W]
2942
+ Power loss. [W]
2940
2943
2941
2944
See Also
2942
2945
--------
2943
2946
pvlib.pvsystem.dc_ohms_from_percent
2944
2947
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).
2949
2959
"""
2950
2960
return resistance * current * current
2951
2961
0 commit comments