Skip to content

Documentation / @interstellar-tools/constants / SYSTEMS

Variable: SYSTEMS ​

ts
const SYSTEMS: SystemsType;

Defined in: bodies/systems.ts:29

Predefined systems: the barycenters that stars and planets orbit.

INFO

  • Systems don't list their members; stars and planets name their system as parent.

  • Systems nest: alpha-centauri-ab orbits inside alpha-centauri.

  • distance (from the Sun) and galactic x,y,z are in light-years (ly).

  • Sources: compiled from public references, mainly NASA, NASA JPL, ESA and Wikipedia. See data sources.

Full list of systems in the dataset ​

This list is not an exhaustive list, and addition/changes will be added over time.

idnamekindparentorbit.aorbit.eorbit.periodorbit.retrogradeorbit.angledistancexyz
solar-systemSolar Systemplanetarymilky-way27000 ly0.07230 Myr1.57079632679489660 ly0 ly27000 ly20 ly
spicaSpicabinarymilky-way27201.148872795795 ly0.006550 Myr1.5616057972952029250 ly250 ly27201.148872795795 ly0 ly
alpha-centauriAlpha Centaurimultiplemilky-way27000.000353646294 ly0.07230 Myr1.5706344749465784.37 ly4.37 ly27000.000353646294 ly0 ly
trappist-1TRAPPIST-1planetarymilky-way27000.030618468638 ly0.07230 Myr1.569290327933449140.662 ly40.662 ly27000.030618468638 ly0 ly
siriusSiriusbinarymilky-way27000.001372178926 ly0.07230 Myr1.57047751199088368.608 ly8.608 ly27000.001372178926 ly0 ly
alpha-centauri-abAlpha Centauri ABbinaryalpha-centauri503 au0.5547 kyr3.099566485428788

Example item in dataset:

ts
{
  id: 'alpha-centauri',
  name: 'Alpha Centauri',
  kind: 'multiple',
  parent: 'milky-way',
  // ~4.4 ly away, so its galactic orbit is approximated by the Sun's
  orbit: {
    a: { value: 27000.000353646294, unit: 'ly' },
    e: 0.07,
    period: { value: 230, unit: 'Myr' },
    angle: 1.570634474946578 as Radians
  },
  distance: { value: 4.37, unit: 'ly' },
  x: { value: 4.37, unit: 'ly' },
  y: { value: 27000.000353646294, unit: 'ly' },
  z: { value: 0, unit: 'ly' }
},
{
  // TRAPPIST-1's star and seven planets; 40.662 ly away (Gaia DR3). Placed like Alpha
  // Centauri, at its distance along x with the Sun's galactic orbit
  id: 'trappist-1',
  name: 'TRAPPIST-1',
  kind: 'planetary',
  parent: 'milky-way',
  orbit: {
    a: { value: 27000.030618468638, unit: 'ly' },
    e: 0.07,
    period: { value: 230, unit: 'Myr' },
    angle: 1.5692903279334491 as Radians
  },
  distance: { value: 40.662, unit: 'ly' },
  x: { value: 40.662, unit: 'ly' },
  y: { value: 27000.030618468638, unit: 'ly' },
  z: { value: 0, unit: 'ly' }
},
{
  // Sirius's two stars orbit this barycenter; 8.608 ly away (Bond et al. 2017). Placed
  // like Alpha Centauri, at its distance along x with the Sun's galactic orbit
  id: 'sirius',
  name: 'Sirius',
  kind: 'binary',
  parent: 'milky-way',
  orbit: {
    a: { value: 27000.001372178926, unit: 'ly' },
    e: 0.07,
    period: { value: 230, unit: 'Myr' },
    angle: 1.5704775119908836 as Radians
  },
  distance: { value: 8.608, unit: 'ly' },
  x: { value: 8.608, unit: 'ly' },
  y: { value: 27000.001372178926, unit: 'ly' },
  z: { value: 0, unit: 'ly' }
},
{
  // The A-B pair, orbiting the system barycenter opposite Proxima (Kervella et al. 2017)
  id: 'alpha-centauri-ab',
  name: 'Alpha Centauri AB',
  kind: 'binary',
  parent: 'alpha-centauri',
  orbit: {
    a: { value: 503, unit: 'au' }, // 8700 au × m_P / (m_AB + m_P)
    e: 0.5,
    period: { value: 547, unit: 'kyr' },
    angle: 3.099566485428788 as Radians
  }
}

Example ​

ts
console.log(SYSTEMS[0].name); // "Solar System"

See ​