Some optimal control problems for linear and nonlinear ordinary differential equations related to the optimal switching between
different magnetic fields are considered. The main aim is to move an electrical initial current by a controllable
voltage in shortest time to a desired terminal current and to hold it afterwards. Necessary optimality conditions are derived by
Pontryagin's principle and a Lagrange technique. In the case of a linear system, the principal structure of time-optimal controls is
discussed. The associated optimality systems are solved by a one-shot strategy
using a multigrid software package. Various numerical examples are discussed.
Two optimal control problems for instationary magnetization
processes are considered in 3D spatial domains that
include electrically conducting and nonconducting regions. The magnetic
fields are generated by induction coils. In the first model, the induction coil
is considered as part of the conducting region and the electrical current is taken
as control. In the second, the coil is viewed as part of the nonconducting region and the
electrical voltage is the control. Here, an integro-differential equation accounts
for the magnetic induction law that couples the given
electrical voltage with the induced electrical current in the
induction coil.
We derive first-order necessary
optimality condition for the optimal controls of both problems. Based on them,
numerical methods of gradient type are applied. Moreover, we report on the application
of model reduction by POD that lead to tremendous savings. Numerical tests are
presented for academic 3D geometries but also for a real-world application.