This system can be compared to the system of an atom: the sun would be the nucleus, and the planets are the electrons. It will be easier to look at the system as a set of single particles, and thus using the Kohn-Sham equations, with an exchange-correlation adapted to system.