Closed AlexBadauer closed 4 years ago
Hi Alex,
The problem is that a 'NaN' value is occuring somewhere in your simulation, which results in Spice being queried at t=NaN, leading to this error.
The issue may be the degree 300 Earth gravity field you're using. I'm not sure the Earth gravity field in Tudat goes up to degree 300 (also, it is by no means a particularly accurate gravity field). But, I doubt very much that you need degree 300. You have a semi-major axis of 30000 km, so I'm pretty sure only the very low order terms will suffice.
Dominic
Hi Dominic,
thank you very much for your help!
Best Alex
Hey everyone,
I'm working on an example of tudat, the "GalileoSimulator", but I get an error I need a hint to solve.
What I did:
I modified the example to account the accelerations of multiple planets.
Added the use of DirectSpiceEphemeris
And increased the number and order of the spherical acceleration model
The whole file is included in the following test2.zip
The Problem:
Everytime I try to run the simulation I get the following error message
What I tried until now:
I found out, that this error is also mentioned in issue #263, in which DominikDirkx said, that would occur when a NaN value is put into Spice.
Then I searched within the documentation of Spice and found out, that the beginning date seems to be the problem
Therefore I tried to avoid this situation by changing the simulation start epoch from zero to 1E7
Next I read the documentation of tudat regarding external librarys: spice that the kernel loaded by "spice_interface::loadStandardSpiceKernels( );" is only valid between 1975 - 2025.
Not knowing about the timescale that is transferred to spice I wanted to use
but
'convertdateStringToEphemerisTime' was not declared in this scope
What I would like to ask:
could someone please give me a hint
Thank you for your time
Alex