FormingWorlds / PROTEUS

Coupled atmosphere-interior framework to simulate the temporal evolution of rocky planets.
https://fwl-proteus.readthedocs.io
Apache License 2.0
12 stars 1 forks source link

Calculate and store orbital period #252

Closed nichollsh closed 1 week ago

nichollsh commented 1 week ago

In order to implement a tidal heating model (issue #190 for now), we need to know the period of the planet's orbit.

This can be easily achieved for an elliptical orbit using the parameters which are already set in the configuration file: star mass, semi-major axis, planet mass, and orbital eccentricity.

There's an equation for calculating this on Wikipedia: https://en.wikipedia.org/wiki/Elliptic_orbit