A simplified model of a rail vehicle - electric locomotive, with particular emphasis on wheel- rail cooperation model, is presented. The principles of detecting the slip and algorithms that detect and eliminate the slip, both during acceleration and braking using dump valves are presented. Two anti-slip system simulation models, implemented in Matlab Simulink are described taking into account each subsystem model. The following models of hardware and software subsystems are described: the rotational speed sensors, the dumping valves and the subsystem determining the reference speed. The study program, simulation results, analysis and conclusions are presented.