# Performance Evaluation of a Job Shop using JSim

## Case Description

The job shop is composed by 5 machines and 5 buffers. Each buffer is associated to the machine in front of it (e.g. B1 is associated only with M1). All the machines are physically connected each other and the path of a part type inside the system is defined by its production process. The processing time of each machine depends on the part (class) to be worked.

![Production data](https://2247033703-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Lh1dC9-F-cM6usakky7%2F-MN3slsyk17a1TpgLQyf%2F-MN3vFa3CgLzEqP1a8C7%2Fjs-jmt-production_steps.png?alt=media\&token=c1390fb1-1ced-4a24-ab1a-7f7a19a90a73)

![Mean times to failure and to repair for each machine](https://2247033703-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Lh1dC9-F-cM6usakky7%2Fsync%2Fa00e4344d2b62b50a448aad42ccd5fd06add6abd.png?generation=1607380276260092\&alt=media)

![Buffer sizes for each machine](https://2247033703-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Lh1dC9-F-cM6usakky7%2Fsync%2F26de867e1c10e5aa9c0c374c9959e18a4f4eb1e8.png?generation=1607380276255889\&alt=media)

## Formal model

![Formal model](https://2247033703-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Lh1dC9-F-cM6usakky7%2F-MN3slsyk17a1TpgLQyf%2F-MN3vzAPMQ8bPcK1mMxz%2Fjs-jmt-Formal-model.png?alt=media\&token=cf0e91f3-da3c-4fa6-b36e-4bf97e3c1f30)

## Performance Evaluation

![JMT - Home panel](https://2247033703-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Lh1dC9-F-cM6usakky7%2F-MN3slsyk17a1TpgLQyf%2F-MN3wHArYTewMU7jb7SR%2Fjs-jmt-home-panel.png?alt=media\&token=73fd4568-25dc-4ed7-a7ac-0ab641ba3c5b)

* Open JSIMgraph from the various tools in the home panel of JMT software.

![Source and sink nodes](https://2247033703-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Lh1dC9-F-cM6usakky7%2F-MN3slsyk17a1TpgLQyf%2F-MN3wyaCeM1LVmeQDGHS%2Fjs-jmt-source-and-sink.png?alt=media\&token=32f9915f-dc93-4b46-81af-9dfdbf4e3a63)

* Select the **source and sink** icons in the toolbar and then place it in the workspace.

![System model](https://2247033703-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Lh1dC9-F-cM6usakky7%2F-MN3slsyk17a1TpgLQyf%2F-MN3wXft_HUL_SvGPT5T%2Fjs-jmt-modelling-system.png?alt=media\&token=d2f1a0a3-d873-4261-92f2-6d8415e121cc)
