Ultimate space simulation software

 
User avatar
SpaceEngineer
Author of SpaceEngine
Author of SpaceEngine
Topic Author
Posts: 1125
Joined: 17 May 2016 22:16
Location: Saint-Petersburg
Contact:

COMMUNITY ADDON - binary/multiple stars fixes for SE

24 Nov 2016 11:56

By analogy with the binary asteroids thread, this is a thread for the scripts for the binary/multiple stars, which are still represented as solitary star in default SE catalogs. Use the url=http://new.spaceengine.org/manual/makin ... ng-a-star/]creating a star[/url] manual for this.

Also, feel free to post a request for a binary/multiple star here, if you are not skilled in SE scripts, but want to see this star in SE. Someone could make the script for you.

Each new version of SpaceEngine will collect all scripts from this thread to make an updated version of default catalogs.
 
User avatar
JackDole
Star Engineer
Star Engineer
Posts: 1874
Joined: 02 Nov 2016 18:18
Location: Terra

COMMUNITY ADDON - binary/multiple stars fixes for SE

25 Jan 2017 11:16

54 Piscium with a brown dwarf as companion.

So far not so in SpaceEngine
// -*- coding: utf-8 -*-
// Name: 54_Psc.sc
// JackDole 2017.01.25 15:42:08

// Put this script in 'addons\catalogs\stars'

//------------------------------------------------------------------------------
//https://en.wikipedia.org/wiki/54_Piscium
//------------------------------------------------------------------------------

StarBarycenter    "54 Psc/HD 3651/HIP 3093"
{
    RA      00 39 21.80589
    Dec     21 15 01.7081
    Dist    11.6
    
    Mass    0.811
    AppMagn 5.88
}

//------------------------------------------------------------------------------
// -*- coding: utf-8 -*-
// Name: 54_PscSys.sc
// JackDole 2017.01.25 15:55:12

// Put this script in 'addons\catalogs\planets'

//------------------------------------------------------------------------------
//https://en.wikipedia.org/wiki/54_Piscium
//------------------------------------------------------------------------------

Star "54 Psc A/HD 3651 A/HIP 3093 A"
{
    ParentBody  "54 Psc"
    Class       "K0V"
    
    MassSol     0.76
    RadSol      0.944
    
    RotationPeriod  964.8
    
    Lum         0.52
    Teff        5062
    FeH         -0.15
    Age         6.4
    
    Orbit
    {
        SemiMajorAxis   29.93341554
        Eccentricity    0.0         // Not known
        Inclination     0.0         // Not known
        AscendingNode   0.0         // Not known
        ArgOfPericenter 0.0         // Not known
        MeanAnomaly     0.0         // Not known
    }
}

Star "54 Psc B/HD 3651 B/HIP 3093 B"
{
    ParentBody  "54 Psc"
    Class       "T7.5 V"
    
    MassSol     0.051
    RadSol      0.082
    
    Teff        810
    
    Orbit
    {
        SemiMajorAxis   446.06658446
        Eccentricity    0.0         // Not known
        Inclination     0.0         // Not known
        AscendingNode   0.0         // Not known
        ArgOfPericenter 180.0       // Not known
        MeanAnomaly     0.0         // Not known
    }
}

//------------------------------------------------------------------------------

Remove  "HD 3651 b" {ParentBody "HD 3651"}
Remove  "HD 3651 c" {ParentBody "HD 3651"}

Planet "HD 3651 b"
{
    ParentBody     "HD 3651 A"
    Msini           72.8678
    DiscMethod     "RadVel"
    DiscDate       "2003"
    
    Orbit
    {
        Epoch           2453932.6
        Period          0.1703472428
        SemiMajorAxis   0.295
        Eccentricity    0.596
        Inclination     83
        ArgOfPericen    242.5
    }
}

Planet "HD 3651 c"
{
    ParentBody     "HD 3651 A"
    Mass            28.638
    DiscMethod     "RadVel"
    DiscDate       "2013"
    
    Orbit
    {
        Period          0.08487518929
        SemiMajorAxis   0.186
        Eccentricity    0.04
        ArgOfPericen    55
    }
}

//------------------------------------------------------------------------------
Put this script in 'addons\catalogs\stars':
54_Psc.sc
(588 Bytes) Downloaded 1330 times
and this in 'addons\catalogs\planets':
54_PscSys.sc
(2.31 KiB) Downloaded 1344 times
JackDole's Universe 0.990: http://forum.spaceengine.org/viewtopic.php?f=3&t=546
JackDole's Archive: http://forum.spaceengine.org/viewtopic.php?f=3&t=419
JackDole: Mega structures ... http://old.spaceengine.org/forum/17-3252-1 (Old forum)
 
User avatar
Roswell
Space Pilot
Space Pilot
Posts: 134
Joined: 05 Nov 2016 02:45

COMMUNITY ADDON - binary/multiple stars fixes for SE

30 Jan 2017 00:22

wow that nice :O I love those two brown gazeous planets :D
 
User avatar
nadiawendt
Observer
Observer
Posts: 5
Joined: 04 Feb 2017 19:38
Contact:

COMMUNITY ADDON - binary/multiple stars fixes for SE

04 Feb 2017 20:43

I have a binary solar system called Alina AB, and I was hoping to use SE to help me visualize certain things, but I am having trouble building the system on my own. Since, at the top of this thread, it says to feel free to submit requests, I figured there is no harm in asking if anyone would be willing to create it in their spare time.

Information on the solar system can be found here: link

I will continue trying to make it work myself, but I would be very grateful if someone with more knowledge than myself would be willing to create an add-on of this system.
 
User avatar
XBrain130
Explorer
Explorer
Posts: 286
Joined: 26 Nov 2016 13:19
Location: Italy
Contact:

COMMUNITY ADDON - binary/multiple stars fixes for SE

04 Feb 2017 21:26

I have a binary solar system called Alina AB, and I was hoping to use SE to help me visualize certain things, but I am having trouble building the system on my own. Since, at the top of this thread, it says to feel free to submit requests, I figured there is no harm in asking if anyone would be willing to create it in their spare time.

Information on the solar system can be found here: link

I will continue trying to make it work myself, but I would be very grateful if someone with more knowledge than myself would be willing to create an add-on of this system.
I think you misunderstood. This thread is for real life binary stars. You should post that in this thread instead: http://forum.spaceengine.org/viewtopic.php?f=3&t=175
SpaceEngine's Italian Discord server: https://discord.gg/NhQbEbC
 
User avatar
nadiawendt
Observer
Observer
Posts: 5
Joined: 04 Feb 2017 19:38
Contact:

COMMUNITY ADDON - binary/multiple stars fixes for SE

04 Feb 2017 21:53

@XBrain130
Thank you for telling me
 
User avatar
Simon
Observer
Observer
Posts: 6
Joined: 06 May 2017 06:43
Location: Chicago

COMMUNITY ADDON - binary/multiple stars fixes for SE

06 May 2017 06:50

Sorry for late response, and I know it's a lot to ask, but if someone could do these things it would be greatly appreciated.

The OGLE-2013-BLG-0341 system is only represented as one star. If someone could mod that in, it would be greag.
 
Zeryphex
Observer
Observer
Posts: 6
Joined: 29 Aug 2017 15:51

COMMUNITY ADDON - binary/multiple stars fixes for SE

29 Aug 2017 16:16

By analogy with the binary asteroids thread, this is a thread for the scripts for the binary/multiple stars, which are still represented as solitary star in default SE catalogs. Use the url=http://new.spaceengine.org/manual/makin ... ng-a-star/]creating a star[/url] manual for this.

Also, feel free to post a request for a binary/multiple star here, if you are not skilled in SE scripts, but want to see this star in SE. Someone could make the script for you.

Each new version of SpaceEngine will collect all scripts from this thread to make an updated version of default catalogs.
I made a PAK file for the contact binary star system in the Cygnus constellation, KIC 9832227.
https://en.wikipedia.org/wiki/KIC_9832227
I used it to record a WEBM video and uploaded it to Wikipedia, but I'm not sure what different parameters should be ... like orbit speed, how close the stars should be, what class each star should be, etc.
If you guys can give a proper or accurate fix to the parameters/calculations, then I can re-download it.
KIC-9832227.pak
(1.31 KiB) Downloaded 917 times
 
User avatar
Mosfet
Star Engineer
Star Engineer
Posts: 1770
Joined: 24 Oct 2016 11:34
Location: Italy
Contact:

COMMUNITY ADDON - binary/multiple stars fixes for SE

29 Aug 2017 18:58

By taking into account relative masses for the binary, the barycenter should be slightly inside the primary.
► Show Spoiler
[youtube]rfHtSveXAb0[/youtube]

Edit:
As I thought, JackDole did a package for the binary :)
Attachments
KIC-9832227.pak
(1.35 KiB) Downloaded 915 times
"Time is illusion. Lunchtime doubly so". Douglas N. Adams
| My mods: http://forum.spaceengine.org/viewtopic.php?f=3&t=80 | My specs: Asus x555ub - cpu i5-6200u, ram 12gb, gpu nvidia geforce 940m 2gb vram |
 
Zeryphex
Observer
Observer
Posts: 6
Joined: 29 Aug 2017 15:51

COMMUNITY ADDON - binary/multiple stars fixes for SE

29 Aug 2017 21:30

By taking into account relative masses for the binary, the barycenter should be slightly inside the primary.
► Show Spoiler
[youtube]rfHtSveXAb0[/youtube]

Edit:
As I thought, JackDole did a package for the binary :)
Thank you very much.
I'm new to SpaceEngine.
Since I couldn't pull-up KIC 9832227 in-engine, I figured it was obscure and non-existent.
Doing a forum search, I see JackDole uploaded that system, eight months ago.
I downloaded your PAK attachment and his PAK attachment ... not sure why the file sizes are different.
 
Zeryphex
Observer
Observer
Posts: 6
Joined: 29 Aug 2017 15:51

COMMUNITY ADDON - binary/multiple stars fixes for SE

30 Aug 2017 01:35

JackDole, Mosfet,

I combined both your versions of KIC 9832227.
KIC-9832227.pak
(1.82 KiB) Downloaded 912 times
KIC-9832227.pak
(1.82 KiB) Downloaded 912 times
KIC-9832227.pak
(1.82 KiB) Downloaded 912 times
Which set (of measurements/calculations) is more accurate?

I want to record a transit/flyby video and upload to Wikipedia, so we can educate/enlighten the masses.
haha
Attachments
JackDole-Mosfet_one.png
JackDole-Mosfet_two.png
 
User avatar
Mosfet
Star Engineer
Star Engineer
Posts: 1770
Joined: 24 Oct 2016 11:34
Location: Italy
Contact:

COMMUNITY ADDON - binary/multiple stars fixes for SE

07 Sep 2017 12:37

I downloaded your PAK attachment and his PAK attachment ... not sure why the file sizes are different.
A few lines of code, mostly comments.
For all purposes they're identical, we adjusted semimajor axes according to formulae:
a_{1}=a_{s}\cdot \left ( \frac{m_{2}}{m_{1}+m_{2}} \right ) , a_{2}=a_{s}\cdot \left ( \frac{m_{1}}{m_{1}+m_{2}} \right )
where a[sub]1[/sub], a[sub]2[/sub] are resulting semimajor axes of star 1 and 2, a[sub]s[/sub] is measured semimajor axis (separation) of the two stars, m[sub]1[/sub] and m[sub]2[/sub] are measured star masses.
The difference of few decimals in Right Ascension and Declination or Luminosity i guess it could be caused by different data sources.
"Time is illusion. Lunchtime doubly so". Douglas N. Adams
| My mods: http://forum.spaceengine.org/viewtopic.php?f=3&t=80 | My specs: Asus x555ub - cpu i5-6200u, ram 12gb, gpu nvidia geforce 940m 2gb vram |
 
User avatar
JackDole
Star Engineer
Star Engineer
Posts: 1874
Joined: 02 Nov 2016 18:18
Location: Terra

COMMUNITY ADDON - binary/multiple stars fixes for SE

07 Sep 2017 13:10

The difference of few decimals in Right Ascension and Declination or Luminosity i guess it could be caused by different data sources.
My source is this paper. https://arxiv.org/pdf/1704.05502.pdf
JackDole's Universe 0.990: http://forum.spaceengine.org/viewtopic.php?f=3&t=546
JackDole's Archive: http://forum.spaceengine.org/viewtopic.php?f=3&t=419
JackDole: Mega structures ... http://old.spaceengine.org/forum/17-3252-1 (Old forum)
 
Zeryphex
Observer
Observer
Posts: 6
Joined: 29 Aug 2017 15:51

COMMUNITY ADDON - binary/multiple stars fixes for SE

07 Sep 2017 19:11

I downloaded your PAK attachment and his PAK attachment ... not sure why the file sizes are different.
A few lines of code, mostly comments.
For all purposes they're identical, we adjusted semimajor axes according to formulae: 
a_{1}=a_{s}\cdot \left ( \frac{m_{2}}{m_{1}+m_{2}} \right ) , a_{2}=a_{s}\cdot \left ( \frac{m_{1}}{m_{1}+m_{2}} \right ) 
where a[sub]1[/sub]a[sub]2[/sub] are resulting semimajor axes of star 1 and 2, a[sub]s[/sub] is measured semimajor axis (separation) of the two stars, m[sub]1[/sub] and m[sub]2[/sub] are measured star masses.
The difference of few decimals in Right Ascension and Declination or Luminosity i guess it could be caused by different data sources.

JackDole:
The difference of few decimals in Right Ascension and Declination or Luminosity i guess it could be caused by different data sources.
My source is this paper. https://arxiv.org/pdf/1704.05502.pdf
Perhaps SpaceEngineer will include some version of KIC 9832227, in the next SpaceEngine version/iteration?
 
User avatar
Mosfet
Star Engineer
Star Engineer
Posts: 1770
Joined: 24 Oct 2016 11:34
Location: Italy
Contact:

COMMUNITY ADDON - binary/multiple stars fixes for SE

08 Sep 2017 03:30

Well, usually such fixes are indeed included in next versions, that's the point of this thread as stated in the original post :)
"Time is illusion. Lunchtime doubly so". Douglas N. Adams
| My mods: http://forum.spaceengine.org/viewtopic.php?f=3&t=80 | My specs: Asus x555ub - cpu i5-6200u, ram 12gb, gpu nvidia geforce 940m 2gb vram |

Who is online

Users browsing this forum: No registered users and 6 guests