Field implementations of getDensity in Atmosphere should use FieldAbsoluteDate for solar position
Because the solar-based models take a PVCoordinatesProvider
for private attribute sun
, the getPosition
only accepts an AbsoluteDate
(obtained via toAbsoluteDate
). This means that partial derivatives w.r.t. time obtained from automatic differentiation e.g. Gradient are wrong. An ExtendedPVCoordinatesProvider
is needed.
Classes concerned:
JB2008
DTM2000
HarrisPriest
NRLMSISE00
Edited by Romain Serra