Weather
This page summarizes the air temperature model used by ACE Weather.
Simulation of Air Temperature
Section titled “Simulation of Air Temperature”The SinExp Model
Section titled “The SinExp Model”Air temperature is simulated with the corrected SinExp model from Ref. [1], using a sine function during daytime and an exponential decay at night. The temperature at hour for the model is given below:
where and are the daily minimum and maximum temperatures, is the temperature at sunset and is the next morning’s minimum. is sunrise hour, is sunset hour, is the hour of maximum temperature and is day length. denotes the hour of the next sunrise. is the decay coefficient (Weather manager’s m_fACE_SinExp_Gamma). The peak hour is interpolated from from the weather manager’s m_aACE_MonthlyAverageTemperatureAirMaxHours.
Minimum and Maximum Temperatures
Section titled “Minimum and Maximum Temperatures”The baseline minimum and maximum temperatures are interpolated between the terrain’s monthly averages (Weather manager’s m_aACE_MonthlyAverageDailyTemperatureAirMins and m_aACE_MonthlyAverageDailyTemperatureAirMaxs). Overcast and random variation adjust these values:
where and are the shifts that get added, is the estimated average overcast over the next 12 hours and is the temperature factor for overcast (Weather manager’s m_fACE_OvercastTemperatureFactor). Overcast generally decreases the diurnal temperature range (i.e difference between daily maximum and minimum). Additional random samples and shift the mean and diurnal temperature range respectively. Both use first-order autoregressive noise, so successive samples are correlated:
where is the autoregressive coefficient, is the innovation, is the standard deviation of the noise and denotes a normal distribution with mean and standard deviation . The sampled temperature extrema are clamped to maintain a minimum diurnal temperature range (Weather manager’s m_fACE_MinDiurnalTemperatureRange).
Lapse Rate (Altitude Dependence)
Section titled “Lapse Rate (Altitude Dependence)”The effective air temperature is calculated based on the altitude above sea level in meters:
where is the SinExp-based temperature.
References
Section titled “References”[1] T. Brandsma, G. P. Können, Int. J. Climatol. 2006, 26, 75–89.

