The ambient temperature, usually the outside temperature.
The solar radiation that hits the current panel.
A coefficient that varies depending on how the current panel is positioned.
Solar cell temperature
The calculation does not take into account wind speed or the efficiency of the solar cell which can also affect the temperature.