X-in-the-loop (XiL) framework is a new validation concept for vehicle product development, which integrates different virtual and physical components to improve the development efficiency. With XiL platform the requirements of reproducible test, optimization and validation, in which hardware, equipment and test objects are located in different places, could be realized. In the view of different location and communication form of hardware, equipment and test objects, time delay problem exists in the XiL platform, which could have a negative impact on development and validation process.In this paper, a simulation system of time delay prediction and compensation is founded with the help of BP neural network and RBF neural network. With this simulation system the effect of time delay in a vehicle dynamic model as well as tests of geographically distributed vehicle powertrain system is improved during the validation process. Meanwhile the optimization results of BP neural network and RBF neural network are compared.