closed_loop_sim