Details

Type: Bug

Status: Closed (View Workflow)

Priority: P1

Resolution: Fixed

Affects Version/s: R2015a

Fix Version/s: R2015a

Component/s: Dynamics Models (FRR13)

Labels:None
Description
 Need to disallow CSSISpaceWeatherFile for PredictedWeatherSource and remove as an option from GUI (let GUI tester know).
Done  * Propagation using CSSI file has a numerical issue. See below
If i comment out the CCSI config (lines 29 and 30) and use constant data, I get the following from GMAT, STK and MATLAB for the last row of data in the report.
5114.08882165686 281.017485482097 4376.730927939
If I include lines that turn on the CSSI file then GMAT is off by several hundred meters
Truth Data from MATLAB Propagator USING the CSSI file
MATLAB 5110.58306598338 271.65381968422 4381.84485111088 STK 5110.584168146387 271.65670971167197 4381.84329571158470 GMAT 5110.522505999485 271.4945980152261 4381.930892193545
MATLAB and STK agree to a few meters, but GMAT is off by about 200 meters.
I believe this is partially due to the fact that when using daily values for Ap, you need to change one of the input flags to the MSISE models. The call sequence looks like this
[T, RHO] = atmosnrlmsise00(H, LAT, LON, YEAR, DOY, SEC, LST, F107A, F107, APH, FLAGS, ITYPE, OTYPE, ACTION)
where FLAGS is a vector. In MATLAB (which indexes from 1), you set Flag(9) = 1 when using the daily values off of the CSSI file. (C interface may need element 8, not sure)
Gliffy Diagrams
Attachments
Activity
 All
 Comments
 Work Log
 History
 Activity
 Subversion
Now at ~4 m difference from STK for the test case.