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.
The time in the system of the accepted pieces is stored using tally indicators.
The rejected pieces are counted.
Results are written to the SIMANLIB_RESULTS.txt file, at the end of the simulation.