% % Write_Multiple_ReportFile_Concise_2 % % Write out a large number of resources, arrays, variables, and strings. % % 08/29/2016 SES Initial version. % % % Create some resources % Create GroundStation DS24; DS24.CentralBody = Earth; DS24.StateType = Cartesian; DS24.HorizonReference = Ellipsoid; DS24.Location1 = -2354.90671; DS24.Location2 = -4646.84008; DS24.Location3 = 3669.24232; DS24.Id = 24; DS24.MinimumElevationAngle = 7.0; DS24.IonosphereModel = 'IRI2007'; DS24.TroposphereModel = 'HopfieldSaastamoinen'; DS24.Temperature = 295.1; DS24.Pressure = 1013.5; DS24.Humidity = 55.0; DS24.ErrorModels = {em}; Create BatchEstimatorInv bls; bls.ShowProgress = True; bls.Measurements = {DSNMeas} bls.AbsoluteTol = 0.000005; bls.RelativeTol = 0.00005; bls.MaximumIterations = 15; bls.MaxConsecutiveDivergences = 4; bls.Propagator = RK89; bls.ShowAllResiduals = On; bls.OLSEInitialRMSSigma = 1000; bls.OLSEMultiplicativeConstant = 3; bls.OLSEAdditiveConstant = 0; bls.InversionAlgorithm = 'Internal'; bls.UseInitialCovariance = True; bls.EstimationEpochFormat = 'FromParticipants'; bls.EstimationEpoch = 'FromParticipants'; bls.ReportStyle = 'Normal'; bls.ReportFile = 'G:\GMAT\Testing\Missions\SOHO\ioc\sohdg.gmat.data.out'; bls.MatlabFile = 'G:\GMAT\Testing\Missions\SOHO\ioc\sohdg.mat'; Create TrackingFileSet tfs; tfs.FileName = {'G:\GMAT\Testing\Missions\SOHO\ioc\sohdg.dsn_range.gmd'}; tfs.RampTable = {'G:\GMAT\Testing\Missions\SOHO\ioc\sohdg.rmp'}; tfs.UseLightTime = True; tfs.UseRelativityCorrection = False; tfs.UseETminusTAI = False; tfs.DataFilters = {AcceptDSNRange}; Create ErrorModel em; em.Type = 'Range_RU'; em.NoiseSigma = 51; em.Bias = 0.0; em.SolveFors = {}; Create StatisticsAcceptFilter saf; saf.EpochFormat = UTCGregorian; saf.DataTypes = {'Range_RU'}; saf.InitialEpoch = '22 Jul 2015 00:00:00.000'; saf.FinalEpoch = '12 Aug 2015 00:00:00.000'; % % Array % Create Array covariance[6,6]; covariance(1,1) = 1e+070; covariance(2,2) = 1e+070; covariance(3,3) = 1e+070; covariance(4,4) = 1e+070; covariance(5,5) = 1e+070; covariance(6,6) = 1e+070; Create Array covariance2[6,6]; covariance2(1,1) = 1e-4; covariance2(2,2) = 1e-4; covariance2(3,3) = 1e-4; covariance2(4,4) = 1e-5; covariance2(5,5) = 1e-6; covariance2(6,6) = 1e-7; % % String % Create String quote; quote = 'Now is the time for all good men to come to the aid of their country.'; Create String quote2; quote2 = 'This is the way the world ends. Not with a bang but a whimper.'; % % Variable % Create Variable pi; pi = 3.14159; Create Variable tau; tau = 6.283185; % % Report file % Create ReportFile ResourceReport; ResourceReport.Filename = 'Write_Multiple_ReportFile_Concise_2.txt'; ResourceReport.WriteHeaders = False; % % Mission Sequence % BeginMissionSequence Write DS24 bls tfs em saf covariance covariance2 quote quote2 pi tau {... ReportFile = ResourceReport, ... Style = Concise ... };