A simple thermal model of the planet’s surface

Author

Roland Van den Broek - Civil engineer

Published

September 2, 2024

1 Introduction

The Earth absorbs energy from the Sun. Energy accumulates beneath its surface. It releases energy into the cosmos through various heat transfer mechanisms that operate in parallel: conduction, evaporation, convection, and radiation. The contribution of each of these mechanisms to the total energy released is poorly understood. All that is known is that the hotter the Earth’s surface, the more energy is released.

It is worth remembering that the Sun is by far the Earth’s main source of energy. Solar radiation is considered to represent 99.97% of the Earth’s energy budget. See here and here.

2 Differential equation of the model

To calculate the energy balance of this diagram, simply note that the change in accumulated energy is equal to the energy absorbed minus the energy dissipated.

Let us consider any point on the Earth’s surface. Assume that at time t, the surface temperature is equal to T, and that it has the value T+dT at time t+dt.

Ignoring energy exchanges with neighboring regions, for a small surface area around this point, we can consider the change in accumulated energy to be proportional to the change in temperature dT. Let E_{abs} and E_{ev} be the energies absorbed and dissipated during the time interval dt, and we have:

(1)C dT=EabsEev

If Pabs is the absorbed power and Pev the evacuated power,

(2)Eabs=Pabs dtEev=Pev dt

becomes

(3)dTdt=1C(PabsPev)

Using Stockwell notation

(4)Pabs=SPev=F

We get

(5)dT(t)dt=1C(S(t)F(T))

If the Earth is subjected to constant radiation, a thermal equilibrium is eventually established. At this moment, the power evacuated is equal to the power absorbed, and the temperature remains constant:

(6)dT(t)dt=0S=F

Not much more can be learned from this equation. S(t) depends directly on the solar radiation at the top of the atmosphere, to which a poorly known coefficient must be applied to account for the passage through the atmosphere and reflection at the surface. The F(T) law is very poorly understood. It contains a T4 term corresponding to the power removed by thermal radiation, and one or more lower power terms for other modes of heat removal.

On the other hand, if we focus on perturbations relative to an equilibrium situation, we can learn a lot from them.

Let us therefore assume that at time t=0, T=T0, S=S0 and F=F0=S0. Let us linearize F(T) by a first-order Taylor expansion. If we set 1λ=F(T0) (7)F(T)=F0+TT0λ

Let us again set Ta=TT0 (the temperature anomaly with respect to T0), Sa=SS0 (the radiation anomaly with respect to S0) and noting that dTa=dT and that F0=S0 , is written

(8)dTa(t)dt=1C(Sa(t)Ta(t)λ)

Setting k=λC, the solution to this equation is given by
(9)Ta(t)=λk et/k0teu/k Sa(u) du

It is mathematically proven that this equation is convergent to an asymptotic solution when the coefficient k is positive.

3 Analytic Solutions

3.1 Step Function

If the system is at equilibrium at time t=0 at temperature T0 and Sa(t)=ΔS0 for all t>0 , then

(10)ΔT(t)=T(t)T0=λk et/k k ΔS0 (et/k1)=λ ΔS0 (1et/k)

The temperature variation evolves asymptotically towards the value λΔS0. See .

Warning: Detected the use of `TeX()`, but mathjax has not been specified. Try
running `config(.Last.value, mathjax = 'cdn')`
Fig. 1: with λ=ΔS0=1, for different values of k

3.2 General function

A general function Sa(t) can be discretized into several staircases. If we assume it to be constant in the intervals i,i+1, using , we obtain

(11)T(t)  T0 = λ i ΔSi (1  e(ti)/k) with ΔSi=Si+1Si=Sai+1Sai

If we approximate (1  et/k) by a linear-step function equal to t/τ for t between 0 and τ, and equal to 1 for t greater than τ (see ), can be greatly simplified. Indeed, the formula can then be written in finite difference form:

(12)T(t)T0=λ(T1+T2)T1 = i=0,1,...,tτΔSiT2 = i=0,1,...,τΔStτ+i τ  iτ

Noting

(13)S¯tτ t=the average of S between times t and tτS¯atτ t=the average of Sa between times t and tτ

By expanding the sums and grouping the terms, we easily obtain

(14)T1 = Stτ  S0T2 = S¯tτ t  Stτ

It comes finally

(15)T(t)  T0 = λ (S¯tτ t  S0)=λ S¯atτ t

Fig. 2: Example of approximation of an exponential function by a linear function at the start and constant thereafter.

3.3 Sinusoidal variation

Let us suppose that Sa(t) is a sinusoid of amplitude ΔSa and period per:

(16)Sa(t)=ΔSa sin(2πtper)

In this case the solution is given by

(17)ΔT(t)=T(t)T0=et/k A sin(ϕ)+A sin(ωtϕ)

In that last formula,

(18)ω=2πperϕ=atan(kω)A=11+(kω)2 λ ΔSa

The first term in is a transient term. It tends to 0 as t tends to infinity, and ΔT(t) tends to a sinusoid out of phase by an angle ϕ with respect to the solar radiation.

For slow oscillations, kω tends to zero, the amplitude of the temperature variation tends to λΔSa and ϕ tends to zero.

For fast oscillations, kω tends to infinity, the amplitude of the temperature variation tends to zero and ϕ tends to π/2.

See .

Warning: Detected the use of `TeX()`, but mathjax has not been specified. Try
running `config(.Last.value, mathjax = 'cdn')`
020406080100−1−0.500.51
k = 5 per = 1 phi = 88.18 A = 0.032k = 5 per = 2 phi = 86.36 A = 0.064k = 5 per = 10 phi = 72.34 A = 0.303k = 5 per = 100 phi = 17.44 A = 0.954t
Fig. 3: Temperature anomaly for a sinusoidal solar anomaly (, without the transient term), with λ=ΔSa=1, and k=5, for different values of the period per. On the abscissa, the time and on the ordinate the temperature anomaly, without particular units.
It should be noted that the amplitude of the temperature anomaly is very small when the period of the input signal is short. It is thermal inertia that is at work.

3.4 Out-of-phase sinusoidal variation

If ΔS(t) is out of phase by an angle α:

(19)ΔS(t)=ΔSa sin(2πtperα)

In this case the solution of becomes

(20)ΔT(t)=T(t)T0=et/k A sin(ϕ+α)+A sin(ωt(ϕ+α))

Les paramètres de cette formule sont également calculés selon l’.

3.5 Any periodic function

If Sa(t) is a periodic function, it can be decomposed into a Fourier series:

(21)Sa(t)=ΔS0+i=1..nΔSi sin(ωit+βi)

The term ΔS0 corresponds to the 0th harmonic of the decomposition and is equal to the average of Sa(t) over its period. The solution will be obtained by applying to it and to the other terms.

3.5.1 Example: incident solar radiation at the spring or autumn equinox

At temperate latitudes, within a scale factor, the radiation is very well modeled by a half sinusoid for the 12 hours following sunrise, and a zero value for the following 12 hours. The mean of this function is equal to 1/π. The anomaly of this radiation can be expressed as follows:

(22)Sa(t)=ΔS0 (sin(ωt)1/π)0<=t<=πω=ΔS0/ππω<=t<=2πω

For ΔS0=1 , the Fourier transform of this function has an analytical solution given by the following formula:

(23)fft(Sa(t))=12 sin(ωt)+2πn=2,4,6, ....1n21sin(nωtπ2)

It will be enough to apply the previous formulas to each term. See .

Warning: Detected the use of `TeX()`, but mathjax has not been specified. Try
running `config(.Last.value, mathjax = 'cdn')`
010203040−0.200.20.40.6
Ta k = 0.1Ta k = 0.2Ta k = 0.5Ta k = 1Ta k = 2Ta k = 5SaTheoretical temperature anomaly on an equinox day at a temperate latitudet
Fig. 4: It takes the theoretical solar radiation on an equinox day. This radiation is approximated by a half-sinusoid for 12 hours after sunrise, followed by a zero value during the night. It is represented by the curve Sa.
The temperature anomaly was calculated by applying the formulas of and to each term of . The calculations were carried out considering λ=1, for some values ​​of k. On the abscissa, the time expressed in hours since sunrise. On the ordinate, the solar radiation anomaly and the temperature anomalies (without particular units).

4 Analogies to the thermal model

4.1 Draining a container supplied with water

Consider a container of constant cross-section supplied with water through a faucet and equipped with a drain hole at its base. The water balance in the container is easy to establish.

Noting:

S The recipient sectiont
s The drain hole section
h The height of water above the drain hole
Din The feed rate
Dout The evacuated flow

On a:
(24)dhdt=1S(DinDout)

This is analogous to . Just consider that a volume of water is energy, a flow rate of water is power, and the height of water is temperature.

Using Torricelli’s formula, we easily find that

(25)Dout=s2gh

At equilibrium, for a constant feed rate, we obtain

(26)h=12g(Din/s)2

Finally, is written

(27)dhdt=1S(Dins2gh)

As before, this equation can be linearized with respect to an equilibrium situation. Suppose that at time t=0, h=h0, Din=Din0 and Dout=Dout0=s2gh0,Dout0=sg/2h0 .

Noting ha=hh0,Dina=DinDin0, it finally comes

(28)dhadt=1S(Dinahasg/2h0)

This will allow us to judge to what extent the linearization approximation deviates from the exact solution.

4.1.1 A concrete example for a sinusoidal power supply flow

4.1.1.1 Exact solution

was numerically integrated for a container with a cross-section S=100 cm2, equipped with a hole with a cross-section s=0.5 cm2 fed by a variable flow rate Din=D0(1+k sin(2πt/per)) with D0=3 l/min. The initial water height h0 was calculated by with Din=D0.

02550751004.755.005.255.505.75
Seriek=0.5, per=10k=0.5, per=5k=0.5, per=1Water heightTime [s]h [cm]
Fig. 5: Solution of by numerical integration for a concrete case, for k=0.5 and some values ​​of per. We can observe the convergence towards a sinusoid which oscillates around the average value of the input flow. The amplitude and the phase shift of the sinusoid are analogous to what we observe in

4.1.1.2 Approximate solution by linearization

0255075100-0.250.000.250.500.75
Seriek=0.5, per=10k=0.5, per=5k=0.5, per=1Water height anomalyt [s]ha [cm]
Fig. 6: Solution of by numerical integration for a concrete case, for k=0.5 and some values ​​of per. The differences with the are almost imperceptible.
02550751000.0000.0010.0020.0030.004
Seriek=0.5, per=10k=0.5, per=5k=0.5, per=1Approximation errorst [s]error [cm]
Fig. 7: Approximation errors by linearization are negligible.

4.1.2 Response to an impulse

Suppose the same container as before has reached equilibrium at a feed rate D0=3 l/min , and that for a brief period this flow rate is doubled.

Fig. 8: Exact solution of by numerical integration, for a doubling of the flow rate over 5 seconds, starting from an equilibrium situation. The level increases rapidly during the doubling before decreasing much more slowly towards the initial equilibrium.

A similar phenomenon is probably at work in the Dansgaard-Oeschger events during which we observe an increase in temperature of 5 to 8°C over a few decades followed by a cooling period extending over several hundred years.

4.2 Equation of motion of a flywheel

Indoor bikes are often equipped with a flywheel that dissipates the power produced by the cyclist through eddy currents. The differential equation for such a system subject to a motor torque and a resistive torque is easy to formulate based on the principle of conservation of energy.

Noting:

(29)θ=Angular position of the flywheelω=θ˙=Angular speed of the flywheelω˙=θ¨=Angular acceleration of the flywheelJ=Rotational inertia of the flywheelEv=Jω2/2=Kinetic energy of the flywheelCm=Driving torqueCr=Resistant torquePm=Cmω=Driving powerPr=Crω=Resistant powerEm=Pmdt=Energy injected into the flywheel during the interval dtEr=Prdt=Energy lost by the flywheel during the interval dt

The energy balance of the flywheel is written:

(30)dEv=EmErJωdω=PmdtPrdtJωω˙=CmωCrωω˙=θ¨=1J(CmCr)

This equation is equivalent to . It allows us to better understand the meaning that must be given to thermal inertia.

5 Determining model parameters based on observations

Several temperature series are available. They are global or local. Some series are published in grid form, covering all or part of the Earth’s surface. If the temperatures are absolute, it will be easy to derive an anomaly by difference with a mean.

Absorbed radiation is poorly understood. At some stations, incident radiation has been measured for many years, but not reflected radiation.

In the absence of local measurements of incident radiation, it will be necessary to rely on total solar irradiance (TSI). This has only been measured by satellite for a few decades, but historical reconstructions of the TSI exist that go back much further. When the calculation is performed at a specific point, it will be possible to convert the TSI to the theoretical local incident radiation using astronomical calculations. Specialized libraries are available that greatly facilitate these calculations.

, , and can be used in all cases, whether solar activity is periodic or not.

requires numerical integration, which can be quite cumbersome.

is not recommended because multiplying very small numbers by very large numbers will generally cause related numerical instabilities.

is fairly straightforward to use, but requires knowledge of the solar activity history over a sufficiently long period before the start of the temperature series.

For periodic solar activity (daily or seasonal), the simplest solution is to decompose the signal into a Fourier series.

In all cases, nonlinear multiple regression will be required to obtain the model parameters.