Free planetarium

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

COMMUNITY ADDON - binary/multiple stars fixes for SE

24 Nov 2016 09: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/making-addons/creating-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
Pioneer
Pioneer
Posts: 579
Joined: 02 Nov 2016
Location: Terra

COMMUNITY ADDON - binary/multiple stars fixes for SE

25 Jan 2017 09: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 113 times

and this in 'addons\catalogs\planets':
54_PscSys.sc
(2.31 KiB) Downloaded 108 times
 
User avatar
Roswell
Space Pilot
Space Pilot
Posts: 119
Joined: 05 Nov 2016

COMMUNITY ADDON - binary/multiple stars fixes for SE

29 Jan 2017 22:22

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

COMMUNITY ADDON - binary/multiple stars fixes for SE

04 Feb 2017 18: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: 219
Joined: 26 Nov 2016
Location: Italy
Contact:

COMMUNITY ADDON - binary/multiple stars fixes for SE

04 Feb 2017 19:26

nadiawendt wrote:
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: 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
Contact:

COMMUNITY ADDON - binary/multiple stars fixes for SE

04 Feb 2017 19:53

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

COMMUNITY ADDON - binary/multiple stars fixes for SE

06 May 2017 04: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

COMMUNITY ADDON - binary/multiple stars fixes for SE

29 Aug 2017 14:16

SpaceEngineer wrote:
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/making-addons/creating-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 11 times
 
User avatar
Mosfet
World Builder
World Builder
Posts: 689
Joined: 24 Oct 2016
Location: Italy

COMMUNITY ADDON - binary/multiple stars fixes for SE

29 Aug 2017 16:58

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




Edit:
As I thought, JackDole did a package for the binary :)
Attachments
KIC-9832227.pak
(1.35 KiB) Downloaded 14 times
"Time is illusion. Lunchtime doubly so". Douglas N. Adams
My mods | My specs: Asus x555ub - cpu i5-6200u, ram 4gb, gpu nvidia geforce 940m 2gb vram | IRC freenode.net canale ##SpaceEngineITA
 
Zeryphex
Observer
Observer
Posts: 6
Joined: 29 Aug 2017

COMMUNITY ADDON - binary/multiple stars fixes for SE

29 Aug 2017 19:30

Mosfet wrote:
By taking into account relative masses for the binary, the barycenter should be slightly inside the primary.
► Show Spoiler




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

COMMUNITY ADDON - binary/multiple stars fixes for SE

29 Aug 2017 23:35

JackDole, Mosfet,

I combined both your versions of KIC 9832227.

KIC-9832227.pak
(1.82 KiB) Downloaded 14 times


KIC-9832227.pak
(1.82 KiB) Downloaded 14 times


KIC-9832227.pak
(1.82 KiB) Downloaded 14 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
World Builder
World Builder
Posts: 689
Joined: 24 Oct 2016
Location: Italy

COMMUNITY ADDON - binary/multiple stars fixes for SE

07 Sep 2017 10:37

Zeryphex wrote:
Source of the post 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:
[math][math]
where a1, a2 are resulting semimajor axes of star 1 and 2, as is measured semimajor axis (separation) of the two stars, m1 and m2 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 | My specs: Asus x555ub - cpu i5-6200u, ram 4gb, gpu nvidia geforce 940m 2gb vram | IRC freenode.net canale ##SpaceEngineITA
 
User avatar
JackDole
Pioneer
Pioneer
Posts: 579
Joined: 02 Nov 2016
Location: Terra

COMMUNITY ADDON - binary/multiple stars fixes for SE

07 Sep 2017 11:10

Mosfet wrote:
Source of the post 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
 
Zeryphex
Observer
Observer
Posts: 6
Joined: 29 Aug 2017

COMMUNITY ADDON - binary/multiple stars fixes for SE

07 Sep 2017 17:11

JackDole wrote:
Mosfet wrote:
Zeryphex wrote:
Source of the post 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: 
[math][math] 
where a1a2 are resulting semimajor axes of star 1 and 2, as is measured semimajor axis (separation) of the two stars, m1 and m2 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:
Mosfet wrote:
Source of the post 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
World Builder
World Builder
Posts: 689
Joined: 24 Oct 2016
Location: Italy

COMMUNITY ADDON - binary/multiple stars fixes for SE

08 Sep 2017 01: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 | My specs: Asus x555ub - cpu i5-6200u, ram 4gb, gpu nvidia geforce 940m 2gb vram | IRC freenode.net canale ##SpaceEngineITA

Who is online

Users browsing this forum: No registered users and 1 guest