banner



How Does Repair Shop Flowchart Looks Like

Car Repair Process

This example simulates the procedure menses of a Car Repair store. The BPSim configuration:

  • Uses a property parameter initialized by distribution to generate a random number of issues for each customer
  • Applies probability to simulate:
    -  Acceptance of the initial guess or not
    -  Whether new issues volition be constitute during repair
  • Increments or decrements the property parameter's value in each chore
  • Uses the holding parameter's value on conditions of Sequences outgoing from Gateways
  • Simulates the client arrivals for a given start and duration

Create BPMN Model

Create the main process

Example Business Process diagram for simulation in Sparx Systems Enterprise Architect

  1. Create a Start Event Customer Arrives.
  2. Add a Sequence Menses to a target abstract task Activity Make Approximate.
  3. Add together a Sequence Menses to a target Exclusive Gateway Accepted?.
  4. Add Sequence Flows to:
    -  A target End Outcome Initial Estimate Not Accepted
    -  A target subProcess Repair Car
  5. From Repair Car, add a Sequence Flow to a target abstract task Activity Accept Payment.
  6. Add a Sequence Catamenia to a target End Event Customer Leaves Shop.

Create the sub process Repair Motorcar

Example Business Process diagram for simulation in Sparx Systems Enterprise Architect

  1. Create a Commencement Effect Start Repairs.
  2. Add a Sequence Flow to a target Exclusive Gateway converge Gateway1.
  3. Add together a Sequence Flow to an abstract task Activity Inspect for Issue.
  4. Add a Sequence Flow to an Exclusive Gateway converge Gateway2.
  5. Add a Sequence Flow to an Exclusive Gateway New Issue Establish?.
  6. Add Sequence Flows to:
    -  A target abstruse job Activity Handle New Constitute Issue, and then add a
    Sequence Flow back to converge Gateway2
    -  A target abstract task Repair Issue, and so add a Sequence Flow to a
    target Exclusive Gateway Take further issues?
  7. From the Gateway Have further problems? add together Sequence Flows to:
    -  The target Terminate Issue Repairs Completed
    - converge Gateway1

Configure BPSim

Artifact and Package

  1. Open the Configure BPSim window ('Simulate > Procedure Analysis > BPSim > Open up BPSim Manager').
  2. Create a Business organization Process Simulation Artifact named Scenario ane: Primary menstruation.
  3. Select the Bundle containing the respective BPMN 2.0 model.

Kickoff and Duration

We will simulate the processes in a car repair shop whose opening hours are from nine:00 am to 5:00 pm, which is a period of 8 hours. We also suppose that a customer walking in after 4:fifty pm will not exist served on that twenty-four hours. Therefore the simulation Start time is nine:00 am and the duration is 7 hours and 50 minutes.

On the 'Car Repair' diagram, click on the Business Process Simulation Artifact named Scenario 1: Main Flow and, on the Configure BPSim window, update these ScenarioParameters:

  • Start - overtype the 'Values' field with whatsoever date (in the format dd/mm/yyyy) and modify the time section to 'nine:00 AM'
  • Duration - click on the Browse. button in the 'Values' field and set information technology to a Constant Duration of '0 07:50:00'

Customer Arrives

We will simulate a customer arriving every 24 minutes.

The outset customer arrives at nine:00 AM and the last arrives at iv:36 PM (the customer arriving at v:00 PM will not be served today because that is constrained past the 'Duration' setting).

With a pen and newspaper, we tin summate that there are 20 customers served (9:00 AM to 4:36 PM = 456 minutes; number of customers is 456/24 + ane = 19 + 1 = 20). Nosotros volition verify this with the simulation result later.

On the 'Car Repair' diagram, click on the Starting time Event element Client Arrives, and in the Configure BPSim window:

  1. Click on the New Parameter driblet-down arrow, and select 'Command'.
  2. Click on the 'Parameter' driblet-down arrow and select 'InterTriggerTimer'.
  3. In the 'Values' field click on the Browse. push button and set up a Abiding Numeric value of '24 minutes'. Click on the OK push button and the Relieve toolbar icon.

Property Parameters

We suppose each customer's auto might initially have a different number of problems. This could be reflected using a random number generator. BPSim provides a number of distributions to suit your needs.

In this case, we employ a Truncated Normal distribution to initialize the property noOfIssues. Tasks Repair Issue and Handle New Found Issue volition decrement and increment the value of noOfIssues respectively.

  1. On the 'Car Repair' diagram, click on the Beginning Event Customer Arrives.
  2. On the 'Configure' tab of the Configure BPSim window, click on the New Parameter drop-downwardly arrow and create a Property parameter called noOfIssues.
  3. In the 'Values' field click on the Browse. button; the 'Configure 'noOfIssues' for 'CustomerArrives'' dialog displays.
  4. Click on the 'Distribution' tab and select 'TruncatedNormal'; in the fields:
    -  'Mean', type '2'
    -  'StandardDeviation', type '1'
    -  'Min', type '1'
    -  'Max', blazon 'yard'

Important Annotation: Distributions such every bit 'TruncatedNormal', return a floating point value, but the property is used equally an integer. Setting the property's type is of import, peculiarly in condition expressions when testing with equality. For case, the condition expression getProperty('noOfIssues') = 0 will most never be satisfied considering noOfIssues was initialized past a floating point distribution.

Tip: How to customize the type for a property

Later on you create the property and set a value, click on the icon on the toolbar, so click on the icon to display the 'Edit Property Parameters' dialog. In the 'Type' field for the property, click on the drop-downward arrow and select the value 'int' instead of the default 'double'.

  1. On the 'Repair Automobile' diagram, click on the Action Repair Outcome.
  2. On the 'Configure' tab of the Configure BPSim window, click on the New Parameter drop-downwardly pointer and create a Property parameter called noOfIssues.
  3. In the 'Values' field click on the Browse. push. The 'Configure 'noOfIssues' for 'Repair Issue'' dialog displays.
  4. Click on the 'Expression' tab and, in the 'Expression' field, type {noOfIssues} -1; click on the OK button.
  5. On the 'Repair Machine' diagram, click on the Activity Handle New Found Issue.
  6. On the 'Configure' tab of the Configure BPSim window, click on the New Parameter drop-downwardly arrow and create a Holding parameter called noOfIssues.
  7. In the 'Values' field click on the Browse. push. The 'Configure 'noOfIssues' for 'Handle New Constitute Issue'' dialog displays.
  8. Click on the 'Expression' tab and, in the 'Expression' field, blazon {noOfIssues} +1; click on the OK push button.

Probability on Sequence Flows

We estimate that ane in three of the customers will non accept the initial judge for repairs and the remaining two volition accept it. We besides approximate that for one in four of the repairs new issues will exist found, and for the remaining three repairs no new issues will be found.

On the 'Auto Repair' diagram, refer to the Gateway element Accustomed?. Click on the:

  • Initial Estimate Accepted Sequence Menstruum and in the Configure BPSim window click on the New Parameter driblet-down arrow, and create a Control parameter called 'Probability'; in the 'Values' field type '0.67'
  • Initial Guess Non Accustomed Sequence Catamenia, and in the Configure BPSim window click on the New Parameter drop-down pointer, and create a Command parameter called 'Probability'; in the 'Values' field type '0.33'

On the 'Car Repair' diagram, refer to the Gateway element New Issue Found?. Click on the:

  • No More Issues to Repair Sequence Flow and in the Configure BPSim window click on the New Parameter drop-down arrow, and create a Control parameter chosen 'Probability'; in the 'Values' field blazon '0.75'
  • More Issues to Repair Sequence Flow and in the Configure BPSim window click on the New Parameter drop-down pointer, and create a Control parameter chosen 'Probability'; in the 'Values' field blazon '0.25'

Condition on Sequence flows

Nosotros employ an expression to render a Boolean value as a Sequence Flow'south status, which plays a key role in the period's logic.

On the 'Repair Car' diagram, refer to the Have Farther Bug? Gateway element. Click on the:

  • More Bug to Repair Sequence Catamenia and in the Configure BPSim window click on the New Parameter drop-down pointer, and create a Control parameter chosen 'Status'; in the 'Values' field click on the Browse. push, click on the 'Expression' tab and type {noOfIssues} != 0 in the 'Expression' field
  • No More Issues to Repair Sequence Flow and in the Configure BPSim window click on the New Parameter drop-down pointer, and create a Control parameter called 'Condition'; in the 'Values' field click on the Browse. button, click on the 'Expression' tab and type {noOfIssues} = 0 in the 'Expression' field

Notation: All the outgoing transitions from a Gateway should include 100% of the logic; for example, you would non enter {noOfIssues} > ten and {noOfIssues} < five every bit condition expressions, because values in the range [5, 10] volition not be handled by any approachable Sequence Flows.

Run Simulation

  1. On the Configure BPSim window click on the 'Execute' tab and on the icon in the toolbar.
  2. When the simulation is consummate, the Execute tab provides results similar to these:

Token Analysis

  • 20 customers arrived, matching the number we calculated manually (run across Customer Arrives in the Configure BPSim tabular array)
  • viii customers out of the twenty did not accept the initial estimate, whilst 12 of the twenty accepted and had their car repaired; these figures roughly match the 1/3 and 2/3 probabilities
  • 64 tokens passed the Gateway New Event Plant?, of which 19 had new problems and 45 did non; these figures roughly match the 1/4 and 3/iv probabilities

Analysis on individual customers

Click on the button on the toolbar to open up the 'BPSim PropertyParameter Values' dialog. As there are 20 customers (tokens), y'all can input a value between 0 and 19 in the 'Token Number' field and click on the Query button to practice some analysis:

  • This customer did not have the initial estimate, as shown on the 'Group by Property' tab:
  • This customer'south auto had but 1 issue, which was fixed:
  • This client'south machine had 3 known issues and three other issues were found during repair, then in full vi issues got fixed (perhaps this is a actually old car); switching to the 'Grouping past Element' tab:

How Does Repair Shop Flowchart Looks Like,

Source: https://sparxsystems.com/enterprise_architect_user_guide/15.2/model_simulation/car_repair_process.html

Posted by: tollivermiltary.blogspot.com

0 Response to "How Does Repair Shop Flowchart Looks Like"

Post a Comment

Iklan Atas Artikel

Iklan Tengah Artikel 1

Iklan Tengah Artikel 2

Iklan Bawah Artikel