Closed MDKempe closed 3 months ago
temperature models we want to include: if temp_model == "sapm":
Added a unified temperature function with pvlib temperature models. Live on dev_geospatial_scenario, complexity is a little higher than other pvlib functions to allow for its use during scenario analysis but this should be abstracted with its implementation into the scenario job pipeline.
All temperature.cell function calls I could find across pvdeg have been replaced with the new temperature function and docstrings updated. New functions in the package should utilize temperature.temperature rather than temperature.cell or temperature.mod to ensure compatibility with scenario analysis.
Currently the temperature.py method will only run the sapm model. It should be able to run all of them.