Abstract: A method of real-time simulation system is discussed based on synthesizing the benefits of the Simulink/Real-time Workshop(RTW) and the Real-time eXtension(RTX) for Windows. Rapid modeling and encapsulating is implemented by high-powered software and self-defining VC project respectively, which depends on building a Real-time Dynamic Linkable Library(RtDll) composed of model codes generated by RTW. A simulation engine is designed that can load/unload models dynamically and give attention to both decoupling and real-time intercommunication between the model and the engine, which settles for the requirements of transmission model’s input/output information in time and parameter-tuning online. Experiments indicate that the system improves the real-time performance of simulation and gets the identical results as running on Simulink.
simulation system design,
Real-time eXtension(RTX) subsystem,