Text this: Optimization of dynamic energy systems with time dependent components and boundary conditions /