This Xcos block converts classical keplerian orbital elements to position and velocity for an elliptic, hyperbolic or parabolic orbit.
This Xcos block converts classical keplerian orbital elements to position and velocity for an elliptic, hyperbolic or parabolic orbit. One or both of the outputs (position and/or velocity) can be connetcted. Block changes its output immediatelly at every input change.
Input: 6x1 double (sma; eccentricity; inclination; periapsis; RAAN; mean_anomaly)
Output 1: 3x1 double (position in cartesian frame)
Output 2: 3x1 double (velocity in cartesian frame)
This block has no dialog box.
This block has no cofigurable properties.
macros/KEP_TO_CAR.sci
macros/AB_oe_kep2car.sci
CelestLab - CelestLab aerospace library
CL_oe_kep2car - CelestLab function used to perform the conversion from keplerian to cartesian elements.
ECI_TO_ECF - Aerospace Blockset block allowing for conversion from Earth Centered Inertial (ECI) to Earth Centered Earth Fixed (ECI) reference frame
KEPLERIAN_INPUT - Aerospace Blockset block allowing for user-friendly input of keplerian elements.