Abstract
We consider mechanical systems where the dynamics are partially constrained to prescribed trajectories. An example for such a system is a building crane with a load and the requirement that the load moves on a certain path. Modelling the system using Newton's second law- "The force acting on an object is equal to the mass of that object times its acceleration."- and enforcing the servo constraints directly leads to differential-algebraic equations (DAEs) of arbitrarily high index. Typically,the model equations are of index 5 which already poses high regularity conditions. Also, common approaches for the numerical time-integration will likely fail. If one relaxes the servo constraints and considers the system from an optimal control point of view, the strong regularity conditions vanish and the solution can be obtained by standard techniques. By means of a spring-mass system, we illustrate the theoretical and expected numerical difficulties. We show how the formulation of the problem in an optimal control context works and address the solvability of the optimal control system. We discuss that the problematic DAE behavior is still inherent in the optimal control system and show how its evidences depend on the regularization parameters of the optimization.