|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.orekit.forces.atmospheres.DTM2000
public class DTM2000
This atmosphere model is the realization of the DTM-2000 model.
NB Since the initial implementation (rev 1665), the model has been modified to fix a bug (see Story V-83 for validation) : the number of days in the year (cachedDay)is a double, instead of an integer. This modification should be integrated in the OREKIT future version.
It is described in the paper:
The DTM-2000 empirical thermosphere model with new data assimilation
and constraints at lower boundary: accuracy and properties
S. Bruinsma, G. Thuillier and F. Barlier
Journal of Atmospheric and Solar-Terrestrial Physics 65 (2003) 1053–1070
Two computation methods are proposed to the user:
getDensity(double, double, double, double, double, double, double, double, double)
.drag force model
computation.This model provides dense output for altitudes beyond 120 km. Computed data are:
The model needs geographical and time information to compute general values, but also needs space weather data : mean and instantaneous solar flux and geomagnetic indices.
Mean solar flux is (for the moment) represented by the F10.7 indices. Instantaneous flux can be set to the mean value if the data is not available. Geomagnetic activity is represented by the Kp indice, which goes from 1 (very low activity) to 9 (high activity).
All these data can be found on the NOAA (National Oceanic and Atmospheric Administration) website.
Mod : Modified line 871, added TimeZone.getTimeZone("GMT+00:00") to get a GregorianCalendar that doesnt depend on the machine locale time zone.
Mod : DTM2000 thread-safety improved : instances in different threads no longer corrupt each others' computations. But sharing one instance between several threads is untested (no realistic use case found).
Field Summary | |
---|---|
static int |
ATOMIC_NITROGEN
Identifier for atomic nitrogen. |
static int |
ATOMIC_OXYGEN
Identifier for atomic oxygen. |
static int |
HELIUM
Identifier for helium. |
static int |
HYDROGEN
Identifier for hydrogen. |
static int |
MOLECULAR_NITROGEN
Identifier for molecular nitrogen. |
static int |
MOLECULAR_OXYGEN
Identifier for molecular oxygen. |
Constructor Summary | |
---|---|
DTM2000(DTM2000InputParameters parameters,
PVCoordinatesProvider sun,
BodyShape earth)
Simple constructor for independent computation. |
Method Summary | |
---|---|
AtmosphereData |
getData(AbsoluteDate date,
Vector3D position,
Frame frame)
Get detailed atmospheric data. |
double |
getDensity(AbsoluteDate date,
Vector3D position,
Frame frame)
Get the local density. |
double |
getDensity(double day,
double alti,
double lon,
double lat,
double hl,
double f,
double fbar,
double akp3,
double akp24)
Deprecated. use getDensity(AbsoluteDate, Vector3D, Frame) instead |
double |
getMam()
Deprecated. use getData(AbsoluteDate, Vector3D, Frame) instead |
double |
getPartialDensities(int identifier)
Deprecated. use getData(AbsoluteDate, Vector3D, Frame) instead |
double |
getSpeedOfSound(AbsoluteDate date,
Vector3D position,
Frame frame)
Get the local speed of sound. |
double |
getT()
Deprecated. use getData(AbsoluteDate, Vector3D, Frame) instead |
double |
getTinf()
Deprecated. use getData(AbsoluteDate, Vector3D, Frame) instead |
Vector3D |
getVelocity(AbsoluteDate date,
Vector3D position,
Frame frame)
Get the inertial velocity of atmosphere molecules. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int HYDROGEN
public static final int HELIUM
public static final int ATOMIC_OXYGEN
public static final int MOLECULAR_NITROGEN
public static final int MOLECULAR_OXYGEN
public static final int ATOMIC_NITROGEN
Constructor Detail |
---|
public DTM2000(DTM2000InputParameters parameters, PVCoordinatesProvider sun, BodyShape earth) throws OrekitException
parameters
- the solar and magnetic activity datasun
- the sun positionearth
- the earth body shape
OrekitException
- if some resource file reading error occursMethod Detail |
---|
@Deprecated public double getDensity(double day, double alti, double lon, double lat, double hl, double f, double fbar, double akp3, double akp24) throws OrekitException
getDensity(AbsoluteDate, Vector3D, Frame)
instead
day
- day of yearalti
- altitude in meterslon
- local longitude (rad)lat
- local latitude (rad)hl
- local solar time in rad (O hr = 0 rad)f
- instantaneous solar flux (F10.7)fbar
- mean solar flux (F10.7)akp3
- 3 hrs geomagnetic activity index (1-9)akp24
- Mean of last 24 hrs geomagnetic activity index (1-9)
OrekitException
- if altitude is outside of supported range@Deprecated public double getTinf()
getData(AbsoluteDate, Vector3D, Frame)
instead
getDensity
method must be called before calling this function.
@Deprecated public double getT()
getData(AbsoluteDate, Vector3D, Frame)
instead
getDensity
method must be called before calling this function.
@Deprecated public double getMam()
getData(AbsoluteDate, Vector3D, Frame)
instead
getDensity
method must be called before calling this function.
@Deprecated public double getPartialDensities(int identifier)
getData(AbsoluteDate, Vector3D, Frame)
instead
getDensity
method must be called before calling this function.
identifier
- one of the six elements : HYDROGEN
, HELIUM
,
ATOMIC_OXYGEN
, MOLECULAR_NITROGEN
, MOLECULAR_OXYGEN
, ATOMIC_NITROGEN
public double getDensity(AbsoluteDate date, Vector3D position, Frame frame) throws OrekitException
getDensity
in interface Atmosphere
date
- current dateposition
- current position in frameframe
- the frame in which is defined the position
OrekitException
- if date is out of range of solar activity model
or if some frame conversion cannot be performedpublic Vector3D getVelocity(AbsoluteDate date, Vector3D position, Frame frame) throws OrekitException
getVelocity
in interface Atmosphere
date
- current dateposition
- current position in frameframe
- the frame in which is defined the position
OrekitException
- if some frame conversion cannot be performedpublic double getSpeedOfSound(AbsoluteDate date, Vector3D position, Frame frame) throws OrekitException
getSpeedOfSound
in interface Atmosphere
date
- current dateposition
- current position in frameframe
- the frame in which is defined the position
OrekitException
- if some conversion cannot be performedpublic AtmosphereData getData(AbsoluteDate date, Vector3D position, Frame frame) throws OrekitException
DTM2000 provides all data mentioned in AtmosphereData
except partial density of Argon and anomalous
oxygen.
getData
in interface ExtendedAtmosphere
date
- current dateposition
- current position in frameframe
- the frame in which is defined the position
OrekitException
- if some atmospheric data cannot be retrieved (because date is out of
range of solar activity model or if some frame conversion cannot be performed)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |