Hi Anton,
Looking into the code, the zero degree temperature values shown in the outputs for nighttime operation are not the values that are passed into the moving-average window. The cell temperature (steady-state) time series is what is looked at for the moving-average window, then the resulting output temperature from the transient model is stored in the cell temperature output time series. For nighttime operation, the steady-state value of the temperature is assumed to be the ambient temperature from the weather file because there is no irradiance. The value calculated from the transient thermal model is changed to zero in the outputs for nighttime operation to signify no electricity output, but the SAM team will revisit the reporting of that output in order to avoid confusion.
Thanks,
Matt Prilliman