Learn how to communicate with the model, persist data and get simulated events from external system.