The solar model (energy source) is simply the positive half of a sine wave with a 50% duty cycle.
The Earth/Moon is modeled with a capacitor and a blackbody radiator.
This model shows the effect of rotation speed on the energy balance of an airless rock in space.
The Sun model contains 2 diodes
For the first attempts, the capacitor value was too large - 0.001F, once it obtained full charge there was no appreciable ripple. While this is great for a power supply design, it is a very poor model of the Earth. I simply lowered the value until I got significant ripple, but not enough for it to completely discharge.
A long term goal is to play with the capacitor value to try and match the actual Moon temperatures (which would also verify the model) and then to use that value for the Earth. The difference between the simulated Earth with that value and the actual Earth is, by definition, the greenhouse effect.
Greenhouse effect basics
To diverge a bit, the primary greenhouse effect is caused by convection. This is almost completely ignored by the Global Warming activists, but it is what keeps the surface temperature from reaching very high values. It limits the maximum surface temperature to about 160°F max. A bit slower to act is evaporation of water - this tends to limit the maximum surface temperature to around 90°F. When there isn't enough water, you tend to get values between these.
Without and atmosphere, the expected maximum temperature on an airless blackbody the same distance from the Sun and the Earth is about 394K (249°F). Albedo and convection reduce that to about 344K (160°F).
The peak temperature is also affected by the height of the Sun in the sky at noon and by the number of hours in the day. These both vary by latitude and season (which is why a future solar model will include them).
As this simple model shows, without an atmosphere the daily minimum temperature due to radiation alone would be well below freezing. This is where the Greenhouse gases return heat from the atmosphere to the surface limiting the minimum nighttime temperature (which the simulation shows actually occurs just after dawn). A simple grey body model (which ignores the atmosphere's absorption spectrum) will help to show how that works.
This other major player in the minimum morning temperature is condensation - dew, fog, and frost. When present, these set the bottom clear sky limit.
Obviously, there is a lot more to it than this - clouds, rain, wind, fronts ..., but these are the basics.
To be clear, most of the charts I've seen show an annual average of the radiation balance. The purpose of these simulations is to investigate the daily and seasonal dynamics. In an annual average, convection and evaporation look pretty trivial, but when presented in these models their significance becomes pretty obvious.
|Simulation of a short day - 1,000 Hz sine wave
|Simulation of a long day - 30 Hz sine wave
|Use the mouse wheel to zoom the images,
double click to restore the original size
|Key for both images
|Location on schematic
|Voltage on the capacitor
|Temperature of the surface
|Current into the capacitor
|Positive warms the surface, negative cools it
|Current thru diode D1
|Radiation from the Sun at the surface - zero at night
|Minus the current out of the Stephan equation block
|Radiation from the surface
Be sure to read the voltage (green curve) off the left axis where each volt is one degree kelvin. As an example, 300V corresponds to a temperature of 300K. I know there is no such thing as negative temperature, but I forced the graph to have negative values so that the zeros on the two axes would line up. I think it makes the graphs easier to read.
Currents (the other 3 curves) are read off the right axis where 1.2A corresponds to radiation of 1,200 W/m2.
The current into the Stephan equation block and the current out of it are identical except for the sign. In the plots, I selected the output current and multiplied it by minus one so that the W/m2 label would be used in the key - it just seemed the right thing to do.
The only difference in the 2 plots is the frequency of the current source - which simulates the length on the day. The rotation of the Moon is about 28 days, and 1000/30 is about 30 - not very accurate, but for a first look without calibrating the capacitor it is good enough to make some comparisons.
A little over 350K
|Insolation (light blue)
Surface emission (red)
|Insolation (light blue)
|There is a significant offset between
noon (peak insolation) and peak temperature
|The peaks occur at about the same time
|Surface emission (red)
|Follows the surface temperature
|Follows the solar energy
If you assume a typical atmospheric temperature of 300K (about 80°F), you can see the basic idea of the Greenhouse effect. Assume a straight line at 300v. Where the green curve is above 300v, the area between it and the 300v line represents the excess energy transferred to the atmosphere by convection and evaporation. Where the green curve is below 300v line, the atmosphere is warmer than the surface and Greenhouse gases will return some of the excess heat they received when the green curve was above the line. In this way, the atmosphere acts like a capacitor - storing heat during the day and warming the surface at night.
Astronomers talk about the "Goldilocks zone" - the band around a star where it is not too hot nor too cold for life. Based on this simple model, I think it is obvious that the rotational rate of a planet is also important. Basically, the average daily temperature is irrelevant. However, surviving both the peak and the minimum is very important. Besides the rate of rotation, living below an atmosphere, within an ocean, or under ground will moderate the extremes.
Normally, when you first run the model, no curves will be displayed - on the schematic
Plot Settings / Reload Plot Settings
Plot Settings / Open Plot Settings File
There are several values you can edit by right clicking the appropriate symbol on the schematic.
Useful details from Stephan_FirstLook.net (generated after the first run).
Earth XXStephan_1 Surface_Temperature 0 stephan_bb params: em=.9 C1_Surface Surface_Temperature 0 .000001 I1 0 N001 SINE(0 1.2 1000 0 0 0) Moon XXStephan_1 Surface_Temperature 0 stephan_bb params: em=.9 C1_Surface Surface_Temperature 0 .000001 I1 0 N001 SINE(0 1.2 30 0 0 0) Both .subckt stephan_bb Temperature W/m2 B1 Temperature W/m2 I=(em * 5.67e-8 * V(temperature)**4)/1000 .param em=1 .ends stephan_bb
Left axis V 400 to -150 step 50 Right axis I 2.4 to - 0.9 step 0.3