Noncausal open-loop control with combined system identification and PID controller tuning