Using own electric vehicle Torque vectoring control algorithm

Hello,
I have implemented my own torque vectoring control algorithm including the electric powertrain modelling using SIMULINK and I want to integrate it with IPG’s simulink model to visualize it using IPGmovie…How can I replace the IPG powertrain model and put mine? and do I have to make any adjustments to my model to make it fit the IPG simulink model?

Thanks in advance