Articulated and flexible multibody satellite dynamics modeling