Error modeling¶
The whole purpose of Monte Carlo analyses is to support appropriate modeling of errors in the design of the mission. Several models are available by default in Nyx, but you may provide your own or request integration of new models by opening an issue or emailing Chris Rabotin.
Delta-V¶
Pointing error¶
Oftentimes, one needs account for pointing errors in 3-DOF mission design. Nyx provides the dv_pointing_error
method for computing pointing errors.
Let \(\mathbf{v}\) be the velocity vector of the orbit and \(\mathbf{\Delta v}\) be the \(\Delta v\) vector in the same frame which should be applied to the spacecraft.
Start by computing the angle between those vector as
Generate a new angle as the pointing error \(3\sigma\) value using a Normal distribution centered on the current angle:
Return the modified \(\Delta v\) vector as follows such that its magnitude is the same as before but its pointing is off by the provided \(3 \sigma\) value:
Execution error¶
Execution errors include both magnitude and pointing errors, whose \(3 \sigma\) values may differ.
The algorithm starts by applying the pointing error as defined above. Then, it generates a new magnitude for the \(\Delta v\) using a Normal distribution centered on the current magnitude and whose standard deviation is one third of the provided \(3\sigma\) magnitude error:
Finally, return the execution and pointing error vector as follows where \(\mathbf {\Delta v}\) is the velocity change vector with pointing errors:
Random unit vector¶
The unit_vector_from_seed
function generates a unit vector in 3D space following the Sphere Point Picking method.1
It uses a Uniform distribution between 0 and 1 inclusive to generate both the \(u\) and \(v\) parameters.
Generate the angles on the sphere as:
And return the random vector \(\mathbf v\):
-
Weisstein, Eric W. "Sphere Point Picking." From MathWorld ↩