# NOT RUN {
if(requireNamespace("asteRiskData", quietly = TRUE)) {
# The following are the position and velocity in the GCRF frame of satellite
# MOLNIYA 1-83 the 25th of June, 2006 at 00:33:43 UTC.
initialPosition <-c(-14568679.5026116, -4366250.78287623, 9417.9289105405)
initialVelocity <- c(-3321.17428902497, -3205.49400830455, 4009.26862308806)
initialTime <- "2006-06-25 00:33:43"
# Molniya satellites have a mass of approximately 1600 kg and a cross-section of
# 15 m2. Additionally, let<U+00B4>s use 2.2 and 1.2 as approximately values of the
# drag and reflectivity coefficients, respectively.
molniyaMass <- 1600
molniyaCrossSection <- 15
molniyaCr <- 1.2
molniyaCd <- 2.2
# Let<U+00B4>s calculate the position and velocity of the satellite for each minute of
# the following 10 minutes.
targetTimes <- seq(0, 600, by=60)
hpop_results <- hpop(initialPosition, initialVelocity, initialTime, targetTimes,
molniyaMass, molniyaCrossSection, molniyaCrossSection,
molniyaCr, molniyaCd)
}
# }
Run the code above in your browser using DataLab