Demonstrate the use of FFSim to analyze disturbance effects.
------------------------------------------------------------------------
See also FFSim, FFSimPlotter, Goals2DeltaElem
------------------------------------------------------------------------
Contents
if( ~exist('FormationFlying/Transformation/Goals2DeltaElem') )
warning('This demo requires the Formation Flying Module.')
return
end
Initialize simulation data structure
clear s;
s.el0 = [6928.14 0 0.617846555205993 0 0 0];
s.goals.y0 = 0;
s.goals.aE = .25;
s.goals.beta = 0;
s.goals.zInc = .1;
s.goals.zLan = -.1;
s.dEl0 = Goals2DeltaElem( s.el0, s.goals );
s.nOrbits = 5;
s.nSPO = 300;
s.distOpt = [1 1 1];
s.area = [1 .5];
s.mass = [50 10];
Simulate
d = FFSim(s);
5.0 orbits remaining ... should be done in 0 hours, 4 minutes, 2 seconds
4.0 orbits remaining ... should be done in 0 hours, 0 minutes, 8 seconds
3.0 orbits remaining ... should be done in 0 hours, 0 minutes, 6 seconds
2.0 orbits remaining ... should be done in 0 hours, 0 minutes, 4 seconds
1.0 orbits remaining ... should be done in 0 hours, 0 minutes, 2 seconds
View results...
FFSimPlotter( d );