Topic about calculation factors (days - years, km - AU, etc.)

General discussion about Celestia that doesn't fit into other forums.
Avatar
Topic author
EarthMoon
Posts: 200
Joined: 02.07.2022
With us: 2 years 4 months
Location: Germany

Topic about calculation factors (days - years, km - AU, etc.)

Post #1by EarthMoon » 09.11.2023, 14:46

How many days are one Earth year in Celestia? I found many definitions in the web: 365, 365.25, 365.2425, 365.24219052, 365.2563604167, 365.259635864, but which of them is the one Celestia uses?
Last edited by EarthMoon on 20.11.2023, 16:44, edited 2 times in total.
Crew: "We are orbiting a black hole."
Control Center: "Do not fly too close to the black hole!"
Crew: "OH OOPS..."

Celestia versions:
1.6.3, 1.7.0 sRGB, 1.6.1 ED (plain)

Current projects:
Celestial (a Celestia-like program written in Python)

Avatar
SevenSpheres
Moderator
Posts: 826
Joined: 08.10.2019
With us: 5 years 1 month

Post #2by SevenSpheres » 09.11.2023, 15:41

For values in ssc files where the unit is years, 1 year is exactly 365.25 days. Celestia's date calculation is of course more accurate than this.
My Addons: viewtopic.php?f=23&t=19978 • Discord server admin
Celestia versions: 1.5.1, 1.6.1, 1.6.2, 1.7.0, and some unofficial versions like Celestia-ED

Avatar
Topic author
EarthMoon
Posts: 200
Joined: 02.07.2022
With us: 2 years 4 months
Location: Germany

Post #3by EarthMoon » 09.11.2023, 15:51

Ah ok thx
Crew: "We are orbiting a black hole."
Control Center: "Do not fly too close to the black hole!"
Crew: "OH OOPS..."

Celestia versions:
1.6.3, 1.7.0 sRGB, 1.6.1 ED (plain)

Current projects:
Celestial (a Celestia-like program written in Python)

Avatar
Topic author
EarthMoon
Posts: 200
Joined: 02.07.2022
With us: 2 years 4 months
Location: Germany

Post #4by EarthMoon » 20.11.2023, 16:43

If SSC's EllipticalOrbit SemiMajorAxis units are AU, how many km are one AU?
[Renamed this topic to prevent a flood of new topics; this is one "Wiki" for calculation factors]
Crew: "We are orbiting a black hole."
Control Center: "Do not fly too close to the black hole!"
Crew: "OH OOPS..."

Celestia versions:
1.6.3, 1.7.0 sRGB, 1.6.1 ED (plain)

Current projects:
Celestial (a Celestia-like program written in Python)

Avatar
SevenSpheres
Moderator
Posts: 826
Joined: 08.10.2019
With us: 5 years 1 month

Post #5by SevenSpheres » 21.11.2023, 21:19

1 AU is 149597870.7 km, searching Celestia's codebase confirms that this is the value used.
My Addons: viewtopic.php?f=23&t=19978 • Discord server admin
Celestia versions: 1.5.1, 1.6.1, 1.6.2, 1.7.0, and some unofficial versions like Celestia-ED


Return to “Celestia Users”