Nonlinear dynamics of planetary gears using analytical and finite element models