Page 3 of 3

COMMUNITY ADDON - binary/multiple stars fixes for SE

Posted: 08 Jun 2019 12:45
by Mosfet
SquillionthPlanet wrote:
Source of the post Ooh, glad you made this. Thanks!!

you're posting random stuff in a very short amount of time to reach the number of posts needed to make a thread or linking material, I guess. that's frown upon, per Forum Rules

COMMUNITY ADDON - binary/multiple stars fixes for SE

Posted: 08 Jun 2019 12:54
by SquillionthPlanet
Shoot, sorry... I didn't know that I couldn't post yet, I just really wanted to say thanks and stuff. But ok, I'll stop posting randomly. Sorry..

COMMUNITY ADDON - binary/multiple stars fixes for SE

Posted: 08 Jun 2019 13:11
by Mosfet
I didn't say you can't post.

COMMUNITY ADDON - binary/multiple stars fixes for SE

Posted: 22 Feb 2020 08:56
by thenginer
awesome

COMMUNITY ADDON - binary/multiple stars fixes for SE

Posted: 24 Mar 2020 19:16
by Cantra
Can someone update Thuban here? It has an M class binary when it's companion should be an A2 class binary.

https://en.wikipedia.org/wiki/Thuban

COMMUNITY ADDON - binary/multiple stars fixes for SE

Posted: 22 Apr 2020 13:27
by Cantra
Is this system here as it should be? If it is, I will make a planet mod for it. 

COMMUNITY ADDON - binary/multiple stars fixes for SE

Posted: 04 Jul 2020 16:36
by spacenginesimulator
JackDole wrote:
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
and this in 'addons\catalogs\planets': 54_PscSys.sc

thanks i needed that

COMMUNITY ADDON - binary/multiple stars fixes for SE

Posted: 31 Jul 2020 08:10
by JackDole
 PSR J0337+1715
Scientists Test Einstein’s Theory of Gravity on Unique Triple-Star System  (It's already from 2018.)

This system is only a binary system in SpaceEngine. But it is actually a triple system.
I made a script for it.
// -*- coding: utf-8 -*-
// Filename: PSR_J0337+1715_Sys.sc

// https://doi.org/10.1051/0004-6361/202038104
//------------------------------------------------------------------------------

LogLevel 1

Remove "PSR J0337+1715 A" {ParentBody "PSR J0337+1715"}
Remove "PSR J0337+1715 B" {ParentBody "PSR J0337+1715"}

Barycenter  "PSR J0337+1715 AB"
{
    ParentBody  "PSR J0337+1715"
    
    MassSol     1.63531
    
    Orbit
    {
        Period          0.89600148
        SemiMajorAxis   0.24                // Calculated by SpaceEngine
        ArgOfPericenter 95.732
        Eccentricity    0.03561955
        Inclination     39.2
        AscendingNode   -44
        MeanAnomaly     0
    }
}

Star "PSR J0337+1715 A"
{
    ParentBody  "PSR J0337+1715 AB"
    Class       "Q"
    
    MassSol     1.4378
    
    RotationPeriod 0.000000759052398
    
    Age            2.45
    
    Orbit
    {
        Period          0.00446411
        SemiMajorAxis   0.00385785          // Calculated by SpaceEngine
        ArgOfPericenter 97.6182
        Eccentricity    0.00069178
        Inclination     39.2
        AscendingNode   -44
        MeanAnomaly     0
    }
}

Star "PSR J0337+1715 B"
{
    ParentBody  "PSR J0337+1715 AB"
    Class       "DB"
    
    MassSol     0.19751
    
    Orbit
    {
        Period          0.00446411
        SemiMajorAxis   0.02808372          // Calculated by SpaceEngine
        ArgOfPericenter 277.6182
        Eccentricity    0.00069178
        Inclination     39.2
        AscendingNode   -44
        MeanAnomaly     0
    }
}

Star "PSR J0337+1715 C"
{
    ParentBody  "PSR J0337+1715"
    Class       "DB"
    
    MassSol     0.4101
 
    Orbit
    {
        Period          0.89600148
        SemiMajorAxis   0.94                // Calculated by SpaceEngine
        ArgOfPericenter 275.732
        Eccentricity    0.035290
        Inclination     39.2
        AscendingNode   -44
        MeanAnomaly     0
   }
}

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

PSR_J0337+1715_Sys.sc
(2.08 KiB) Downloaded 64 times
(Put this file in 'addons\catalogs\planets'.)
scr01113.jpg