This model represents a system with two single-servers-with-queue.
Pieces (entities) arrive the the system and are classified by type. They are first processed by the machine, and afterwards by the inspector. At the end, the 80% of the pieces are accepted, 10% are rejected and the rest need some rework. The ones that need to be reworked are sent back to the machine.
Several counters store the number of accepted (ordered by type), and rejected pieces.
Results are written to the SIMANLIB_RESULTS.txt file, at the end of the simulation.