DFFSim:

Path: FormationFlying/Analysis

% Simulation routine for testing DFF guidance and control laws. 

--------------------------------------------------------------------------
   Usage:
   [t,el,fH,xH,dEl,dElDes] = DFFSim( el0, dEl0, teamGoals, dT, planTime, nOrbits, J2, dTMax, fNom, mass );
--------------------------------------------------------------------------

   ------
   Inputs
   ------
   el0          (1,6)  Initial reference orbital elements  (Alfriend format)
   dEl0         (1,6)  Initial orbital element differences (Alfriend format)
   teamGoals     (.)   Goals data structure defining desired relative motion for team
   dT            (1)   Time step for the simulation [sec]
   planTime      (1)   Time (into sim) to plan the reconfiguration maneuver [orbits]
   nOrbits       (1)   Number of orbits to simulate [orbits]
   J2            (1)   Flag indicating whether to simulate with J2 or not
   dTMax        (1,1)  Burn duration (s)
   fNom         (1,1)  Nominal thrust (N)
   mass         (1,1)  Spacecraft mass (kg)

   -------
   Outputs
   -------
   t            (1,:)  Time vector [orbits] 
   el           (:,6)  Orbital elements of the reference (Alfriend format)
   fH           (3,:)  Applied thrust in Hills frame [kN]
   xH           (6,:)  Relative position and velocity in Hills frame [km; km/s]
   dEl          (:,6)  Mean orbital element differences    (Alfriend format)
   dElDes       (:,6)  Desired orbital element differences (Alfriend format)
   
--------------------------------------------------------------------------

Children:

AC: ACData/ACTConstants
AerospaceUtils: AtmosphericCalculations/AtmDens2
AerospaceUtils: AtmosphericCalculations/AtmJ70
AerospaceUtils: AtmosphericCalculations/BaromExp
AerospaceUtils: AtmosphericCalculations/DiffusionExp
AerospaceUtils: Coord/ECIToEF
FormationFlying: Control/ImpulsiveLPManeuver
FormationFlying: Control/ImpulsiveManeuver
FormationFlying: Control/InPlane
FormationFlying: Control/IterativeImpulsiveManeuver
FormationFlying: Control/Lyapunov
FormationFlying: Control/OptimalInPlaneDeltaV
FormationFlying: Control/OutOfPlane
FormationFlying: Coord/CirclePhase
FormationFlying: Coord/EllipsePhase
FormationFlying: Coord/GetHillsMats
FormationFlying: Coord/InitializeFormation
FormationFlying: Coord/IsCircGeom
FormationFlying: Coord/IsEccGeom
FormationFlying: Coord/RotateState
FormationFlying: Coord/TeamGoals2Geom
FormationFlying: DataStructures/BurnData_Structure
FormationFlying: DataStructures/Constraints_Structure
FormationFlying: DataStructures/CostEstimate_Structure
FormationFlying: DataStructures/EccGeometry_Structure
FormationFlying: DataStructures/Geometry_Structure
FormationFlying: DataStructures/Maneuver_Structure
FormationFlying: DataStructures/PlanningParameters_Structure
FormationFlying: DataStructures/TeamGoals_Structure
FormationFlying: DataStructures/Window_Structure
FormationFlying: Dynamics/DiscreteHills
FormationFlying: Dynamics/HillsEqns
FormationFlying: EccDynamics/FFEccDH
FormationFlying: EccDynamics/FFEccDiscreteHills
FormationFlying: EccDynamics/FFEccGoals
FormationFlying: EccDynamics/FFEccIntConst
FormationFlying: EccDynamics/FFEccLawdensEqns
FormationFlying: EccDynamics/FFEccLinOrb
FormationFlying: EccDynamics/FFEccProp
FormationFlying: EccDynamics/FFEccRMat
FormationFlying: EccDynamics/FFEccXExt
FormationFlying: EccDynamics/FFEccYExt
FormationFlying: EccDynamics/FFEccZExt
EccDynamics: Derivatives/FFEccDDX
EccDynamics: Derivatives/FFEccDDY
EccDynamics: Derivatives/FFEccDDZ
EccDynamics: Derivatives/FFEccDX
EccDynamics: Derivatives/FFEccDY
EccDynamics: Derivatives/FFEccDZ
FormationFlying: Guidance/CostMatrixRows
FormationFlying: Guidance/EstimateCost
FormationFlying: Guidance/FindMinSet
FormationFlying: Guidance/GenerateTeamGoals
FormationFlying: Guidance/InitializeCostMatrix
FormationFlying: Guidance/OptimalAssignment
FormationFlying: Guidance/PCGoals
FormationFlying: Guidance/PopulateCostMatrix
FormationFlying: Guidance/PrivilegedAssignment
FormationFlying: Guidance/SetupAssignmentProblem
FormationFlying: Guidance/SortTeamGoals
FormationFlying: LP/LPCircular
FormationFlying: LP/LPCircularTimeWeight
FormationFlying: LP/LPEccentric
FormationFlying: LP/LPEccentricGVE
FormationFlying: LP/LPEccentricTimeWeight
FormationFlying: Transformation/AbsRelECI2Hills
FormationFlying: Transformation/DeltaElem2Goals
FormationFlying: Transformation/DeltaElem2Hills
FormationFlying: Transformation/ECI2Hills
FormationFlying: Transformation/ECI2MeanElements
FormationFlying: Transformation/FFEccGoals2Hills
FormationFlying: Transformation/FFEccHills2DeltaElem
FormationFlying: Transformation/FFEccHills2Goals
FormationFlying: Transformation/GeometryCirc2Ecc
FormationFlying: Transformation/GeometryEcc2Circ
FormationFlying: Transformation/Goals2DeltaElem
FormationFlying: Transformation/Goals2Hills
FormationFlying: Transformation/Hills2DeltaElem
FormationFlying: Transformation/Hills2ECI
FormationFlying: Transformation/Hills2Goals
FormationFlying: Transformation/Osc2Mean
FormationFlying: Utility/AccelVector2ManeuverStruct
FormationFlying: Utility/ApplyDeltaV
FormationFlying: Utility/FFEccTargetTrueAnom
FormationFlying: Utility/ManeuverStruct2AccelVector
FormationFlying: Utility/MeanAnom2TrueLat
FormationFlying: Utility/NOrbVector
FormationFlying: Utility/Nu2TimeDomain
FormationFlying: Utility/NuDot
FormationFlying: Utility/Time2NuDomain
FormationFlying: Utility/TimeUntilTheta
FormationFlying: Visual/CostVis
FormationFlying: Visual/FFEccAnalyzeShape
FormationFlying: Visual/HillsFramePlot
FormationFlying: Visual/ViewRelativeMotion
Orbit: GravityModels/LoadGEM
Orbit: GravityModels/LoadGravityModel
Orbit: GravityModels/NormalizationMatrix
Orbit: GravityModels/UnnormalizeGravity
Orbit: OrbitCoord/Alfriend2El
Orbit: OrbitCoord/El2Alfriend
Orbit: OrbitCoord/OrbElemDiff
Orbit: OrbitCoord/SLR
Orbit: OrbitMechanics/AGravity
Orbit: OrbitMechanics/APlanet
Orbit: OrbitMechanics/CylOrb
Orbit: OrbitMechanics/GVEDynamics
Orbit: OrbitMechanics/RVOrbGen
Orbit: OrbitMechanics/SphOrb
Orbit: RHSOrbit/FOrb
Orbit: RHSOrbit/FOrbHF
Orbit: RHSOrbit/LinOrb
Plotting: GUI/AnimationGUI
Plotting: Help/HelpSystem
Plotting: Utilities/InitializeAxes
SC: BasicOrbit/CP2I
SC: BasicOrbit/E2M
SC: BasicOrbit/E2Nu
SC: BasicOrbit/El2RV
SC: BasicOrbit/FOrbCart
SC: BasicOrbit/M2E
SC: BasicOrbit/M2EApp
SC: BasicOrbit/M2EEl
SC: BasicOrbit/M2EHy
SC: BasicOrbit/M2Nu
SC: BasicOrbit/M2NuAbs
SC: BasicOrbit/M2NuPb
SC: BasicOrbit/Nu2E
SC: BasicOrbit/Nu2M
SC: BasicOrbit/Nu2MAbs
SC: BasicOrbit/OrbRate
SC: BasicOrbit/Period
SC: BasicOrbit/RV2El
SC: Disturbances/SolarF
SC: Ephem/Eclipse
SC: Ephem/MoonV1
SC: Ephem/SunV1
SC: SCData/sCTConstants
SC: SCMat/GEMT1
Common: CommonData/Constants
Common: CommonData/SwooshWatermark
Common: CommonData/xSplashSmall
Common: ComponentModels/Box
Common: ComponentModels/Cone
Common: ComponentModels/Frustrum
Common: Control/C2DZOH
Common: Database/Constant
Common: General/CellToMat
Common: General/CloseFigure
Common: General/DeBlankLT
Common: General/DeleteCell
Common: General/DispWithTitle
Common: General/GetNewTag
Common: General/MatToCell
Common: General/StringMatch
Common: General/Watermark
Common: Graphics/AddView
Common: Graphics/AddZoom
Common: Graphics/Axis3D
Common: Graphics/CameraControls
Common: Graphics/DrawVertices
Common: Graphics/Ellipsd
Common: Graphics/Map
Common: Graphics/Mesh2
Common: Graphics/NPlot
Common: Graphics/NewFig
Common: Graphics/Plot2D
Common: Graphics/PltStyle
Common: Graphics/SliderBar
Common: Graphics/TimeLabl
Common: Graphics/TitleS
Common: Graphics/XLabelS
Common: Graphics/YLabelS
Common: Graphics/ZLabelS
Common: Quaternion/QForm
Common: Quaternion/QTForm
Common: Quaternion/U2Q
Common: Time/DTAToDTS
Common: Time/DTSToDTA
Common: Time/Date2DN
Common: Time/Date2JD
Common: Time/JD2000
Common: Time/JD2DN
Common: Time/JD2Date
Common: Time/JD2T
Common: Time/T2JD
Common: Transform/RotMat
Math: Analysis/PDAL
Math: Analysis/SCHarm
Math: Analysis/Simplex
Math: Analysis/Simplex2
Math: Geometry/Perpendicular
Math: Integration/RK4
Math: Linear/Cross
Math: Linear/Dot
Math: Linear/DupVect
Math: Linear/Factorl
Math: Linear/InvP
Math: Linear/Mag
Math: Linear/Unit
Math: MathUtils/R2P5
Math: Solvers/NewtRaph
Math: Trigonometry/ACosD
Math: Trigonometry/CosD
Math: Trigonometry/SinD
Math: Trigonometry/UnwrapPhase
Math: Trigonometry/WrapPhase

Back to the FormationFlying Module page