model spacecraft
to model, simulate, and visualize the motion and dynamics of spacecraft, use the spacecraft library blocks. use the spacecraft dynamics sublibrary blocks to define spacecraft constellation dynamics, orbit propagation, or attitude profile. use the cubesat vehicles sublibrary blocks to define a single cubesat vehicle.
the spacecraft dynamics library contains:
block — models translational and rotational dynamics of spacecraft using numerical integration. it computes the position, velocity, attitude, and angular velocity of one or more spacecraft over time.
you can define orbital states as a set of orbital elements or as position and velocity state vectors in an inertial (icrf) or fixed-frame (ff) coordinate system. to propagate orbital states, the block uses the gravity model defined in the "central body" section. it also uses external accelerations and forces provided as inputs to the block.
you can define attitude states using quaternions, direction cosine matrices (dcms), or euler angles. to propagate attitude states, the block uses moments provided as inputs to the block and mass properties defined in the "mass" section.
— propagates the orbit of one or more spacecraft by a propagation method. the library contains two versions of the orbit propagator block, each preconfigured for a different propagation method, kepler (unperturbed) or numerical (high precision). the kepler (unperturbed) version of the block uses a universal variable formulation propagation method that is considered faster. the numerical (high precision) version of the block uses a numerical integration propagation method, which is considered more accurate and therefore, slower.
to use, define orbital states as a set of orbital elements or as position and velocity state vectors in an inertial (icrf) or fixed-frame coordinate system.
— calculate the shortest quaternion rotation that aligns the primary alignment vector with the primary constraint vector.
provide the primary constraint as either a pointing mode, or via a custom constraint vector. the block then aligns secondary alignment and constraint vectors as much as possible without breaking primary alignment.
the cubesat vehicles library contains the , which provides a high level mission planning/rapid prototyping option to quickly model and propagate satellite orbits, one satellite at a time. for more information on the cubesat vehicle block, see . to propagate multiple satellites simultaneously, see the orbit propagator block.
see also
| | |