Closed
Description
The Matlab project's sapm function signature is:
pvl_sapm(Module, Ee, celltemp)
while ours is
sapm(module, poa_direct, poa_diffuse, temp_cell, airmass_absolute, aoi)
The Matlab project has used that signature since at least version 1.1 (the oldest that I have). The Python signature started as
pvl_sapm(Module,Eb,Ediff,Tcell,AM,AOI)
in commit e74644b and I changed it to the current signature in 5f9bd7c. If I'm reading the original commit correctly (specifically line 101), I think the units of the irradiance should be W/m**2 despite the docstring's claim of suns.
So that's the current status and history, and I will leave it to you all to decide how you want to go forward.