Title: Optimal control of periodic processes