Commit f10ace8 1 parent 4127d82 commit f10ace8 Copy full SHA for f10ace8
File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -191,7 +191,7 @@ def slme(
191
191
solar_spectra_photon_flux = solar_spectra_irradiance * (solar_spectra_wavelength_meters / (h * c ))
192
192
193
193
# Calculation of total solar power incoming
194
- power_in = simpson (solar_spectra_irradiance , solar_spectra_wavelength )
194
+ power_in = simpson (solar_spectra_irradiance , x = solar_spectra_wavelength )
195
195
196
196
# calculation of blackbody irradiance spectra
197
197
# units of W/(m**3), different than solar_spectra_irradiance!!! (This
@@ -238,13 +238,13 @@ def slme(
238
238
* np .pi
239
239
* simpson (
240
240
blackbody_photon_flux * absorbed_by_wavelength ,
241
- solar_spectra_wavelength_meters ,
241
+ x = solar_spectra_wavelength_meters ,
242
242
)
243
243
)
244
244
245
245
J_0 = J_0_r / fr
246
246
247
- J_sc = e * simpson (solar_spectra_photon_flux * absorbed_by_wavelength , solar_spectra_wavelength )
247
+ J_sc = e * simpson (solar_spectra_photon_flux * absorbed_by_wavelength , x = solar_spectra_wavelength )
248
248
249
249
def J (V ):
250
250
return J_sc - J_0 * (np .exp (e * V / (k * temperature )) - 1.0 )
You can’t perform that action at this time.
0 commit comments