Surrogate model for real time signal control: theories and applications