set up control optimization in sin_sim