|
| 1 | +## Prosimos User Manual |
| 2 | + |
| 3 | +The Prosimos' landing page (https://prosimos.cloud.ut.ee/) consists of two main parts: |
| 4 | + |
| 5 | +1) Defining the **Process Model**. Here, user needs to download the BPMN model that will be used for the discovery / simulation. Allowed file formats: .bpmn. |
| 6 | + |
| 7 | +2) Defining the **Simulation Scenario**. This part defines the parameters that needs to be completely entered in order to simulate the model. The tool provides three options on how those simulation scenario parameters can be filled in: |
| 8 | + |
| 9 | + - *Create a simulation scenario manually.* User will be redirected to the page with the empty template for the simulation scenario. After that, the user needs to enter all required information in order to proceed with the simulation. |
| 10 | + - *Upload a simulation scenario.* In case the user has already used the tool, there is an option to save the filled-in template and re-use it in the future. This option is designed exactly for this use case: when the user already has pre saved template of the simulation scenario in .json format. |
| 11 | + - *Discover a simulation scenario from the log.* Here, the user can provide the log file (e.g., in .xes format) and the tool discovers the simulation parameters for the user. |
| 12 | + |
| 13 | +After selecting the process model and way of filling in the simulation scenario parameters, the user is redirected to the page where they can view and modify different sections of scenario parameters. |
| 14 | + |
| 15 | +The top toolbar contains multiple buttons: |
| 16 | + |
| 17 | +- *Upload new model* redirects you to the previous page (landing page) where you can select a new model and simulation scenario option. |
| 18 | +- *Start Simulation* starts the simulation and automatically redirects the user to the `Simulation Results` section. |
| 19 | +- *View Model* opens up the visualization of the model user selected. |
| 20 | +- *Download as a .json* will download all current parameters (first 5 sections UI-wise) of the simulation scenario. |
| 21 | + |
| 22 | +The main parts of the Simulation Scenario page are: |
| 23 | + |
| 24 | +1. simulation parameters which are divided into 5 sections: |
| 25 | + |
| 26 | + - *Case Creation* |
| 27 | + - *Resource Calendars* |
| 28 | + - *Resources* |
| 29 | + - *Resource Allocation* |
| 30 | + - *Branching Probabilities* |
| 31 | + |
| 32 | + and |
| 33 | + |
| 34 | +2. *Simulation Results* which will be populated once you click *Start Simulation* button |
| 35 | + |
| 36 | +Detailed description of every section of the simulation parameters: |
| 37 | + |
| 38 | +1. *Case Creation* describes when (arrival time calendar) and how (arrival time distribution) new process cases can be started. |
| 39 | + |
| 40 | + Inter arrival time is defined by the probability distribution function. Right now, available functions include: fix, norm, expon, exponnorm, gamma, triang, uniform, lognorm. Once you select one of them, the number of filled-in parameters will change. We are using statistical functions from the SciPy's subpackage `scipy.stats`. In case user needs to get the meaning of the parameters, one should consult [official documentation](https://docs.scipy.org/doc/scipy/reference/stats.html#module-scipy.stats). |
| 41 | + |
| 42 | +2. *Resource Calendars* lists the time intervals in which a resource is available to perform a task on a weekly calendar basis. |
| 43 | + |
| 44 | + This section defines calendars which then (in the next section) could be re-used. Defining a calendar here and not assigning it to the resource will not impact the simulation. |
| 45 | + |
| 46 | + Each calendar includes name and at least one time period. The user cannot save one instance of the calendar with no time periods in it. |
| 47 | + |
| 48 | + The user is allowed to: |
| 49 | + 1. create calendars: *Add new calendar* button |
| 50 | + 2. modify calendars. Editing the time periods itself (begin and end time, begin and end time) and the number of assigned time periods by *+* and *delete* button in the last column. |
| 51 | + 3. delete calendars. Select one or multiple calendars by using the checkbox in the first column, after that click *Delete* button in the right upper corner. |
| 52 | + |
| 53 | +  |
| 54 | + |
| 55 | + |
| 56 | +3. *Resources* describes the resources grouped into pools. Specifically, it includes a set of resource pools. |
| 57 | + |
| 58 | + Description of the available functionality could be found here: |
| 59 | + |
| 60 | +  |
| 61 | + |
| 62 | + Adding a new Resource Profile under the Resource Pool and not allocating the Resource Profile to the task in the next section will not impact the simulation. In order for the changes to be considered, the Resource Profile needs to be allocated to the task. |
| 63 | + |
| 64 | +4. *Resource Allocation* maps each task in the process model and the list of resources that can perform it. |
| 65 | + |
| 66 | + Description of the available functionality could be found here: |
| 67 | + |
| 68 | +  |
| 69 | + |
| 70 | + |
| 71 | +5. *Branching Probabilities* represents the probability for the process execution to move towards any outgoing flow of each split (inclusive or exclusive) gateway in the process model. |
| 72 | + |
| 73 | + The UI shows all gateways in the model and their outgoing flows. The sum of provided flows should be equal to 1 for every gateway. |
| 74 | + |
| 75 | +Description of the .json file that contains all this information could be found [here](https://github.com/AutomatedProcessImprovement/Prosimos#simulation-input-file-formats). |
| 76 | + |
| 77 | +After simulating the process (*Start Simulation button*), the user will be redirected to the `Simulation Results` page. |
| 78 | + |
| 79 | +The simulation generates two output files which could be downloaded in the right upper part: |
| 80 | +- file with the statistics/metrics after running the simulations (*Download Stats* button) |
| 81 | +- event-log of the simulation (*Download Logs*) |
| 82 | + |
| 83 | +Additionally, statistics/metrics are being visualized to the user. It includes three main sections: |
| 84 | + |
| 85 | +1. `Scenario Statistics` includes multiple key performance indicators and their Min, Avg and Max values, together with Trace Occurences. |
| 86 | + |
| 87 | +2. `Individual Task Statistics` describes the statistics per task. They include Waiting Time, Processing Time, Cycle Time, Cost and Idle Processing Time and Idle Cycle Time where idle means including the time when resources already started the work but went resting. |
| 88 | + |
| 89 | +3. `Resource Utilization` section defines resource utilization, the ratio of the available time of a resource spent executing process activities. |
| 90 | + |
| 91 | + |
| 92 | +After inspecting the received results, the user can freely go to any section of the simulation parameters, change something and run the simulation one more time. This way the user can perform a what-if analysis. |
0 commit comments