pvlib 0.11.2__py3-none-any.whl → 0.12.1a1__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (147) hide show
  1. pvlib/__init__.py +1 -0
  2. pvlib/atmosphere.py +40 -40
  3. pvlib/bifacial/infinite_sheds.py +4 -3
  4. pvlib/bifacial/utils.py +2 -1
  5. pvlib/iotools/__init__.py +6 -0
  6. pvlib/iotools/psm3.py +1 -1
  7. pvlib/iotools/psm4.py +819 -0
  8. pvlib/iotools/pvgis.py +10 -2
  9. pvlib/iotools/tmy.py +3 -69
  10. pvlib/irradiance.py +38 -15
  11. pvlib/ivtools/sdm/__init__.py +20 -0
  12. pvlib/ivtools/sdm/_fit_desoto_pvsyst_sandia.py +585 -0
  13. pvlib/ivtools/sdm/cec.py +93 -0
  14. pvlib/ivtools/sdm/desoto.py +401 -0
  15. pvlib/ivtools/sdm/pvsyst.py +630 -0
  16. pvlib/location.py +73 -33
  17. pvlib/modelchain.py +19 -36
  18. pvlib/pvsystem.py +114 -65
  19. pvlib/snow.py +64 -28
  20. pvlib/spectrum/__init__.py +0 -1
  21. pvlib/spectrum/irradiance.py +2 -64
  22. pvlib/spectrum/mismatch.py +3 -3
  23. pvlib/tools.py +6 -5
  24. {pvlib-0.11.2.dist-info → pvlib-0.12.1a1.dist-info}/METADATA +6 -5
  25. pvlib-0.12.1a1.dist-info/RECORD +80 -0
  26. {pvlib-0.11.2.dist-info → pvlib-0.12.1a1.dist-info}/WHEEL +1 -1
  27. pvlib/data/BIRD_08_16_2012.csv +0 -8761
  28. pvlib/data/BIRD_08_16_2012_patm.csv +0 -8761
  29. pvlib/data/Burlington, United States SolarAnywhere Time Series 2021 Lat_44_465 Lon_-73_205 TMY3 format.csv +0 -8762
  30. pvlib/data/Burlington, United States SolarAnywhere Time Series 20210101 to 20210103 Lat_44_4675 Lon_-73_2075 SA format.csv +0 -578
  31. pvlib/data/Burlington, United States SolarAnywhere Typical GHI Year Lat_44_465 Lon_-73_205 SA format.csv +0 -74
  32. pvlib/data/CPS SCH275KTL-DO-US-800-250kW_275kVA_1.OND +0 -146
  33. pvlib/data/CRNS0101-05-2019-AZ_Tucson_11_W.txt +0 -4
  34. pvlib/data/CRN_with_problems.txt +0 -3
  35. pvlib/data/ET-M772BH550GL.PAN +0 -75
  36. pvlib/data/NLD_Amsterdam062400_IWEC.epw +0 -8768
  37. pvlib/data/PVsyst_demo.csv +0 -10757
  38. pvlib/data/PVsyst_demo_model.csv +0 -3588
  39. pvlib/data/SRML-day-EUPO1801.txt +0 -1441
  40. pvlib/data/abq19056.dat +0 -6
  41. pvlib/data/bishop88_numerical_precision.csv +0 -101
  42. pvlib/data/bsrn-lr0100-pay0616.dat +0 -86901
  43. pvlib/data/bsrn-pay0616.dat.gz +0 -0
  44. pvlib/data/cams_mcclear_1min_verbose.csv +0 -60
  45. pvlib/data/cams_mcclear_monthly.csv +0 -42
  46. pvlib/data/cams_radiation_1min_verbose.csv +0 -72
  47. pvlib/data/cams_radiation_monthly.csv +0 -47
  48. pvlib/data/detect_clearsky_data.csv +0 -35
  49. pvlib/data/detect_clearsky_threshold_data.csv +0 -126
  50. pvlib/data/greensboro_kimber_soil_manwash.dat +0 -8761
  51. pvlib/data/greensboro_kimber_soil_nowash.dat +0 -8761
  52. pvlib/data/inverter_fit_snl_meas.csv +0 -127
  53. pvlib/data/inverter_fit_snl_sim.csv +0 -19
  54. pvlib/data/ivtools_numdiff.csv +0 -52
  55. pvlib/data/midc_20181014.txt +0 -1441
  56. pvlib/data/midc_raw_20181018.txt +0 -1441
  57. pvlib/data/midc_raw_short_header_20191115.txt +0 -1441
  58. pvlib/data/msn19056.dat +0 -6
  59. pvlib/data/precise_iv_curves1.json +0 -10251
  60. pvlib/data/precise_iv_curves2.json +0 -10251
  61. pvlib/data/precise_iv_curves_parameter_sets1.csv +0 -33
  62. pvlib/data/precise_iv_curves_parameter_sets2.csv +0 -33
  63. pvlib/data/pvgis_hourly_Timeseries_45.000_8.000_SA2_10kWp_CIS_5_2a_2013_2014.json +0 -1
  64. pvlib/data/pvgis_hourly_Timeseries_45.000_8.000_SA_30deg_0deg_2016_2016.csv +0 -35
  65. pvlib/data/pvgis_tmy_meta.json +0 -32
  66. pvlib/data/pvgis_tmy_test.csv +0 -8761
  67. pvlib/data/pvwatts_8760_rackmount.csv +0 -8779
  68. pvlib/data/pvwatts_8760_roofmount.csv +0 -8779
  69. pvlib/data/singleaxis_tracker_wslope.csv +0 -8761
  70. pvlib/data/spectrl2_example_spectra.csv +0 -123
  71. pvlib/data/surfrad-slv16001.dat +0 -1442
  72. pvlib/data/test_psm3_2017.csv +0 -17521
  73. pvlib/data/test_psm3_2019_5min.csv +0 -289
  74. pvlib/data/test_psm3_tmy-2017.csv +0 -8761
  75. pvlib/data/test_read_psm3.csv +0 -17523
  76. pvlib/data/test_read_pvgis_horizon.csv +0 -49
  77. pvlib/data/tmy_45.000_8.000_2005_2023.csv +0 -8789
  78. pvlib/data/tmy_45.000_8.000_2005_2023.epw +0 -8768
  79. pvlib/data/tmy_45.000_8.000_2005_2023.json +0 -1
  80. pvlib/data/tmy_45.000_8.000_2005_2023.txt +0 -8761
  81. pvlib/data/tmy_45.000_8.000_userhorizon.json +0 -1
  82. pvlib/ivtools/sdm.py +0 -1379
  83. pvlib/spa_c_files/README.md +0 -81
  84. pvlib/spa_c_files/cspa_py.pxd +0 -43
  85. pvlib/spa_c_files/spa_py.pyx +0 -30
  86. pvlib/tests/__init__.py +0 -0
  87. pvlib/tests/bifacial/__init__.py +0 -0
  88. pvlib/tests/bifacial/test_infinite_sheds.py +0 -317
  89. pvlib/tests/bifacial/test_losses_models.py +0 -54
  90. pvlib/tests/bifacial/test_pvfactors.py +0 -82
  91. pvlib/tests/bifacial/test_utils.py +0 -192
  92. pvlib/tests/conftest.py +0 -476
  93. pvlib/tests/iotools/__init__.py +0 -0
  94. pvlib/tests/iotools/test_acis.py +0 -213
  95. pvlib/tests/iotools/test_bsrn.py +0 -131
  96. pvlib/tests/iotools/test_crn.py +0 -95
  97. pvlib/tests/iotools/test_epw.py +0 -23
  98. pvlib/tests/iotools/test_midc.py +0 -89
  99. pvlib/tests/iotools/test_panond.py +0 -32
  100. pvlib/tests/iotools/test_psm3.py +0 -198
  101. pvlib/tests/iotools/test_pvgis.py +0 -644
  102. pvlib/tests/iotools/test_sodapro.py +0 -298
  103. pvlib/tests/iotools/test_solaranywhere.py +0 -287
  104. pvlib/tests/iotools/test_solargis.py +0 -68
  105. pvlib/tests/iotools/test_solcast.py +0 -324
  106. pvlib/tests/iotools/test_solrad.py +0 -152
  107. pvlib/tests/iotools/test_srml.py +0 -124
  108. pvlib/tests/iotools/test_surfrad.py +0 -75
  109. pvlib/tests/iotools/test_tmy.py +0 -133
  110. pvlib/tests/ivtools/__init__.py +0 -0
  111. pvlib/tests/ivtools/test_sde.py +0 -230
  112. pvlib/tests/ivtools/test_sdm.py +0 -429
  113. pvlib/tests/ivtools/test_utils.py +0 -173
  114. pvlib/tests/spectrum/__init__.py +0 -0
  115. pvlib/tests/spectrum/conftest.py +0 -40
  116. pvlib/tests/spectrum/test_irradiance.py +0 -138
  117. pvlib/tests/spectrum/test_mismatch.py +0 -304
  118. pvlib/tests/spectrum/test_response.py +0 -124
  119. pvlib/tests/spectrum/test_spectrl2.py +0 -72
  120. pvlib/tests/test__deprecation.py +0 -97
  121. pvlib/tests/test_albedo.py +0 -84
  122. pvlib/tests/test_atmosphere.py +0 -351
  123. pvlib/tests/test_clearsky.py +0 -884
  124. pvlib/tests/test_conftest.py +0 -37
  125. pvlib/tests/test_iam.py +0 -555
  126. pvlib/tests/test_inverter.py +0 -213
  127. pvlib/tests/test_irradiance.py +0 -1487
  128. pvlib/tests/test_location.py +0 -356
  129. pvlib/tests/test_modelchain.py +0 -2020
  130. pvlib/tests/test_numerical_precision.py +0 -124
  131. pvlib/tests/test_pvarray.py +0 -71
  132. pvlib/tests/test_pvsystem.py +0 -2511
  133. pvlib/tests/test_scaling.py +0 -207
  134. pvlib/tests/test_shading.py +0 -391
  135. pvlib/tests/test_singlediode.py +0 -608
  136. pvlib/tests/test_snow.py +0 -212
  137. pvlib/tests/test_soiling.py +0 -230
  138. pvlib/tests/test_solarposition.py +0 -966
  139. pvlib/tests/test_spa.py +0 -454
  140. pvlib/tests/test_temperature.py +0 -470
  141. pvlib/tests/test_tools.py +0 -146
  142. pvlib/tests/test_tracking.py +0 -474
  143. pvlib/tests/test_transformer.py +0 -60
  144. pvlib-0.11.2.dist-info/RECORD +0 -191
  145. {pvlib-0.11.2.dist-info → pvlib-0.12.1a1.dist-info/licenses}/AUTHORS.md +0 -0
  146. {pvlib-0.11.2.dist-info → pvlib-0.12.1a1.dist-info/licenses}/LICENSE +0 -0
  147. {pvlib-0.11.2.dist-info → pvlib-0.12.1a1.dist-info}/top_level.txt +0 -0
@@ -1,33 +0,0 @@
1
- Index,photocurrent,saturation_current,resistance_series,resistance_shunt,n,cells_in_series
2
- 1,1.0,5e-10,0.1,300,1.01,72
3
- 2,1.0,5e-10,0.1,300,1.3,72
4
- 3,1.0,5e-10,0.1,3000,1.01,72
5
- 4,1.0,5e-10,0.1,3000,1.3,72
6
- 5,1.0,5e-10,1.0,300,1.01,72
7
- 6,1.0,5e-10,1.0,300,1.3,72
8
- 7,1.0,5e-10,1.0,3000,1.01,72
9
- 8,1.0,5e-10,1.0,3000,1.3,72
10
- 9,1.0,3e-08,0.1,300,1.01,72
11
- 10,1.0,3e-08,0.1,300,1.3,72
12
- 11,1.0,3e-08,0.1,3000,1.01,72
13
- 12,1.0,3e-08,0.1,3000,1.3,72
14
- 13,1.0,3e-08,1.0,300,1.01,72
15
- 14,1.0,3e-08,1.0,300,1.3,72
16
- 15,1.0,3e-08,1.0,3000,1.01,72
17
- 16,1.0,3e-08,1.0,3000,1.3,72
18
- 17,8.0,5e-10,0.1,300,1.01,72
19
- 18,8.0,5e-10,0.1,300,1.3,72
20
- 19,8.0,5e-10,0.1,3000,1.01,72
21
- 20,8.0,5e-10,0.1,3000,1.3,72
22
- 21,8.0,5e-10,1.0,300,1.01,72
23
- 22,8.0,5e-10,1.0,300,1.3,72
24
- 23,8.0,5e-10,1.0,3000,1.01,72
25
- 24,8.0,5e-10,1.0,3000,1.3,72
26
- 25,8.0,3e-08,0.1,300,1.01,72
27
- 26,8.0,3e-08,0.1,300,1.3,72
28
- 27,8.0,3e-08,0.1,3000,1.01,72
29
- 28,8.0,3e-08,0.1,3000,1.3,72
30
- 29,8.0,3e-08,1.0,300,1.01,72
31
- 30,8.0,3e-08,1.0,300,1.3,72
32
- 31,8.0,3e-08,1.0,3000,1.01,72
33
- 32,8.0,3e-08,1.0,3000,1.3,72
@@ -1,33 +0,0 @@
1
- Index,photocurrent,saturation_current,resistance_series,resistance_shunt,n,cells_in_series
2
- 1,0.5,1e-09,0.1,300,1.3,140
3
- 2,0.5,1e-09,0.1,300,1.5,140
4
- 3,0.5,1e-09,0.1,3000,1.3,140
5
- 4,0.5,1e-09,0.1,3000,1.5,140
6
- 5,0.5,1e-09,1.0,300,1.3,140
7
- 6,0.5,1e-09,1.0,300,1.5,140
8
- 7,0.5,1e-09,1.0,3000,1.3,140
9
- 8,0.5,1e-09,1.0,3000,1.5,140
10
- 9,0.5,1e-08,0.1,300,1.3,140
11
- 10,0.5,1e-08,0.1,300,1.5,140
12
- 11,0.5,1e-08,0.1,3000,1.3,140
13
- 12,0.5,1e-08,0.1,3000,1.5,140
14
- 13,0.5,1e-08,1.0,300,1.3,140
15
- 14,0.5,1e-08,1.0,300,1.5,140
16
- 15,0.5,1e-08,1.0,3000,1.3,140
17
- 16,0.5,1e-08,1.0,3000,1.5,140
18
- 17,2.5,1e-09,0.1,300,1.3,140
19
- 18,2.5,1e-09,0.1,300,1.5,140
20
- 19,2.5,1e-09,0.1,3000,1.3,140
21
- 20,2.5,1e-09,0.1,3000,1.5,140
22
- 21,2.5,1e-09,1.0,300,1.3,140
23
- 22,2.5,1e-09,1.0,300,1.5,140
24
- 23,2.5,1e-09,1.0,3000,1.3,140
25
- 24,2.5,1e-09,1.0,3000,1.5,140
26
- 25,2.5,1e-08,0.1,300,1.3,140
27
- 26,2.5,1e-08,0.1,300,1.5,140
28
- 27,2.5,1e-08,0.1,3000,1.3,140
29
- 28,2.5,1e-08,0.1,3000,1.5,140
30
- 29,2.5,1e-08,1.0,300,1.3,140
31
- 30,2.5,1e-08,1.0,300,1.5,140
32
- 31,2.5,1e-08,1.0,3000,1.3,140
33
- 32,2.5,1e-08,1.0,3000,1.5,140
@@ -1 +0,0 @@
1
- {"inputs": {"location": {"latitude": 45.0, "longitude": 8.0, "elevation": 250.0}, "meteo_data": {"radiation_db": "PVGIS-SARAH2", "meteo_db": "ERA-Interim", "year_min": 2013, "year_max": 2014, "use_horizon": true, "horizon_db": null, "horizon_data": "DEM-calculated"}, "mounting_system": {"two_axis": {"slope": {"value": "-", "optimal": "-"}, "azimuth": {"value": "-", "optimal": "-"}}}, "pv_module": {"technology": "CIS", "peak_power": 10.0, "system_loss": 5.0}}, "outputs": {"hourly": [{"time": "20130101:0010", "P": 0.0, "G(i)": 0.0, "H_sun": 0.0, "T2m": -0.97, "WS10m": 1.52, "Int": 0.0}, {"time": "20130101:0110", "P": 0.0, "G(i)": 0.0, "H_sun": 0.0, "T2m": -1.06, "WS10m": 1.45, "Int": 0.0}, {"time": "20130101:0210", "P": 0.0, "G(i)": 0.0, "H_sun": 0.0, "T2m": -1.03, "WS10m": 1.45, "Int": 0.0}, {"time": "20130101:0310", "P": 0.0, "G(i)": 0.0, "H_sun": 0.0, "T2m": -0.48, "WS10m": 1.31, "Int": 0.0}, {"time": "20130101:0410", "P": 0.0, "G(i)": 0.0, "H_sun": 0.0, "T2m": -0.09, "WS10m": 1.24, "Int": 0.0}, {"time": "20130101:0510", "P": 0.0, "G(i)": 0.0, "H_sun": 0.0, "T2m": -0.38, "WS10m": 1.17, "Int": 0.0}, {"time": "20130101:0610", "P": 0.0, "G(i)": 0.0, "H_sun": 0.0, "T2m": 0.29, "WS10m": 1.03, "Int": 0.0}, {"time": "20130101:0710", "P": 0.0, "G(i)": 0.0, "H_sun": 0.0, "T2m": 1.0, "WS10m": 0.62, "Int": 0.0}, {"time": "20130101:0810", "P": 1187.2, "G(i)": 129.59, "H_sun": 8.06, "T2m": 0.97, "WS10m": 0.97, "Int": 0.0}, {"time": "20130101:0910", "P": 3950.1, "G(i)": 423.28, "H_sun": 14.8, "T2m": 1.89, "WS10m": 0.69, "Int": 0.0}]}, "meta": {"inputs": {"location": {"description": "Selected location", "variables": {"latitude": {"description": "Latitude", "units": "decimal degree"}, "longitude": {"description": "Longitude", "units": "decimal degree"}, "elevation": {"description": "Elevation", "units": "m"}}}, "meteo_data": {"description": "Sources of meteorological data", "variables": {"radiation_db": {"description": "Solar radiation database"}, "meteo_db": {"description": "Database used for meteorological variables other than solar radiation"}, "year_min": {"description": "First year of the calculations"}, "year_max": {"description": "Last year of the calculations"}, "use_horizon": {"description": "Include horizon shadows"}, "horizon_db": {"description": "Source of horizon data"}}}, "mounting_system": {"description": "Mounting system", "choices": "fixed, vertical_axis, inclined_axis, two_axis", "fields": {"slope": {"description": "Inclination angle from the horizontal plane", "units": "degree"}, "azimuth": {"description": "Orientation (azimuth) angle of the (fixed) PV system (0 = S, 90 = W, -90 = E)", "units": "degree"}}}, "pv_module": {"description": "PV module parameters", "variables": {"technology": {"description": "PV technology"}, "peak_power": {"description": "Nominal (peak) power of the PV module", "units": "kW"}, "system_loss": {"description": "Sum of system losses", "units": "%"}}}}, "outputs": {"hourly": {"type": "time series", "timestamp": "hourly averages", "variables": {"P": {"description": "PV system power", "units": "W"}, "G(i)": {"description": "Global irradiance on the inclined plane (plane of the array)", "units": "W/m2"}, "H_sun": {"description": "Sun height", "units": "degree"}, "T2m": {"description": "2-m air temperature", "units": "degree Celsius"}, "WS10m": {"description": "10-m total wind speed", "units": "m/s"}, "Int": {"description": "1 means solar radiation values are reconstructed"}}}}}}
@@ -1,35 +0,0 @@
1
- Latitude (decimal degrees): 45.000
2
- Longitude (decimal degrees): 8.000
3
- Elevation (m): 250
4
- Radiation database: PVGIS-SARAH
5
-
6
-
7
- Slope: 30 deg.
8
- Azimuth: 0 deg.
9
- time,Gb(i),Gd(i),Gr(i),H_sun,T2m,WS10m,Int
10
- 20160101:0010,0.0,0.0,0.0,0.0,3.44,1.43,0.0
11
- 20160101:0110,0.0,0.0,0.0,0.0,2.94,1.47,0.0
12
- 20160101:0210,0.0,0.0,0.0,0.0,2.43,1.51,0.0
13
- 20160101:0310,0.0,0.0,0.0,0.0,1.93,1.54,0.0
14
- 20160101:0410,0.0,0.0,0.0,0.0,2.03,1.62,0.0
15
- 20160101:0510,0.0,0.0,0.0,0.0,2.14,1.69,0.0
16
- 20160101:0610,0.0,0.0,0.0,0.0,2.25,1.77,0.0
17
- 20160101:0710,0.0,0.0,0.0,0.0,3.06,1.49,0.0
18
- 20160101:0810,26.71,8.28,0.21,8.06,3.87,1.22,1.0
19
- 20160101:0910,14.69,5.76,0.16,14.8,4.67,0.95,1.0
20
- 20160101:1010,2.19,0.94,0.03,19.54,5.73,0.77,1.0
21
- 20160101:1110,2.11,0.94,0.03,21.82,6.79,0.58,1.0
22
- 20160101:1210,4.25,1.88,0.05,21.41,7.84,0.4,1.0
23
- 20160101:1310,0.0,0.0,0.0,0.0,7.43,0.72,0.0
24
-
25
- Gb(i): Beam (direct) irradiance on the inclined plane (plane of the array) (W/m2)
26
- Gd(i): Diffuse irradiance on the inclined plane (plane of the array) (W/m2)
27
- Gr(i): Reflected irradiance on the inclined plane (plane of the array) (W/m2)
28
- H_sun: Sun height (degree)
29
- T2m: 2-m air temperature (degree Celsius)
30
- WS10m: 10-m total wind speed (m/s)
31
- Int: 1 means solar radiation values are reconstructed
32
-
33
-
34
-
35
- PVGIS (c) European Union, 2001-2021
@@ -1,32 +0,0 @@
1
- {"inputs": {"location": {"description": "Selected location",
2
- "variables": {"latitude": {"description": "Latitude",
3
- "units": "decimal degree"},
4
- "longitude": {"description": "Longitude", "units": "decimal degree"},
5
- "elevation": {"description": "Elevation", "units": "m"}}},
6
- "meteo_data": {"description": "Sources of meteorological data",
7
- "variables": {"radiation_db": {"description": "Solar radiation database"},
8
- "meteo_db": {"description": "Database used for meteorological variables other than solar radiation"},
9
- "year_min": {"description": "First year of the calculations"},
10
- "year_max": {"description": "Last year of the calculations"},
11
- "use_horizon": {"description": "Include horizon shadows"},
12
- "horizon_db": {"description": "Source of horizon data"}}}},
13
- "outputs": {"months_selected": {"type": "time series",
14
- "timestamp": "monthly",
15
- "description": "months selected for the TMY"},
16
- "tmy_hourly": {"type": "time series",
17
- "timestamp": "hourly",
18
- "variables": {"T2m": {"description": "2-m air temperature",
19
- "units": "degree Celsius"},
20
- "RH": {"description": "relative humidity", "units": "%"},
21
- "G(h)": {"description": "Global irradiance on the horizontal plane",
22
- "units": "W/m2"},
23
- "Gb(n)": {"description": "Beam/direct irradiance on a plane always normal to sun rays",
24
- "units": "W/m2"},
25
- "Gd(h)": {"description": "Diffuse irradiance on the horizontal plane",
26
- "units": "W/m2"},
27
- "IR(h)": {"description": "Surface infrared (thermal) irradiance on a horizontal plane",
28
- "units": "W/m2"},
29
- "WS10m": {"description": "10-m total wind speed", "units": "m/s"},
30
- "WD10m": {"description": "10-m wind direction (0 = N, 90 = E)",
31
- "units": "degree"},
32
- "SP": {"description": "Surface (air) pressure", "units": "Pa"}}}}}