====== Model (simulation) ====== A model (or simulation) expresses relationships between entities needed to achieve a [[system|system’s]] functions. It is needed in dynamic problems, where the system lives longer than a single run of the program. Take a program that controls a railway line. It involves trains, track sections and signals, and each of them gets its own [[representation_process|representation process]]. Each process either performs [[action|actions]] or undergoes them: a train enters a section and leaves it, a section is occupied and freed, and a signal turns red or green. Once these actions are coordinated between the processes by connecting them with vectors, we have a simulation of the line: when a train enters a section, the section becomes occupied and the signal in front of it turns red. A model is therefore not a single sequential process but many of them.