Linguofreak
Well-known member
First off, do config file questions belong in the SDK forum?
Secondly, how precise can I count on planet trajectories being with EllipticOrbit = FALSE, and is there anything I can do to improve accuracy?
I'm trying to implement a system I created with GravitySimulator in Orbiter. The System consists of a 5 Jupiter mass object at 1 AU from a star identical to the Sun with two 1 earth mass objects in tadpole orbits around either of its trojan points. The leading Trojan oscillates around its point by about 10 degrees toward the Jovian and 15 degrees away, and the trailing Trojan by about 25 degrees toward the Jovian and 35 or 40 degrees away from it. I ran the system for a bit more than a million orbits in GravitySimulator to be sure of its stability. At the epoch I'm implementing in Orbiter, both Trojans are heading away from the Jovian and continue until they are separated from each other by around 175 degrees, at which point they both start drifting back towards it. About two years after the epoch the leading Trojan is about 55 degrees ahead of the Jovian and the trailing Trojan is 65 degrees behind it. In Orbiter, however, the Trojans overshoot the points at which they turn around in GravitySimulator (this was tested at 100000x time accel in Orbiter), and by two years after the epoch they're separated from the Jovian and each other by roughly 120 degrees and the Orbit of the leading Trojan is still shrinking while that of the trailing Trojan is widening (so there's no sign that they'll start closing on the Jovian any time soon).
Do I have any chance at getting the Trojans to oscillate around their Trojan points with EllipticOrbits = FALSE, or will I have to write a module?
Config file for the Jovian:
The config files for the Trojans are identical to the stock Earth config file, except for the lines shown here.
Config for the trailing Trojan:
Config file for the leading Trojan:
Gsim file for the system in GravitySimulator:
Secondly, how precise can I count on planet trajectories being with EllipticOrbit = FALSE, and is there anything I can do to improve accuracy?
I'm trying to implement a system I created with GravitySimulator in Orbiter. The System consists of a 5 Jupiter mass object at 1 AU from a star identical to the Sun with two 1 earth mass objects in tadpole orbits around either of its trojan points. The leading Trojan oscillates around its point by about 10 degrees toward the Jovian and 15 degrees away, and the trailing Trojan by about 25 degrees toward the Jovian and 35 or 40 degrees away from it. I ran the system for a bit more than a million orbits in GravitySimulator to be sure of its stability. At the epoch I'm implementing in Orbiter, both Trojans are heading away from the Jovian and continue until they are separated from each other by around 175 degrees, at which point they both start drifting back towards it. About two years after the epoch the leading Trojan is about 55 degrees ahead of the Jovian and the trailing Trojan is 65 degrees behind it. In Orbiter, however, the Trojans overshoot the points at which they turn around in GravitySimulator (this was tested at 100000x time accel in Orbiter), and by two years after the epoch they're separated from the Jovian and each other by roughly 120 degrees and the Orbit of the leading Trojan is still shrinking while that of the trailing Trojan is widening (so there's no sign that they'll start closing on the Jovian any time soon).
Do I have any chance at getting the Trojans to oscillate around their Trojan points with EllipticOrbits = FALSE, or will I have to write a module?
Config file for the Jovian:
Code:
Name = Jovian
EllipticOrbit = TRUE
HasElements = TRUE
ErrorLimit = 1e-8
SamplingInterval = 79
Mass = 9.4109208e+27
Size = 7.5993e+7
JCoeff = 0.01475
AlbedoRGB = 2.02 1.99 1.86
Epoch = 2013
SemiMajorAxis = 149117727716
Eccentricity = 0.014305781741446
Inclination = 1.37129793e-5
LongAscNod = 4.70275839
LongPerihelion = 2.13317055
MeanLongitude = 6.16310709
LAN = 0
LAN_MJD = 51544.5
Obliquity = 0.05443758224
SidRotPeriod = 13500.3
SidRotOffset = 2.547801285
AtmPressure0 = 201.4e4
AtmDensity0 = 1.3293
AtmGasConstant = 194.92
AtmGamma = 1.3333
AtmColor0 = 0.37 0.35 0.39
AtmHazeColor = 0.21 0.1 0.1
AtmHazeDensity = 0.09
AtmHazeExtent = 0.055
AtmHazeShift = 0.009
CloudAlt = 480e3
CloudRotPeriod = 35727.3
CloudShadowDepth = 0.8
CloudMicrotextureAlt = 1535e3 6440e3
MaxPatchResolution = 7
MinCloudResolution = 1
MaxCloudResolution = 7
The config files for the Trojans are identical to the stock Earth config file, except for the lines shown here.
Config for the trailing Trojan:
Code:
; === Configuration file for planet Earth ===
Name = Terr1
EllipticOrbit = FALSE
HasElements = TRUE
ErrorLimit = 1e-12
SamplingInterval = 79 ; interpolation sampling interval [s]
; (interpolation error ~0.1m)
; === Physical Parameters ===
Mass = 5.973698968e+24
;Size = 6.378165e6 ; equatorial radius
Size = 6.37101e6 ; mean radius
JCoeff = 1082.6269e-6 -2.51e-6 -1.60e-6 -0.15e-6
; harmonic coefficients for shape description
AlbedoRGB = 0.7 0.85 1.0
Epoch = 2013
SemiMajorAxis = 151666908317
Eccentricity = 0.055527958474648
Inclination = 0.0135932433
LongAscNode = 4.89449553
LongPerihelion = 1.56514019
MeanLongitude = 4.59806802
Config file for the leading Trojan:
Code:
; === Configuration file for planet Earth ===
Name = Terr2
EllipticOrbit = FALSE
HasElements = TRUE
ErrorLimit = 1e-12
SamplingInterval = 79 ; interpolation sampling interval [s]
; (interpolation error ~0.1m)
; === Physical Parameters ===
Mass = 5.973698968e+24
;Size = 6.378165e6 ; equatorial radius
Size = 6.37101e6 ; mean radius
JCoeff = 1082.6269e-6 -2.51e-6 -1.60e-6 -0.15e-6
; harmonic coefficients for shape description
AlbedoRGB = 0.7 0.85 1.0
Epoch = 2013
SemiMajorAxis = 147958168248
Eccentricity = 0.065617383576729
Inclination = 0.00514650812
LongAscNode = 3.66597131
LongPerihelion = 2.02585275
MeanLongitude = 1.05634252
Gsim file for the system in GravitySimulator:
Code:
<GrAVITY>
<Distance Boxes>
</Distance Boxes>
<Orbit Boxes>
3045
2385
Terrestrial 8
Object 1
3
1
</Orbit Boxes>
<SData>
1.15610199438884E-09
33250860475915.5
1
3.00285301173073E-11
-4.32725037507886E-12
1
4
False
False
0
-10000
E:\DeadEmaine\Program Files\Gravsim\simulations\doubletrojan.gsim
True
31389811.5011919
True
0
2
-60
-60
24120
12960
True
False
1
1
True
False
True
True
E:\DeadEmaine\Program Files\Gravsim\simulations
E:\DeadEmaine\Program Files\Gravsim\simulations\doubletrojan.gsim
False
0
0
0
0
False
119.3333
16777215
16
408
</SData>
<Command Buttons>
690
0
1350
0
2010
0
2670
0
3330
0
</Command Buttons>
<Captions>
MS Sans Serif
12
16711680
False
False
False
False
0
0
1
1
MS Sans Serif
13.5
255
False
False
False
False
0
0
1
1
MS Sans Serif
8.25
65280
False
False
False
False
0
0
1
1
MS Sans Serif
8.25
16711680
False
False
False
False
0
0
1
1
</captions>
<Thrust Box>
</Thrust Box>
<Objects>
Floating
0
0
0
-48398442931005
5491501356101.79
-1549333677.1444
-1.46228472708215
0.165917290433236
-4.68107410006768E-05
-1048576
-128
0
0served for future use
Reserved for future use
Reserved for future use
Reserved for future use
Object 1
332983.460559796
65535
1392000000
3.64074573429517E-02
-5.24646383959209E-03
3.66581650849023E-07
1.40028720232041E-03
-2.01784780088946E-04
1.40993054642991E-08
0
0
0
0served for future use
Reserved for future use
Reserved for future use
Reserved for future use
Jovian
1575.41864202491
Object 1
16711935
120110633.238052
148943463300.899
-21471672307.1378
2045200.42937539
3905.43514532538
29373.6917620559
4.96732941648823E-02
0
0
0
0served for future use
Reserved for future use
Reserved for future use
Reserved for future use
Terrestrial 8
1
Object 1
65280
12600000
-16621544525.7325
-159176478813.551
-614096625.803131
27820.4455190058
-3069.06731031546
364.382562354402
0
0
0
0
Reserved for future use
Reserved for future use
Reserved for future use
Terrestrial 9
1
Object 1
16744448
12600000
84086135667.4852
115583102155.101
-298257986.5914
-26041.1399342542
16791.9516665965
-141.91035644207
0
0
0
0
Reserved for future use
Reserved for future use
Reserved for future use
</Objects>
<Auto Pilot>
0
</Auto Pilot>
</GrAVITY>