A new simulation model of longwall coal mining is presented. This model intends to research processes by longwall coal mining and to solve a problem of increasing the productivity of a shearer-loader. Using the simulation model the solution of several optimization problems was obtained.