Page 1 of 1

Can the Solar System Browser handel binary Starsystems?

Posted: 29.12.2006, 05:14
by Jack@Daniels
I installed the Iracema addon from kikinho on Celestia 1.4.1. It woks well so far. It's a binary star system with a solar systems around each star. It is using a barycenter orbited by the two stars.

So i tryed to use the Solar System Browser to explore these star systems. I figured out, that only one system is shown in the browser. That one, which is the last listed in the sct-file. I tryed two hours to solve this problem with the sct file, but i didn't get it working. I selected the other star in the binary system and opened the solar system browser. But it shows me only the one star with it's planets in the browser.

I hope there is a simple solution which i don't see right now. If not, it would be nice, when this will be fixed in the new version of celestia.

Please forgive me my english. I hope there is no topic about this problem, i couldn't find any.

I will anser if there are more questions about this problem.

Posted: 25.08.2007, 06:24
by fungun
I am having the same prob. I am using this stc file, which I found here in the forums.

Code: Select all

Barycenter "Antares:HIP 80763"

   {
   RA      247.351917
   Dec        -26.432003
   Distance        604
   }


80763 "Antares A"

   {
   OrbitBarycenter    "Antares"
   SpectralType    "M1I"
   AbsMag       -5.14
   SemiAxes       [1 0.75 0.75]
   EllipticalOrbit
      {
                      Period      878
                      SemiMajorAxis         537
                      Eccentricity          0
      Inclination   82.980
      AscendingNode      67.708
      ArgOfPericenter    3.774
      MeanAnomaly        200.119
      }
   RotationPeriod    24
   }


"Antares B"

   {
   OrbitBarycenter    "Antares"
   SpectralType    "B4V"
   AbsMag       -0.84
   SemiAxes       [1 0.75 0.75]
   EllipticalOrbit
      {
                      Period      878
                      SemiMajorAxis         537
                      Eccentricity          0
      Inclination   82.980
      AscendingNode   67.708
      ArgOfPericenter 183.774
      MeanAnomaly     200.119
      }
   RotationPeriod    24
   }



Not only does the System browser not work for each star, but the planets I put around Antares A, actually orbit the barycenter. I am confused about something, but don't know what-the stc file or my scc files.
Any help would be cool.
Thanx
Tim
Here are the scc files-

Code: Select all

"Antares A-1" "Antares A"
{
   Class "planet"
   Texture "tim2.jpg"
   Radius 1780

   CustomOrbit "Antares A-1 1780 "
   EllipticalOrbit {
      Period  0.09
      SemiMajorAxis 0.18
      Eccentricity 0.00001
      Inclination 1.44871
      AscendingNode 233.22
      LongOfPericenter 100.56
      MeanLongitude 298.73
   }

   EquatorAscendingNode  94.97
   RotationOffset  296.86
   Albedo  0.2



#------------Data Block-----------
#    Mass  0.0130491673  Earth Masses
#    Density  3.3
#    Class Type "Rock"
#-----------End Data Block--------


}


"Antares A-II" "Antares A"
{
   Class "planet"
   Texture "hab6.jpg"
   HazeColor [ 0.87 0.87 0.87 ]
   HazeDensity 0.04
   Radius 5620

   Atmosphere {
      Height 70
      Lower [ 0 0 0.63 ]
      Upper [ 0 0 1 ]
      Sky [ 0 0 1 ]
      Sunset [ 0.5 0.25 0 ]
      CloudHeight 8
      CloudSpeed 90
      CloudMap "earth-clouds.png"
   }

   CustomOrbit "Antares A-II 5620 "
   EllipticalOrbit {
      Period  0.99
      SemiMajorAxis 0.36
      Inclination 0.07006
      AscendingNode 250.24
      LongOfPericenter 87.82
      MeanLongitude 192.19
   }

   RotationPeriod  23
   EquatorAscendingNode  352.8
   RotationOffset  38.29
   Albedo  0.29



#------------Data Block-----------
#    Mass  0.4107066534  Earth Masses
#    Density  3.3
#    Class Type "Rock"
#-----------End Data Block--------


}


"Moon 3" "Antares A/Antares A-II"
{
   Class "moon"
   Texture "asteroid.jpg"
   Radius 2130

   CustomOrbit "Moon 3 2130 "
   EllipticalOrbit {
      Period  30.7
      SemiMajorAxis 29630
      Inclination 0.38797
      AscendingNode 100.18
      LongOfPericenter 58.62
      MeanLongitude 232.77
   }

   RotationPeriod  210
   EquatorAscendingNode  57.76
   RotationOffset  147.63
   Albedo  0.25



#------------Data Block-----------
#    Mass  0.022359475  Earth Masses
#    Density  3.3
#    Class Type "Rock"
#-----------End Data Block--------


}


"Moon 2" "Antares A/Antares A-II"
{
   Class "moon"
   Texture "asteroid.jpg"
   Radius 1650

   CustomOrbit "Moon 2 1650 "
   EllipticalOrbit {
      Period  26.4
      SemiMajorAxis 27480
      Inclination 0.13814
      AscendingNode 16.43
      LongOfPericenter 137.52
      MeanLongitude 108.35
   }

   EquatorAscendingNode  106.48
   RotationOffset  341.49
   Albedo  0.17



#------------Data Block-----------
#    Mass  0.0103938064  Earth Masses
#    Density  3.3
#    Class Type "Rock"
#-----------End Data Block--------


}


"Moon 1" "Antares A/Antares A-II"
{
   Class "moon"
   Texture "asteroid.jpg"
   Radius 1400

   CustomOrbit "Moon 1 1400 "
   EllipticalOrbit {
      Period  21.2
      SemiMajorAxis 24660
      Inclination 5.98947
      AscendingNode 243.42
      LongOfPericenter 207.07
      MeanLongitude 36.02
   }

   RotationPeriod  3114
   EquatorAscendingNode  5.65
   RotationOffset  37.09
   Albedo  0.13



#------------Data Block-----------
#    Mass  0.006349023  Earth Masses
#    Density  3.3
#    Class Type "Rock"
#-----------End Data Block--------


}


"Antares A-III" "Antares A"
{
   Class "planet"
   Texture "tim7.jpg"
   Radius 8970

   CustomOrbit "Antares A-III 8970 "
   EllipticalOrbit {
      Period  3.86
      SemiMajorAxis 0.57
      Inclination 4.45807
      AscendingNode 94.09
      LongOfPericenter 136.4
      MeanLongitude 104.28
   }

   RotationPeriod  38
   EquatorAscendingNode  282.68
   RotationOffset  330.98
   Albedo  0.47



#------------Data Block-----------
#    Mass  2.0241662171  Earth Masses
#    Density  4
#    Class Type "Martian"
#-----------End Data Block--------


}


"Antares A-IV" "Antares A"
{
   Class "planet"
   Texture "tim19.jpg"
   Radius 22421

   CustomOrbit "Antares A-IV 22421 "
   EllipticalOrbit {
      Period  7.41
      SemiMajorAxis 0.98
      Inclination 1.51276
      AscendingNode 225.95
      LongOfPericenter 35.27
      MeanLongitude 201.97
   }

   RotationPeriod  16
   EquatorAscendingNode  154.24
   RotationOffset  250.01
   Albedo  0.53



#------------Data Block-----------
#    Mass  12.6442702779  Earth Masses
#    Density  1.6
#    Class Type "Sub-Jovian"
#-----------End Data Block--------


}




Code: Select all

"Antares B-I" "Antares B"
{
   Class "planet"
   Texture "tim31.jpg"
   Radius 2800

   CustomOrbit "Antares B-I 2800 "
   EllipticalOrbit {
      Period  2.8
      SemiMajorAxis 3.3
      Inclination 4.57707
      AscendingNode 300.53
      LongOfPericenter 195.61
      MeanLongitude 329.82
   }

   EquatorAscendingNode  8.15
   RotationOffset  154.89
   Albedo  0.18



#------------Data Block-----------
#    Mass  0.0507921838  Earth Masses
#    Density  3.3
#    Class Type "Rock"
#-----------End Data Block--------


}


"Antares B-II" "Antares B"
{
   Class "planet"
   Texture "tim43.jpg"
   Radius 9800

   CustomOrbit "Antares B-II 9800 "
   EllipticalOrbit {
      Period  4.6
      SemiMajorAxis 7.3
      Inclination 1.86956
      AscendingNode 180.88
      LongOfPericenter 166.67
      MeanLongitude 127.25
   }

   RotationPeriod  140
   EquatorAscendingNode  184.95
   RotationOffset  145.74
   Albedo  0.2



#------------Data Block-----------
#    Mass  2.177714881  Earth Masses
#    Density  3.3
#    Class Type "Rock"
#-----------End Data Block--------


}


"Antares B-III" "Antares B"
{
   Class "planet"
   Texture "hab10.jpg"
   Radius 9200

   Atmosphere {
      Height 60
      Lower [ 0 1 1 ]
      Upper [ 0 0.5 0.75 ]
      Sky [ 0.5 1 1 ]
      Sunset [ 1 0.5 0.25 ]
      CloudHeight 6
      CloudSpeed 50
      CloudMap "radyo-clouds.png"
   }

   CustomOrbit "Antares B-III 9200 "
   EllipticalOrbit {
      Period  8.1
      SemiMajorAxis 10.2
      Inclination 0.11775
      AscendingNode 20.01
      LongOfPericenter 352.47
      MeanLongitude 21.93
   }

   RotationPeriod  24.6
   EquatorAscendingNode  87.78
   RotationOffset  140.5
   Albedo  0.32



#------------Data Block-----------
#    Mass  3.0028595746  Earth Masses
#    Density  5.5
#    Class Type "Terrestrial"
#-----------End Data Block--------


}


"Antares B-IV" "Antares B"
{
   Class "planet"
   Texture "gas2.jpg"
   Radius 12670

   CustomOrbit "Antares B-IV 12670 "
   EllipticalOrbit {
      Period  12.8
      SemiMajorAxis 16
      Inclination 0.38933
      AscendingNode 166.27
      LongOfPericenter 74.75
      MeanLongitude 118.7
   }

   RotationPeriod  12.8
   Obliquity  0.003
   EquatorAscendingNode  177.18
   RotationOffset  34.35
   Albedo  0.36

   



#------------Data Block-----------
#    Mass  1.8538818338  Earth Masses
#    Density  1.3
#    Class Type "Jovian"
#-----------End Data Block--------


}


"Moon4" "Antares B/Antares B-IV"
{
   Class "moon"
   Texture "asteroid.jpg"
   Radius 1780

   CustomOrbit "Moon4 1780 "
   EllipticalOrbit {
      Period  28
      SemiMajorAxis 31680
      Inclination 0.02024
      AscendingNode 253.58
      LongOfPericenter 190.88
      MeanLongitude 32.27
   }

   EquatorAscendingNode  334.36
   RotationOffset  272.78
   Albedo  0.2



#------------Data Block-----------
#    Mass  0.0130491673  Earth Masses
#    Density  3.3
#    Class Type "Rock"
#-----------End Data Block--------


}


"Moon3" "Antares B/Antares B-IV"
{
   Class "moon"
   Texture "asteroid.jpg"
   Radius 1200

   CustomOrbit "Moon3 1200 "
   EllipticalOrbit {
      Period  36
      SemiMajorAxis 23420
      Eccentricity 0.00227
      Inclination 3.39873
      AscendingNode 29.48
      LongOfPericenter 244.41
      MeanLongitude 163.51
   }

   EquatorAscendingNode  69.09
   RotationOffset  128.53
   Albedo  0.16



#------------Data Block-----------
#    Mass  0.0039982186  Earth Masses
#    Density  3.3
#    Class Type "Rock"
#-----------End Data Block--------


}


"Moon2" "Antares B/Antares B-IV"
{
   Class "moon"
   Texture "asteroid.jpg"
   Radius 570

   CustomOrbit "Moon2 570 "
   EllipticalOrbit {
      Period  24
      SemiMajorAxis 18960
      Inclination 0.00243
      AscendingNode 37.96
      LongOfPericenter 46.17
      MeanLongitude 0.09
   }

   RotationPeriod  36
   EquatorAscendingNode  119.41
   RotationOffset  193.25
   Albedo  0.13



#------------Data Block-----------
#    Mass  0.0004284966  Earth Masses
#    Density  3.3
#    Class Type "Rock"
#-----------End Data Block--------


}


"Moon1" "Antares B/Antares B-IV"
{
   Class "moon"
   Texture "tim15.jpg"
   Radius 230

   CustomOrbit "Moon1 230 "
   EllipticalOrbit {
      Period  21
      SemiMajorAxis 16480
      Inclination 0.58265
      AscendingNode 271.33
      LongOfPericenter 299.78
      MeanLongitude 6.75
   }

   EquatorAscendingNode  214.59
   RotationOffset  75.73
   Albedo  0.12



#------------Data Block-----------
#    Mass  0.0000281518  Earth Masses
#    Density  3.3
#    Class Type "Rock"
#-----------End Data Block--------


}


"Antares B-V" "Antares B"
{
   Class "planet"
   Texture "tim18.jpg"
   Radius 86000

   CustomOrbit "Antares B-V 86000 "
   EllipticalOrbit {
      Period  16.4
      SemiMajorAxis 19.1
      Inclination 4.9604
      AscendingNode 235.62
      LongOfPericenter 140.57
      MeanLongitude 38.66
   }

   RotationPeriod  14.6
   EquatorAscendingNode  182.19
   RotationOffset  282.24
   Albedo  0.51



#------------Data Block-----------
#    Mass  579.7590783195  Earth Masses
#    Density  1.3
#    Class Type "Jovian"
#-----------End Data Block--------


}


"Moon5" "Antares B/Antares B-V"
{
   Class "moon"
   Texture "asteroid.jpg"
   Radius 160

   CustomOrbit "Moon5 160 "
   EllipticalOrbit {
      Period  16
      SemiMajorAxis 10200
      Inclination 0.29175
      AscendingNode 176.36
      LongOfPericenter 170.81
      MeanLongitude 92.62
   }

   EquatorAscendingNode  56.04
   RotationOffset  226.35
   Albedo  0.11



#------------Data Block-----------
#    Mass  0.0000094773  Earth Masses
#    Density  3.3
#    Class Type "Rock"
#-----------End Data Block--------


}



Posted: 25.08.2007, 10:36
by selden
Tim,

1. Be consistent with your HIP definitions

Antares is the name that Celestia already has associated with the HIP catalog entry 80763.
The way you are redefining the names, you're making Antares and Antares A be synonyms and confusing the heck out of Celestia. Don't declare the HIP catalog entry (the numeric id) to be named Antares A: make it the barycenter.

Code: Select all

Barycenter 80763 "Antares:HIP 80763"

   {
   RA      247.351917
   Dec        -26.432003
   Distance        604
   }


Star "Antares A"

   { ... [remainder omitted]



2. Revisit your calculations of the planets' orbital sizes around Antares A. As they are now, they're smaller than the radius of the star they're orbiting, placing them inside the star.

3. Don't use "CustomOrbit" declarations. They're only for predefined orbits in the solar system. Celestia ignores them if it doesn't recognize the orbit names, but they confuse the heck out of people reading the ssc catalogs.

Posted: 25.08.2007, 10:47
by selden
Jack,

I've never downloaded Iracema, and at almost 150MB, I really don't want to.

Can you quote the STC file here?

My guess is that the Barycenter and Star definitions are confused, much like the ones Tim has been using.

p.s.

In fact, Celestia's "Solar System Browser" does need to be rewritten so it can handle Barycenters correctly. It does not understand them now.

Posted: 25.08.2007, 12:20
by fungun
Thanx selden, that worked. Another confussing fact. I found a chart on the internet, that has the habitable zones for dif class stars. It says the habit zone for a class M star is 0.23-0.017. That's where I got my semimajor axis for the scc files I am making. But like you pointed out they ended up inside the star. ???

Thanx
Tim

Posted: 25.08.2007, 13:10
by selden
Tim,

Those distances are appropriate for the usual small "dwarf" class M stars. Antares is classed as a supergiant, much larger than they are.

You might want to consider placing your planets around another star :)

Posted: 25.08.2007, 14:03
by fungun
Ah that makes sense. They should have put that on the chart LOL.
I wish I could use another star, but it is part of the Trek universe I am working on. I have 99 systems defined by canon sources with their "real life" stars. The chart in the Purgatory thread were invaluable. Plus the Star Trek Star Chart book, the Star Trek Encyclopedia, StarTrek.com, and Memory Alpha canon website.

Tim

Posted: 25.08.2007, 15:18
by selden
Tim,

Wikipedia has a page describing how the habitable zone is calculated. The formula on that page might be a reasonable one to use.

http://en.wikipedia.org/wiki/Habitable_ ... table_zone

Posted: 25.08.2007, 19:06
by Hungry4info
Be careful about making Star Trek systems in Celestia scientifically accurate. On one STNG episode, Enterprise-D visits a pre-warp civilization in the Mintaka system.

Mintaka is a blue giant eclipsing binary (I think). I can't imagine a reasonable habitable zone in the system. i.e. the "UV habitable zone" is much farther out, where it would be too cold for water to exist as a liquid".

Posted: 26.08.2007, 21:33
by fungun
Maybe right about Mintaka. I did find some info on it I did not have yet. It is a binary star-a class O and a class B compact binary-orbit period of 5.73 days-max seperation is .3"- 52 arc second distance-.5 Ly seperation-2 dimmer and remote companions-a 6.8 mag B class .25LY distant and a closer mag 14 (no class stated)
So I will say star A and B orbit a barycenter, then star C and D orbit A and B.
Sounds like a solor system made of stars.
How in the world would you make a stc file that made sense of this info?

Thanx
Tim

Posted: 27.08.2007, 00:59
by LordFerret
fungun wrote:So I will say star A and B orbit a barycenter, then star C and D orbit A and B.

There was a recent discovery (in real life) of just such a system.

HD 98800 - 4 star system
http://shatters.net/forum/viewtopic.php?t=11345