  We study singular optimal control problems of port-Hamiltonian systems. We
study general control-affine cost functionals that include as a special case
the energy supplied to the system. We derive optimality conditions for the case
with and without control bounds by applying the general theory to the specially
structured port-Hamiltonian case, and show that this leads to nice optimality
conditions, in particular in the linear case.
