Planets have structure that can be modeled similar to
stellar structure, relating temperature, pressure, density,
energy transmission, and their effects on the constituents.
Some of the same equations are appropriate and useful.
Among the planet-specific factors:
The planet's constitution depends upon the results of planet formation details, such as lack of lightweight molecules from the atmosphere if they were eliminated early.