In this study, an open-source simulation model is presented for solving scheduling problems. The model is capable of solving different benchmarks. The methods involved in the simulation are mainly based on generating dispatching rules or using them to solve problems, but there are other heuristics as well. Dispatching rules in an evolutionary process are generated using Gene Expression Programming. For this aim, a coding method, which has not been described in the literature before, is explained. Along with the explanation of the properties of the source code, information about deterministic, dynamic models, buffer states, machine breakdown states, and the methods used to deal with them is presented. Concepts are explained with visual examples. In addition, a subject that has not been investigated in the literature before is analyzed by using the simulation model. This topic is to examine the results of solving machine assignment and operation sequencing sub-problems in flexible job shop scheduling problems with different rules. Moreover, objective functions that the source code can handle are discussed. Unlike many studies in the literature, the codes are presented to the readers as open source. Also, it is open to development and can be easily modified by users to solve other types of problems. Finally, in the study, experimental results are presented on the basis of some benchmarks available in the literature, and the limits of the study and source code are explained.