User Tools

Site Tools


Sidebar

Blog

The material on this site is owned by Samuel Penn, and any queries should be directed there. Most of the material on this site is licensed under CC-BY-SA.

traveller:planetstats

Planetary Statistics

For those who want to be able to work out a few useful statistics for their planets in a hurry, the following little utility might be of use. It takes some information about the local star, and the planet, and works out the remaining information such as gravity and length of year.

Applet

Usage

At its simplest, you can select a star or planet from the two menu lists, and information on the combination will be shown. Though the starting values are accurate (to the best of my knowledge), the calculated values are only approximations to reality. The maths is right, but since diameters, densities and distances are averages, some errors do creep in.

Alternatively, you can type your own values into the following fields:

This is the mass of the star relative to Sol.

The average distance of the planet from the star in millions of kilometres. Since orbits tend to be ellipses rather than circles, this is always an approximation.

The average density of the planet, where the density of water is 1.0 (1 tonne per cubic metre).

The diameter of the planet, in kilometres. Planets tend to be squashed (equatorial diameters have been used in the examples), and not very smooth (though the latter has minor effect).

When you click on calculate, the following fields are filled in:

This is the display field next to the solar mass. It is the mass of the star in kilograms.

This is the orbital period of the planet, given in whatever units are most suitable.

Total mass of the planet, in kilograms.

The value for freefall at the planet's surface, in metres per second per second.

This is in kilometres per second. If an object is given this velocity (straight up) on the planet's surface, and no other forces act upon it (such as further thrust, or atmospheric drag), then the object will never be pulled back due to gravity.

Source Code

The source code - to the applet is available under the BSD license.

traveller/planetstats.txt · Last modified: 2009/09/13 15:56 (external edit)