This Xcos block allows to position and velocity of the planets in EOD reference frame.
This Xcos block allows to position of the planets in EOD (Ecliptic of the day) reference frame. It is possible to use the block with event input or to configure it to herit events from previous block. There are three model precision settings available: "medium", "high" and "full". Available planets are "Mercury", "Venus", "Earth", "Mars", "Jupiter", "Saturn", "Uranus" and "Neptune"
Input: Time in Modified Julian Day since 1950 format (1x1) real
Output 1: Planet position vector from Earth in EOD (Ecliptic of the day) reference frame [m] (3x1) real
Output 1: Planet velocity vector from Earth in EOD (Ecliptic of the day) reference frame [m/s] (3x1) real
Planet name - Text string indicating which planet position and velocity should be calculated. Available planets are "Mercury", "Venus", "Earth", "Mars", "Jupiter", "Saturn", "Uranus" and "Neptune"
Model precision(med/high/full) - Setting defining precision of hte used model
Accept herited events (0/1) - If 1 the block will accept herited events, if 0 it will have its own event input.
macros/PLANET_MODEL.sci
macros/AB_mod_moonSun.sci