Skip to content

Commit 57755ac

Browse files
committed
Merge remote-tracking branch 'upstream/main' into spa-scalars
2 parents a26e83f + a2abe3e commit 57755ac

File tree

5 files changed

+10
-5
lines changed

5 files changed

+10
-5
lines changed

docs/examples/iv-modeling/plot_singlediode.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,8 @@
114114
# mark the MPP
115115
plt.plot([v_mp], [i_mp], ls='', marker='o', c='k')
116116

117+
plt.xlim(left=0)
118+
plt.ylim(bottom=0)
117119
plt.legend(loc=(1.0, 0))
118120
plt.xlabel('Module voltage [V]')
119121
plt.ylabel('Module current [A]')

docs/sphinx/source/whatsnew/v0.11.1.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,3 +73,6 @@ Contributors
7373
* Ben Pierce (:ghuser:`bgpierc`)
7474
* Jose Meza (:ghuser:`JoseMezaMendieta`)
7575
* Kevin Anderson (:ghuser:`kandersolar`)
76+
* Bernat Nicolau (:ghuser:`BernatNicolau`)
77+
* Eduardo Sarquis (:ghuser:`EduardoSarquis`)
78+

pvlib/irradiance.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -395,8 +395,8 @@ def get_sky_diffuse(surface_tilt, surface_azimuth,
395395
Raises
396396
------
397397
ValueError
398-
If model is one of ``'haydavies'``, ``'reindl'``, or ``'perez'`` and
399-
``dni_extra`` is not specified.
398+
If model is one of ``'haydavies'``, ``'reindl'``, ``'perez'``, or
399+
``'perez_driesse'`` and ``dni_extra`` is not specified.
400400
401401
Notes
402402
-----

pvlib/pvsystem.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -841,7 +841,7 @@ def scale_voltage_current_power(self, data):
841841
@_unwrap_single_value
842842
def pvwatts_dc(self, g_poa_effective, temp_cell):
843843
"""
844-
Calcuates DC power according to the PVWatts model using
844+
Calculates DC power according to the PVWatts model using
845845
:py:func:`pvlib.pvsystem.pvwatts_dc`, `self.module_parameters['pdc0']`,
846846
and `self.module_parameters['gamma_pdc']`.
847847
@@ -1550,7 +1550,7 @@ def calcparams_desoto(effective_irradiance, temp_cell,
15501550
Light-generated current in amperes
15511551
15521552
saturation_current : numeric
1553-
Diode saturation curent in amperes
1553+
Diode saturation current in amperes
15541554
15551555
resistance_series : numeric
15561556
Series resistance in ohms

pvlib/solarposition.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -715,11 +715,11 @@ def ephemeris(time, latitude, longitude, pressure=101325, temperature=12):
715715
716716
* apparent_elevation : apparent sun elevation accounting for
717717
atmospheric refraction.
718+
This is the complement of the apparent zenith angle.
718719
* elevation : actual elevation (not accounting for refraction)
719720
of the sun in decimal degrees, 0 = on horizon.
720721
The complement of the zenith angle.
721722
* azimuth : Azimuth of the sun in decimal degrees East of North.
722-
This is the complement of the apparent zenith angle.
723723
* apparent_zenith : apparent sun zenith accounting for atmospheric
724724
refraction.
725725
* zenith : Solar zenith angle

0 commit comments

Comments
 (0)