Model a satellite with a combination of 3D mechanics and block-based control logic. The satellite is launched from the Earth's surface with a launch sequence. Then a control logic subsystem adjusts altitude and velocity via thrusters. Mathematica is used to design the parameters of the control system.