If the user chooses to perform interactive simulation, the simulator communicates with the graphic interface using sockets. The simulator updates the state variables at each simulation step through the socket API. Then the user can visualize the evolution of the state variables after the execution of a specified number of steps.