We consider a numerical study of an optimal control problem for a truck with a fluid basin, which leads to an optimal control problem with a coupled system of partial differential equations (PDEs) and ordinary differential equations (ODEs). The motion of the fluid in the basin is modeled by the nonlinear hyperbolic Saint-Venant (shallow water) equations while the vehicle dynamics are described by the equations of motion of a mechanical multi-body system. These equations are fully coupled through boundary conditions and force terms. We pursue a first-discretize-then-optimize approach using a Lax-Friedrich scheme. To this end a reduced optimization problem is obtained by a direct shooting approach and solved by a sequential quadratic programming method. For the computation of gradients we employ an efficient adjoint scheme. Numerical case studies for optimal braking maneuvers of the truck and the basin filled with a fluid are presented. «
We consider a numerical study of an optimal control problem for a truck with a fluid basin, which leads to an optimal control problem with a coupled system of partial differential equations (PDEs) and ordinary differential equations (ODEs). The motion of the fluid in the basin is modeled by the nonlinear hyperbolic Saint-Venant (shallow water) equations while the vehicle dynamics are described by the equations of motion of a mechanical multi-body system. These equations are fully coupled through... »