AI Applied to Real Time Control: A Case Study