1.STK中卫星轨道参数英文所对应的中文意思
?依次是半长轴a/km,离心率e,轨道倾角i/度,近地点幅角w/度,升交点赤经/度,纬度幅角u/度
2.发现问题:在使用SetState命令时,如
root.ExecuteCommand('SetState */Satellite/MySatellite Classical TwoBody "UseAnalysisStartTime" "UseAnalysisStopTime" 60 ICRF "UseAnalysisStartTime" 6678.14 0 28 90 0 90 0.01'); %<SemiMajorAxis> <Eccentricity> <Inclination> <ArgOfPerigee> <RAAN> <MeanAnom>
在使用SetState命令时,发现如果设置参数近地点幅角为0,则可以正确设置所有卫星轨道参数,如果设置参数近地点幅角不为0,则不能正确设置所有卫星轨道参数,表现为:设置参数近地点幅角不为0,生成轨道参数近地点幅角为0,纬度幅角为设置参数中近地点幅角与纬度幅角数值之和,对应的测试代码和轨道参数截图如下:
root.ExecuteCommand('New / */Satellite MySatellite1');
root.ExecuteCommand('SetUnits / km');%Default Connect Units are meters
root.ExecuteCommand('SetState */Satellite/MySatellite1 Classical TwoBody "UseAnalysisStartTime" "UseAnalysisStopTime" 60 ICRF "UseAnalysisStartTime" 6678.14 0 28 90 0 90'); %<SemiMajorAxis> <Eccentricity> <Inclination> <ArgOfPerigee> <RAAN> <MeanAnom>
root.ExecuteCommand('New / */Satellite MySatellite2');
root.ExecuteCommand('SetUnits / km');%Default Connect Units are meters
root.ExecuteCommand('SetState */Satellite/MySatellite2 Classical TwoBody "UseAnalysisStartTime" "UseAnalysisStopTime" 60 ICRF "UseAnalysisStartTime" 6400 0 28 0 120 1'); %<SemiMajorAxis> <Eccentricity> <Inclination> <ArgOfPerigee> <RAAN> <MeanAnom>
root.ExecuteCommand('New / */Satellite MySatellite3');
root.ExecuteCommand('SetUnits / km');%Default Connect Units are meters
root.ExecuteCommand('SetState */Satellite/MySatellite3 Classical J2Perturbation "UseAnalysisStartTime" "UseAnalysisStopTime" 60 J2000 "UseAnalysisStartTime" 7163000.137079 0.0 98.5 0.0 139.7299 360.0'); %<SemiMajorAxis> <Eccentricity> <Inclination> <ArgOfPerigee> <RAAN> <MeanAnom>
root.ExecuteCommand('New / */Satellite MySatellite4');
root.ExecuteCommand('SetUnits / km');%Default Connect Units are meters
root.ExecuteCommand('SetState */Satellite/MySatellite4 Classical J2Perturbation "UseAnalysisStartTime" "UseAnalysisStopTime" 60 J2000 "UseAnalysisStartTime" 7163000.137079 0.0 98.5 2.0 139.7299 0.0');
root.ExecuteCommand('New / */Satellite MySatellite5');
root.ExecuteCommand('SetUnits / km');%Default Connect Units are meters
root.ExecuteCommand('SetState */Satellite/MySatellite5 Classical J2Perturbation "UseAnalysisStartTime" "UseAnalysisStopTime" 60 J2000 "UseAnalysisStartTime" 7163000.137079 0.0 98.5 2.0 139.7299 10.0');
?分析数据
?问题待解决!
|