Path: Orbit/Interplanetary
% Spiral to a Hohmann Transfer to Apophis. Computes the Hohmann transfer delta v and the spiral delta v. The actual delta v for the Hohmann will be higher due to the low thrust. The script simulates the outbound spiral plotting the results in earth fixed and heliocentric coordinates. The simulation also computes fuel consumption and will turn off the engine when it runs out of fuel. You start the spacecraft in GPS earth orbit. If there is no thrust, it will oscillate around the earth. The control system applies thrust in the tangential direction. The time step must be small enough to be at least 10 times smaller than the shortest period in the simulation. If you start orbiting earth with a 90 minute period, the time step should be no longer than 9 minutes. You will get better results with shorter time steps. Things to explore: 1. With the engine off vary the DT and look at the earth-centered velocity. It should get smoother as DT decreases. 2. Turn the engine on. Change the thrust to see how long it takes for the spacecraft to escape the earth. Since version 2014.1 ------------------------------------------------------------------------- See also ApophisOrbit, LowThrustEscape, RHSHelioWithPlanets, SolarSysState, HelioFromPlanetInit, CEcl2Eq ------------------------------------------------------------------------- % ------------------------------------------------------------------------- Copyright (c) 2014 Princeton Satellite Systems, Inc. All Rights Reserved -------------------------------------------------------------------------
AC: ACData/ACTConstants Orbit: Interplanetary/ApophisOrbit Orbit: Interplanetary/HelioFromPlanetInit Orbit: Interplanetary/SolarSysState Orbit: OrbitManeuver/DVHoh Orbit: OrbitManeuver/LowThrustEscape Orbit: OrbitMechanics/APlanet Orbit: RHSOrbit/RHSHelioWithPlanets SC: BasicOrbit/CP2I SC: BasicOrbit/E2M SC: BasicOrbit/E2Nu SC: BasicOrbit/M2E SC: BasicOrbit/M2EApp SC: BasicOrbit/M2EEl SC: BasicOrbit/M2EHy SC: BasicOrbit/M2Nu SC: BasicOrbit/M2NuPb SC: BasicOrbit/Nu2E SC: BasicOrbit/Nu2M SC: BasicOrbit/OrbRate SC: BasicOrbit/Period SC: BasicOrbit/RV2El SC: BasicOrbit/RVFromKepler SC: Ephem/CEcl2Eq SC: Ephem/EOfE SC: Ephem/EarthNut SC: Ephem/EarthPre SC: Ephem/EarthRot SC: Ephem/EarthRte SC: Ephem/GMSTime SC: Ephem/MSidDay SC: Ephem/NutDelta SC: Ephem/ObOfE SC: Ephem/Planets SC: Ephem/SolarSys SC: Ephem/TruEarth SC: SCData/sCTConstants SCPro: ProSensors/GPSSatellite Common: CommonData/Constants Common: CommonData/SwooshWatermark Common: CommonData/xSplashSmall Common: Database/Constant Common: GUIs/TimeGUI Common: General/CellToMat Common: General/CloseIfHandle Common: General/DeBlankLT Common: General/DeleteCell Common: General/MatToCell Common: General/Watermark Common: Graphics/Axis3D Common: Graphics/Ellipsd Common: Graphics/Map Common: Graphics/NewFig Common: Graphics/Plot2D Common: Graphics/Plot3D Common: Graphics/PltStyle Common: Graphics/TextS Common: Graphics/TimeLabl Common: Graphics/TitleS Common: Graphics/XLabelS Common: Graphics/YLabelS Common: Graphics/ZLabelS Common: Time/DTSToDTA Common: Time/Date2JD Common: Time/JD2000 Common: Time/JD2T Common: Time/JDToMidnight Math: Integration/RK4 Math: Linear/Cross Math: Linear/DupVect Math: Linear/Mag Math: Linear/Unit Math: MathUtils/R2P5 Math: Trigonometry/CosD Math: Trigonometry/SinD
Back to the Orbit Module page