Class PredictionModel
- Namespace
- NominalSystems.Universe
- Assembly
- NominalSystems.Universe.dll
[Nominal] The prediction model is produced by the prediction engine and is able to calculate pass times based on the paths of the objects. This will already store a list of data points for the object and will be able to calculate individual states and access times.
public class PredictionModel
- Inheritance
-
PredictionModel
Properties
Count
The number of times that the prediction is being made for.
public int Count { get; }
Property Value
Methods
GetAccess(GeodeticElements, double, double, double)
Calculates the access of a particular observer to the object at a particular time. This will return the slant range, elevation and azimuth of the object. Additionally, access parameters such as minimum elevation and maximum range can be set.
public SpacecraftAccess GetAccess(GeodeticElements observer, double time, double minElevation = 0, double maxRange = 0)
Parameters
observer
GeodeticElementsThe geodetic location of the observer
time
double[s] The time to look up the data for
minElevation
double[deg] The minimum angle above the horizon that is accessible
maxRange
double[m] The maximum range between the two objects. If less than or equal to zero, there is no maximum
Returns
- SpacecraftAccess
The access data containing the information about a particular access
GetAccess(GroundStation, double)
Calculates the access of a particular ground station at a particular point in time. This will return the slant range, elevation and azimuth of the object.
public SpacecraftAccess GetAccess(GroundStation station, double time)
Parameters
station
GroundStationThe ground station to calculate the passes with the object for
time
double[s] The time to lookup the data for
Returns
- SpacecraftAccess
The access data containing the information about a particular access
GetGeodetics()
Returns a list of all geodetic elements, as a geodetic coordinate, from the current prediction states.
public GeodeticElements[] GetGeodetics()
Returns
- GeodeticElements[]
A list of all geodetics
GetPasses(GeodeticElements, double, double)
Calculates the passes between the object in the simulation and a stationary observer as a geodetic location. This will return a list of passes that are accessible to the observer. The minimum elevation and maximum range can be set to filter the passes.
public PredictionPass[] GetPasses(GeodeticElements observer, double minElevation = 0, double maxRange = 0)
Parameters
observer
GeodeticElementsThe location of the observer as a geodetic coordinate
minElevation
double[deg] The minimum angle above the horizon that is accessible
maxRange
double[m] The maximum range between the two objects. If less than or equal to zero, there is no maximum
Returns
- PredictionPass[]
A list of prediction passes that will occur over the current path
GetPasses(GroundStation)
Calculates the passes and information between the object and a particular ground station, based on the ground station properties.
public PredictionPass[] GetPasses(GroundStation station)
Parameters
station
GroundStationThe ground station to calculate the passes with the object for
Returns
- PredictionPass[]
A list of prediction passes that will occur over the current path
GetPositions()
Returns a list of all positions, as an ECI coordinate in meters, from the current prediction states.
public Vector3[] GetPositions()
Returns
- Vector3[]
A list of all positions
GetState(double)
Computes the state of the object at a particular time. This also uses a linear interpolation to calculate the state.
public VectorElements GetState(double time)
Parameters
time
double[s] The time to lookup
Returns
- VectorElements
[m] The position and velocity of the object at a point in calculated time