3 files changed +83
-47
lines changed Original file line number Diff line number Diff line change @@ -131,6 +131,7 @@ def poa_irradiance_fixed(
131
131
tilt = None ,
132
132
azimuth = None ,
133
133
sky_model = "isotropic" ,
134
+ ** kwargs_irradiance ,
134
135
) -> pd .DataFrame :
135
136
"""
136
137
Calculate plane-of-array (POA) irradiance using pvlib based on weather data from the
@@ -164,7 +165,7 @@ def poa_irradiance_fixed(
164
165
try :
165
166
tilt = float (meta ["tilt" ])
166
167
except :
167
- tilt = float (meta ["latitude" ])
168
+ tilt = float (abs ( meta ["latitude" ]) )
168
169
print (
169
170
f"The array tilt angle was not provided, therefore the latitude tilt of { tilt :.1f} was used."
170
171
)
@@ -218,6 +219,7 @@ def poa_irradiance_tracker(
218
219
gcr = 0.2857142857142857 ,
219
220
cross_axis_tilt = 0 ,
220
221
sky_model = "isotropic" ,
222
+ ** kwargs_irradiance ,
221
223
) -> pd .DataFrame :
222
224
"""
223
225
Calculate plane-of-array (POA) irradiance using pvlib based on weather data from the
@@ -247,17 +249,15 @@ def poa_irradiance_tracker(
247
249
'poa_sky_diffuse', 'poa_ground_diffuse'. [W/m2]
248
250
"""
249
251
250
- if axis_azimuth is None : # Sets the default orientation to equator facing .
252
+ if axis_azimuth is None : # Sets the default orientation to north-south .
251
253
try :
252
- axis_azimuth = float (meta ["azimuth " ])
254
+ axis_azimuth = float (meta ["axis_azimuth " ])
253
255
except :
254
256
if float (meta ["latitude" ]) < 0 :
255
257
axis_azimuth = 0
256
258
else :
257
259
axis_azimuth = 180
258
- print (
259
- f"The array azimuth was not provided, therefore an azimuth of { axis_azimuth :.1f} was used."
260
- )
260
+ print (f"The array axis_azimuth was not provided, therefore an azimuth of { axis_azimuth :.1f} was used." )
261
261
262
262
if sol_position is None :
263
263
sol_position = solar_position (weather_df , meta )
Original file line number Diff line number Diff line change @@ -659,6 +659,7 @@ def x_eff_temperature_estimate(
659
659
conf_0 = "insulated_back_glass_polymer" ,
660
660
conf_inf = "open_rack_glass_polymer" ,
661
661
wind_factor = 0.33 ,
662
+ module_mount = None ,
662
663
tilt = None ,
663
664
azimuth = None ,
664
665
x_eff = None ,
@@ -734,6 +735,7 @@ def x_eff_temperature_estimate(
734
735
weather_df = weather_df ,
735
736
meta = meta ,
736
737
sol_position = solar_position ,
738
+ module_mount = module_mount ,
737
739
tilt = tilt ,
738
740
azimuth = azimuth ,
739
741
sky_model = sky_model ,
Load Diff Large diffs are not rendered by default.
0 commit comments