#Binary Planet/Moon orbits acting weird.
16 messages · Page 1 of 1 (latest)
Hard to say without looking at the script, but if one is faster than the other it probably means that orbital periods are not identical, where in a binary system that should be the case.
Orbit
{
RefPlane "Equator"
PeriodDays 7.26184472
SemiMajorAxisKm 9504.03
Eccentricity 0.0549
Inclination 107.03
AscendingNode 16.5043
ArgOfPericenter 138.15
MeanAnomaly 20.405
}
}
Here are the orbital characteristics for Dardes
Orbit
{
RefPlane "Equator"
PeriodDays 7.26184472
SemiMajorAxisKm 19039.495
Eccentricity 0.0549
Inclination 120.034
AscendingNode 16.5043
ArgOfPericenter 138.15
MeanAnomaly 20.405
}
And the orbit for Enera.
A binary system follows specific laws of physics, from the manual:
To make a binary star system or a binary planet system, make sure that the following parameters are the same for
both bodies in the system: Eccentricity, Inclination, AscendingNode, MeanAnomaly. The ArgOfPericenter parame‐
ter of the first body must differ by 180 degrees from the same parameter of the second body. It’s also necessary to
calculate the SemiMajorAxis parameter for each body based on their masses using these simple formulae:
Body 1: a1 = R * M2 / (M1 + M2)
Body 2: a2 = R * M1 / (M1 + M2)
where R is the distance between the bodies, i.e. sum of their semimajor axes a1 + a2;
M1 and M2 are masses of bodies.
Set the same Inclination for both bodies, and one ArgOfPericenter at 318.15. If you remove PeriodDays for both, SpaceEngine should calculate the correct period given the masses of the two bodies.
If we put the values as they are into the calculations, we find that Dardes should be 2.0033075442546027 times the mass of Enera. If it's not like this, then the period is incorrect for the masses, and letting SpaceEngine decide what it is could be the best solution.
How do I know what R is supposed to be?
And now Dardes is take 11.247 days to orbit the barycenter
where R is the distance between the bodies, i.e. sum of their semimajor axes a1 + a2;
The period is directly related to the masses of the bodies.
this is the formula:
Period = sqrt(R^3 / (M1 + M2))
where R is again the sum of semimajor axes. Forgot to mention that in those formulae Semimajor axis is in AU.
May I see the entire script?
Hey, do I divide both or just one of the values?
Sorry, what value are you referring to?
I hope this is less confusing:
DwarfPlanet "Lukteus"
{
ParentBody "Lukteus-Kophine"
Class "Aquaria"
Mass 0.00207
Radius 1195.4053
TidalLocked true
Obliquity 0
EqAscendingNode 0
AlbedoBond 0.721
AlbedoGeom 0.523
Brightness 2
NoLife true
NoClouds true
NoOcean true
Atmosphere
{
Model "Pluto"
Height 156.403
Density 0.02314
Pressure 9.504e-6
Greenhouse 0.0505
Bright 10
Opacity 1
SkyLight 3.3333
Hue 0.025
Saturation 1
Composition
{
N2 76.506
CH4 22.943
CO 0.551
}
}
NoAurora true
NoRings true
NoAccretionDisk true
NoCometTail true
Orbit
{
RefPlane "Equator"
SemiMajorAxis 1.9540702e-5
Eccentricity 0.0054
Inclination 127.605
AscendingNode 154.095
ArgOfPericenter 209.0093
MeanAnomaly 17.50432
}
}
Moon "Kophine"
{
ParentBody "Lukteus-Kophine"
Class "Aquaria"
Mass 2.518e-4
Radius 592.30443
TidalLocked true
Obliquity 0
EqAscendingNode 0
AlbedoBond 0.234
AlbedoGeom 0.512
Brightness 2
NoLife true
NoClouds true
NoOcean true
NoAtmosphere true
NoAurora true
NoRings true
NoAccretionDisk true
NoCometTail true
Orbit
{
RefPlane "Equator"
SemiMajorAxis 1.60640401e-4
Eccentricity 0.0054
Inclination 127.605
AscendingNode 154.095
ArgOfPericenter 29.0093
MeanAnomaly 17.50432
}
}
Delete the SemiMajorAxis tag for both and replace it with PeriodDays, then set it to your desired length
Orbit
{
RefPlane "Equator"
PeriodDays Value
Eccentricity 0.0054
Inclination 127.605
AscendingNode 154.095
ArgOfPericenter 29.0093
MeanAnomaly 17.50432
}
}
Orbit
{
RefPlane "Equator"
PeriodDays Value
Eccentricity 0.0054
Inclination 127.605
AscendingNode 154.095
ArgOfPericenter 209.0093
MeanAnomaly 17.50432
}
}