Effect of planetary gearboxes on the dynamics of rotating systems