# Performance evaluation of a Flow Shop using Jsim

The flow shop is composed by 4 machines and 4 buffers connected . The processing time of each machine depends on the part (class) to be worked. The sizes of the buffers are reported in Table.

The failure and repair probabilities for each machine, considering two different failure modalities, are reported in Table

![buffer capacity](https://2247033703-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Lh1dC9-F-cM6usakky7%2F-M4BtJVukeK5GaDdBzcA%2F-M4BtVHmRW-73tfBnoFH%2Ffs-buffer_capacity.png?generation=1586133083380356\&alt=media)

![failure and repair time](https://github.com/frabera/virtualfactorytoolkit/tree/885e2604d12ee12a144917bf450f99a3e27ebfe1/.gitbook/assets/fsjs-failure_and_repair_time.png)

The systems includes 4 different machine type and 4 buffers located upstream of the system and between the machines

Consider the production of 3 parts (classes), whose production processes are reported in Table. In the case of open system, the generation rate is reported in Table

## Flow Shop

![process time](https://2247033703-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Lh1dC9-F-cM6usakky7%2F-M4BtJVukeK5GaDdBzcA%2F-M4BtVHkVOyjlRsrTpLO%2Ffs-process_time.png?generation=1586133083048034\&alt=media)

## Formal Representation

![formal model](https://2247033703-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Lh1dC9-F-cM6usakky7%2F-M4BtJVukeK5GaDdBzcA%2F-M4BtVHioiAcpBpNu7Iw%2Ffs-formal_model.png?generation=1586133083168397\&alt=media)

## Performance Evaluation

![home-panel](https://2247033703-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Lh1dC9-F-cM6usakky7%2Fsync%2F4cd29bdbd85bbe882e670733693d80f156b30149.png?generation=1607383543910688\&alt=media)

Open JSIM graph from the various tools in the home panel of JMT software

![new](https://2247033703-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Lh1dC9-F-cM6usakky7%2Fsync%2Fa22b685d49276e9559058cb1cf55dd04ff9f23b1.png?generation=1607383543404651\&alt=media)

1. click ‘file’
2. open new file

![create-machines](https://2247033703-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Lh1dC9-F-cM6usakky7%2Fsync%2F06a0e32650150d8900214af30aa827c9611b639e.png?generation=1607383544766616\&alt=media)

1. Insert machines into the workspace by clicking the **queue** icon in the toolbar
2. Insert machine-1,2,3,4

![source](https://2247033703-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Lh1dC9-F-cM6usakky7%2Fsync%2F93c457c170cfb1e65993b192319053ef5f678ca4.png?generation=1607383544208010\&alt=media)

1. Select the **source** icon in the toolbar
2. place it in the workspace

![sink](https://2247033703-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Lh1dC9-F-cM6usakky7%2Fsync%2Ff2e0020a92d49247535f9d82f0cd282a1bdb8044.png?generation=1607383544366496\&alt=media)

1. Select the **sink** icons in the toolbar
2. Place it in the workspace

![connection](https://2247033703-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Lh1dC9-F-cM6usakky7%2Fsync%2Faccf45baab3e759339c514fa6c3e51ce15a0cf08.png?generation=1607383543981803\&alt=media)

1. Click on the **connect stations** icon and then connect all the stations with regard to the case
2. Clicking on this icon optimizes the layout

![define\_customer\_class](https://2247033703-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Lh1dC9-F-cM6usakky7%2Fsync%2Fd47a4192db5a3015bf4a35518955a516460df41b.png?generation=1607383543538618\&alt=media)

1. Click ‘Define Customer Class’ icon
2. Click on the **Add class** button in order to the add the parts
3. Write part name.
4. Select **open** in type option
5. Select the source

Note:Follow the same steps for Part-A and Part-B

![define\_class-2](https://2247033703-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Lh1dC9-F-cM6usakky7%2Fsync%2F2825a4eca314acfdb9085e618e1e73710e9c4cb0.png?generation=1607383545585486\&alt=media)

1. Click on the **edit** button under interarrival time distribution
2. Select **Exponential** distribution
3. Enter the **generation** rate of each part

Note:Follow the same steps for Part-A and Part-B

![edit\_m1](https://2247033703-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Lh1dC9-F-cM6usakky7%2Fsync%2F37986fc9e2a4408b8d3220f93ee15708bfe83b99.png?generation=1607383545163007\&alt=media)

1. Double click on queue-1
2. Modify the station name as **B1-M1**
3. Select finite under the capacity and then enter the value of buffer level+1 (11) in **max no. customers box**

Note:Follow the same steps for Queue-2,Queue-3,Queue-4

![edit\_m1.2](https://2247033703-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Lh1dC9-F-cM6usakky7%2Fsync%2Fbebb8c36c66838d60fda0ed6494c59ae884739c6.png?generation=1607383545965372\&alt=media)

1. Click on Service Section
2. Enter number of machines
3. Click on Edit

Note:Follow the same steps for Queue-2,Queue-3,Queue-4

![edit\_m1.3](https://2247033703-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Lh1dC9-F-cM6usakky7%2Fsync%2F0df24136447814460e98a337cd4c26c8ec56476c.png?generation=1607383544609894\&alt=media)

1. Select the **deterministic** distribution
2. Enter the process time value of the part with respect to the machine **M1**
3. Click OK

Note:Follow the same steps for Queue-2,Queue-3,Queue-4

![edit\_m1.4](https://2247033703-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Lh1dC9-F-cM6usakky7%2Fsync%2F726de4b8113f91bd86885830ebaa016377aefec9.png?generation=1607383545730801\&alt=media)

1. Select Routing Section
2. Select **Random** as the routing strategy for part A in the routing section of the station
3. Define the strategy as random for **M2** and for **M3**

Note:Follow the same steps for Queue-2,Queue-3,Queue-4

![indices](https://2247033703-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Lh1dC9-F-cM6usakky7%2Fsync%2F222cf0862c19bc5cfc6e91b742c4aa106640b38d.png?generation=1607383545510294\&alt=media)

1. Click on ‘Define Performance Indices’
2. Click on Select an index option and select **Throughput** and **Utilization**
3. Select Class of each indices
4. Select Systems of each indices
5. Click on ‘Static-Resolution
6. Click ‘Done’

![run\_simulation](https://2247033703-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Lh1dC9-F-cM6usakky7%2Fsync%2Fdbe091368cc64752398346ef89d406de6386011f.png?generation=1607383546351352\&alt=media)

1. Run the Simulation

![throughput](https://2247033703-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Lh1dC9-F-cM6usakky7%2Fsync%2Fa3de13682e969d38c9f7407ef91634e9bee5e195.png?generation=1607383546595321\&alt=media)

Throughput of:

Part A=0.0832

Part B=0.0991

Part C=0.1631

![utilisation-1](https://2247033703-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Lh1dC9-F-cM6usakky7%2Fsync%2F491d0a7b90a1be8174ea1408844445e88be2f9d5.png?generation=1607383546281851\&alt=media)

Utilization of:

M1=1

M2=1

M3=1

M4=0.7908

![utilisation-2](https://2247033703-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Lh1dC9-F-cM6usakky7%2Fsync%2F8863a61a5bb9106040bfd9b6103f172454fd99af.png?generation=1607383545037489\&alt=media)
