BPSim Implementer's Guide v2.0
BPSim Implementer's Guide v2.0
Implementer’s Guide
December, 2016
Version V2.0
This work by WfMC is licensed under a Creative Commons Attribution 3.0 Unported (CC BY 3.0)
License. Generally speaking, you are free: to Share, to copy, distribute and transmit the work, to
Remix, to adapt the work, to make commercial use of the work herein as long as you attribute the
work. 1
BPSim Implementer’s Guide v2.0
Table of Contents
1 Introduction ...................................................................................................................................... 6
1.1 Intended Audience ..................................................................................................................... 6
1.2 Purpose....................................................................................................................................... 6
1.3 Introduction to process simulation ............................................................................................ 6
1.3.1 Use of historical data .......................................................................................................... 7
1.4 Scope of the specification .......................................................................................................... 7
2 References......................................................................................................................................... 7
3 Example 1: Repairing a motor vehicle .............................................................................................. 8
3.1 Use Case: Walk-in customer with car issue(s)............................................................................ 8
3.1.1 Process Description ............................................................................................................. 8
3.2 BPMN 2.0 Diagram of: Walk in customer with car issue(s) ....................................................... 9
3.3 Simulation scenario 1: Validate control perspective of primary path through process model10
3.3.1 Approach / Hypothesis...................................................................................................... 10
3.3.2 Goals.................................................................................................................................. 10
3.3.3 Identification of simulation parameters ........................................................................... 10
3.3.3.1 Simulation parameters .............................................................................................. 10
3.3.3.2 Process Trigger(s) ....................................................................................................... 10
3.3.3.3 Activity Durations ...................................................................................................... 11
3.3.3.4 Decision points........................................................................................................... 11
3.3.3.5 Resources ................................................................................................................... 11
3.3.3.6 Results requested ...................................................................................................... 11
3.3.4 How the model provides for that data to be captured .................................................... 11
3.3.4.1 Add simulation model to the process model ............................................................ 12
3.3.4.2 Setup a scenario......................................................................................................... 13
3.3.4.3 Add scenario parameters........................................................................................... 13
3.3.4.4 Add input parameters to the scenario ...................................................................... 13
3.3.4.5 Add property expressions to decrement the number of repair issues ..................... 14
2
BPSim Implementer’s Guide v2.0
3.3.4.6 Add expressions to test whether we need to exit the repair loop............................ 14
3.3.4.7 Add result requests to the scenario element ............................................................ 15
3.3.4.8 Add result requests to BPMN elements .................................................................... 15
3.4 Simulation scenario 2: Validate control perspective of primary and secondary paths ........... 15
3.4.1 Approach / Hypothesis...................................................................................................... 15
3.4.2 Goals.................................................................................................................................. 15
3.4.3 Identification of simulation parameters ........................................................................... 16
3.4.3.1 Process Trigger(s):...................................................................................................... 16
3.4.3.2 Activity Durations ...................................................................................................... 16
3.4.3.3 Decision points........................................................................................................... 16
3.4.3.4 Resources ................................................................................................................... 16
3.4.3.5 Results requested ...................................................................................................... 16
3.4.4 How the model provides for that data to be captured .................................................... 16
3.4.4.1 Define an additional scenario element ..................................................................... 16
3.4.4.2 Add parameters to the secondary path’s start event ............................................... 17
3.5 Conclusions and further investigations .................................................................................... 17
4 Example 2: Originating a home loan ............................................................................................... 18
4.1 Use Case: Originate a home loan ............................................................................................. 18
4.1.1 Process Description ........................................................................................................... 18
4.2 BPMN 2.0 Diagram of: Originate a home loan ......................................................................... 19
4.3 Simulation scenario 1: Explore temporal perspective ............................................................. 20
4.3.1 Approach / Hypothesis...................................................................................................... 20
4.3.2 Goal ................................................................................................................................... 20
4.3.3 Identification of simulation parameters ........................................................................... 20
4.3.3.1 Simulation parameters .............................................................................................. 20
4.3.3.2 Process Triggers ......................................................................................................... 20
4.3.3.3 Activity Durations ...................................................................................................... 21
4.3.3.4 Decision points........................................................................................................... 21
4.3.3.5 Resources ................................................................................................................... 21
4.3.3.6 Results requested ...................................................................................................... 21
4.3.4 How the model provides for that data to be captured .................................................... 21
3
BPSim Implementer’s Guide v2.0
5.5.1 Goals.................................................................................................................................. 32
5.5.2 Identification of simulation parameters ........................................................................... 32
5.5.2.1 Process Triggers ......................................................................................................... 32
5.5.2.2 Resources ................................................................................................................... 33
5.5.3 How the model provides for that data to be captured .................................................... 33
5.5.3.1 Define Calendars for use by the scenario .................................................................. 34
5.5.3.2 Add parameters controlling the resources’ availability and start event inter trigger
associated with calendars ........................................................................................................... 35
5.5.3.3 Result requests .......................................................................................................... 36
5.5.4 Conclusions and further investigations ............................................................................ 37
6 Serialization examples .................................................................................................................... 38
6.1 Time Parameters ...................................................................................................................... 38
6.1.1 Duration ............................................................................................................................ 38
6.1.2 Lag Time ............................................................................................................................ 38
6.2 Control Parameters .................................................................................................................. 38
6.2.1 Routing using Probabilities ............................................................................................... 38
6.2.2 Control Process Instantiation ............................................................................................ 39
6.3 Using advanced parameterisation ........................................................................................... 40
6.3.1 Distribution ....................................................................................................................... 40
6.3.2 User Distribution ............................................................................................................... 41
6.3.3 Enumeration (historical data) ........................................................................................... 41
6.4 Using calendars ........................................................................................................................ 42
6.5 Using an expression.................................................................................................................. 42
6.6 Results ...................................................................................................................................... 42
6.6.1 Time Parameters ............................................................................................................... 43
6.6.1.1 Minimum/Maximum and Mean on a Processing Time ............................................. 43
6.6.1.2 Count/Sum of a Processing Time ............................................................................... 43
6.6.2 Control Parameters ........................................................................................................... 44
6.6.2.1 Requesting everything about an InterTriggerTimer on a signal intermediate event 44
6.6.3 Replications effects on results .......................................................................................... 45
5
BPSim Implementer’s Guide v2.0
1 Introduction
1.1 Intended Audience
This document is intended as an introduction to the specification for people and organizations that
are:
Intending to implement a modeling tool capable of importing and exporting simulation
extensions along with process model in either BPMN or XPDL file formats.
Intending to support the simulation of process models containing the simulation
extensions.
Modelers of business processes already familiar with BPMN process models but who need
an introduction to the nature and location of the simulation extensions.
1.2 Purpose
6
BPSim Implementer’s Guide v2.0
2 References
BPSim web site: http://www.bpsim.org/
2.0 Specification: http://bpsim.org/specifications/2.0/WFMC-BPSWG-2012-01.pdf
2.0 XML Schema: http://bpsim.org/schemas/2.0/
7
BPSim Implementer’s Guide v2.0
Level Summary
Trigger Customer walks into the repair shop with an immediate issue.
For this example, the following BPMN diagram was prepared as part of a theoretical business process
study and has been provided to the simulation modeling team. However, the BPSim specifications of
the two study scenarios exercise a subset of this model which illustrates the use of BPSim to limit the
scope of a study scenario to a subset of a larger model.
In the following diagram of a car repair process, the Signal Event “Customer Requests Additional
Repairs” triggers “Add Additional Issue to List” which in turn, updates the “Itemized Issues” list.
Parameters for this Signal Event are not specified in either of the two example scenarios which imply
this component of the total process will not be exercised.
8
BPSim Implementer’s Guide v2.0
3.2 BPMN 2.0 Diagram of: Walk in customer with car issue(s)
Repair Car
Itemized Itemized
Issues Issues
[Accepted] [Completed Items]
New Issue
Handle New Found
Found Issue
Itemized
Issues
[Accepted]
No Added No More
Verify if more Issues to Repair
Take Apart Inspect Issue Found Repair Prepare Car Prepare Accept Remit
Issues on
for Issue for Issue Issue for Remittance Invoice Payment Car
Itemized List
Start Repairs Completed Customer Leaves
Have further
Repairs Shop
Initial Estimate issues?
Accepted
More
Reported Issues to Repair
Issues
Verify if
Make
Estimate
Estimate
Accepted
Customer
Accepted?
Arrives
Initial Estimate
Not Accepted
Itemized Itemized
Issues Issues
[Amended] [Completed Items]
Initial Estimate Not
Itemized Accepted
Issues Add Additional Prepare Car
Issue to List for remittance
[Estimated]
Customer Issue List Amended Repairs Aborted Repairs Aborted
Requests Additional By Customer
Repairs
9
BPSim Implementer’s Guide v2.0
3.3.2 Goals
• Validate the control perspective of the process, in other words that it does not get stuck in
unexpected loops or bypass expected paths ; and
• To provide a baseline set of data. This data will be compared to our expected behaviour in
the real world to provide some confidence that the simulation model is valid.
o standard deviation: 1
o minimum: 1
3.3.3.5 Resources
• This scenario does not deal with the resource perspective.
11
BPSim Implementer’s Guide v2.0
XML snippet 1: Declaring simulation namespace and root element in a BPMN file
xmlns:bpsim="http://www.bpsim.org/schemas/2.0">
...
</bpsim:BPSimData>
</Package>
XML snippet 2: Declaring simulation namespace and root element in an XPDL file
Time Capture time intervals and are defined from an external observer point of view.
Property Specify simulation values for data instances used by the business process and by
implication offer an alternate way to specify most of the other parameter types.
13
BPSim Implementer’s Guide v2.0
The following model extract shows the control and property parameter that together make up the
process trigger for this scenario as described within Process Trigger(s). Note that the specification
requires max to be set for a TruncatedNormalDistribution though we don’t have a real maximum to
set in this example, so we just set it high so it does not affect the values generated.
<bpsim:Scenario id="S1" name="Scenario 1: Main flow only"
author="Tim Stephenson" created="2012-06-13T09:47:00">
<bpsim:ElementParameters elementRef="_51BDA265-2FF5-40CB-B68D-
1FBF9DAAA74C">
<bpsim:ControlParameters>
<bpsim:InterTriggerTimer>
<bpsim:DurationParameter value="PT24M"/>
</bpsim:InterTriggerTimer>
</bpsim:ControlParameters>
<bpsim:PropertyParameters>
<bpsim:Property name="noOfIssues" type="long">
<bpsim:TruncatedNormalDistribution
max="1000"
mean="2"
min="1"
standardDeviation="1"/>
</bpsim:Property>
</bpsim:PropertyParameters>
</bpsim:ElementParameters>
...
</bpsim:Scenario>
3.3.4.6 Add expressions to test whether we need to exit the repair loop
<bpsim:ElementParameters elementRef="_9C46FDB0-2EBD-4B2F-A72A-0189A4D76A73">
<bpsim:ControlParameters>
<bpsim:Condition>
<bpsim:ExpressionParameter
value="bpsim:getProperty('noOfIssues') > 0"/>
</bpsim:Condition>
</bpsim:ControlParameters>
</bpsim:ElementParameters>
14
BPSim Implementer’s Guide v2.0
<bpsim:ElementParameters elementRef="_4799D2B0-A204-4A08-94ED-796C25D9AE57">
<bpsim:ControlParameters>
<bpsim:Condition>
<bpsim:ExpressionParameter
value="bpsim:getProperty('noOfIssues') = 0"/>
</bpsim:Condition>
</bpsim:ControlParameters>
</bpsim:ElementParameters>
3.4.2 Goals
• As scenario 1, though for the additional path too.
15
BPSim Implementer’s Guide v2.0
3.4.3.4 Resources
This example does not deal with the resource perspective.
<bpsim:ElementParameters elementRef="_F9A272EE-D325-44CF-AFFC-4A615D2C9971">
<bpsim:ControlParameters>
<bpsim:Probability>
<bpsim:FloatingParameter value="0.05"/>
</bpsim:Probability>
<bpsim:InterTriggerTimer>
<bpsim:DurationParameter value="PT0M"/>
</bpsim:InterTriggerTimer>
<bpsim:TriggerCount>
<bpsim:ResultRequest>count</bpsim:ResultRequest>
<bpsim:NumericParameter value="1"/>
</bpsim:TriggerCount>
</bpsim:ControlParameters>
</bpsim:ElementParameters>
...
17
BPSim Implementer’s Guide v2.0
Level Summary
Trigger Borrowers arrive throughout the standard business day to apply for a home loan,
providing a completed loan application to a Loan Officer.
18
BPSim Implementer’s Guide v2.0
Send
Verify Close-Out
Rejection
Employment Rejection
Letter
Loan Request
Loan Rejected
Application
[Initial]
Record Loan
Review Application
Loan
Loan officer
Loan Application
Application [Rejected]
Receive Request Receive
Loan Credit Credit
Application Report Report
Send
Approval Close-out
Letter Approval
Loan Request
Approved
Loan
Application
[Approved]
Title Researcher
Perform Review
Title Title
Search Report
Underwrite
Loan with
Loan Underwritter
Terms
1 Hour
Time Limit
Set with
Default Terms
19
BPSim Implementer’s Guide v2.0
4.3.2 Goal
Identify potential bottlenecks in the AS-IS process and potential ways to alleviate them.
4.3.3.5 Resources
This example does not deal with the resource perspective.
XML snippet 10: Specifying that a new process instance will start every 16 minutes.
22
BPSim Implementer’s Guide v2.0
<bpsim:ElementParameters elementRef="_2017EC19-4BD5-40D7-9014-
E7D337A68E01">
<bpsim:TimeParameters>
<bpsim:ProcessingTime>
<bpsim:TruncatedNormalDistribution
mean="20" standardDeviation="1" min=”0” max=”1000”/>
</bpsim:ProcessingTime>
</bpsim:TimeParameters>
</bpsim:ElementParameters>
...
</bpsim:Scenario>
XML snippet 12: Truncated Normal Distribution for processing time of an activity
23
BPSim Implementer’s Guide v2.0
approved. The specification requires that the total weighting of all possible paths adds up to 1 so we
convert these to 0.27 for the approval weighting and 0.73 for rejection as follows:
<bpsim:ElementParameters elementRef="_93351D59-990B-46B0-80AB-FEEF088E9D7B">
<bpsim:ControlParameters>
<bpsim:Probability>
<bpsim:FloatingParameter value="0.73"/>
</bpsim:Probability>
</bpsim:ControlParameters>
</bpsim:ElementParameters>
<bpsim:ElementParameters elementRef="_3D6F2455-BFFB-44BB-A052-892FB15FEEB4">
<bpsim:ControlParameters>
<bpsim:Probability>
<bpsim:FloatingParameter value="0.27"/>
</bpsim:Probability>
</bpsim:ControlParameters>
</bpsim:ElementParameters>
XML snippet 14: Probability of following flows from the ‘Approved?’ decision point
<bpsim:ElementParameters elementRef="_6">
<bpsim:TimeParameters>
<bpsim:ProcessingTime>
<bpsim:ResultRequest>min</bpsim:ResultRequest>
<bpsim:ResultRequest>max</bpsim:ResultRequest>
<bpsim:ResultRequest>mean</bpsim:ResultRequest>
<bpsim:ResultRequest>count</bpsim:ResultRequest>
</bpsim:ProcessingTime>
</bpsim:TimeParameters>
<bpsim:ControlParameters>
<bpsim:TriggerCount>
<bpsim:ResultRequest>count</bpsim:ResultRequest>
</bpsim:TriggerCount>
</bpsim:ControlParameters>
</bpsim:ElementParameters>
<bpsim:ElementParameters elementRef="_2017EC19-4BD5-40D7-9014-E7D337A68E01">
<bpsim:TimeParameters>
<bpsim:ProcessingTime>
<bpsim:ResultRequest>min</bpsim:ResultRequest>
<bpsim:ResultRequest>max</bpsim:ResultRequest>
<bpsim:ResultRequest>mean</bpsim:ResultRequest>
<bpsim:TruncatedNormalDistribution max="1000" mean="20" min="0"
standardDeviation="1"
</bpsim:ProcessingTime>
</bpsim:TimeParameters>
</bpsim:ElementParameters>
XML snippet 16: Processing time results for the "Record Loan Application" task
25
BPSim Implementer’s Guide v2.0
Secondary Actors 1st Level Technical Support Agent, 2nd Level Technical Support Agent and
Supplier.
Level Summary
Trigger Customers call to a support center requiring a solution for a technical problem
about a service, equipment or software provided.
26
BPSim Implementer’s Guide v2.0
5.2 BPMN 2.0 Diagram of: Customer calls in with a technical issue
27
BPSim Implementer’s Guide v2.0
5.3.2 Goals
The goal of this scenario is to provide a frequency baseline:
What are the most / less used paths?
Description Rationale
1st level escalated Total number of requests attended by the 1st level support team
instances
2nd level escalated Total number of requests attended by the 2nd level support team
instances
Completed instances Total number of requests that reached the Customer issue resolved
End state
In progress instances Total number of requests that are being processed by the contact
center and did not reach the Customer issue resolved End state, for
the simulation period duration
The results should drive the user to conclude how well the contact center performs regarding ability
to process the incoming requests .
29
BPSim Implementer’s Guide v2.0
This control perspective scenario may be explored further to see how different levels of issue
resolution in each organisation affect the overall workload. This will suggest the relative number of
staff needed in each area but before we can draw firm conclusions we should explore the temporal
perspective.
1
By descending order - Total number of instances processed - It counts the absolute number of requests that were
processed. It sums the requests that were processed more than once in the same activity. This can happen because the
solution provided was not effective. Hence the request is reprocessed.
30
BPSim Implementer’s Guide v2.0
5.4.2 Goals
The goal of this scenario is providing answers to the following question:
What is mean time for providing a solution to the customer that reported a problem? And
how can we use this data to setup an acceptable service level(SLA).
2
(,) means decimal separator, i.e. 2,5 means 2 and a half minutes.
3
(,) means decimal separator, i.e. 2,5 means 2 and a half minutes.
31
BPSim Implementer’s Guide v2.0
32
BPSim Implementer’s Guide v2.0
5.5.2.2 Resources
The Support Center operates 24/7. And supports customers based on a particular time zone. This
means it is expected that it will handle very few requests during the night.
Supplier operates nonstop, 9 a.m. to 10 p.m. on weekdays only.
6 a.m. to 9 a.m. to 12 p.m. 3 p.m. to 6 p.m. to 10 p.m. 1 a.m. to
9 a.m. 12 p.m. to 3 p.m. 6 p.m. 10 p.m. to 1 a.m. 6 a.m.
200 90 130 60 150 100 40
Front
Office
3 3 3 3 3 3 0
1st Level
Technical
Support
Agent
2 2 2 2 2 2 0
2nd Level
Technical
Support
Agent
0 1 1 1 1 0 0
Supplier
Performers are assumed to be 100% available. In other words, this is the sole task they
perform. Front Office cannot perform 1st Level Technical support and so on.
As may be seen from the diagram, activities in the Customer pool are not modelled explicitly
nor the number of customers specified during the simulation. This is a modelling choice to
focus on the activity within the Support organisations. Instead of providing a full model we use
control parameters.
33
BPSim Implementer’s Guide v2.0
DTEND:20121220T220000
RRULE:FREQ=DAILY
END:VEVENT
PRODID:PAF Editor
VERSION:2.0
END:VCALENDAR</bpsim:Calendar>
5.5.3.2 Add parameters controlling the resources’ availability and start event inter trigger
associated with calendars
Since this is the first time we have introduced different inter trigger times at different times of day,
let’s look at how we associate each time parameter with a different calendar. We will model the inter-
trigger interval as constant within each period of the day. In addition, we set the quantity of
resources by calendar.
<bpsim:Scenario ... >
...
<bpsim:ElementParameters elementRef="_10-42">
35
BPSim Implementer’s Guide v2.0
<bpsim:ControlParameters>
<bpsim:InterTriggerTimer>
<!-- 170 tokens / hour -->
<bpsim:FloatingParameter value="0.35" validFor="C1"/>
<!-- 70 tokens / hour -->
<bpsim:FloatingParameter value="0.86" validFor="C2"/>
<!-- 110 tokens / hour -->
<bpsim:FloatingParameter value="0.55" validFor="C3"/>
<!-- 60 tokens / hour -->
<bpsim:FloatingParameter value="1.0" validFor="C4"/>
<!-- 140 tokens / hour -->
<bpsim:FloatingParameter value="0.43" validFor="C5"/>
<!-- 90 tokens / hour -->
<bpsim:FloatingParameter value="0.67" validFor="C6"/>
<!-- 30 tokens / hour -->
<bpsim:FloatingParameter value="2.0" validFor="C7"/>
</bpsim:InterTriggerTimer>
</bpsim:ControlParameters>
</bpsim:ElementParameters>
...
<bpsim:ElementParameters elementRef="frontOffice">
<bpsim:ResourceParameters>
<bpsim:Quantity>
<bpsim:NumericParameter value="0"/>
<bpsim:NumericParameter value="200" validFor="C1"/>
<bpsim:NumericParameter value="90" validFor="C2"/>
<bpsim:NumericParameter value="130" validFor="C3"/>
<bpsim:NumericParameter value="60" validFor="C4"/>
<bpsim:NumericParameter value="150" validFor="C5"/>
<bpsim:NumericParameter value="100" validFor="C6"/>
<bpsim:NumericParameter value="40" validFor="C7"/>
</bpsim:Quantity>
</bpsim:ResourceParameters>
</bpsim:ElementParameters>
...
</bpsim:Scenario>
36
BPSim Implementer’s Guide v2.0
<bpsim:ElementParameters elementRef="_10-57">
...
<bpsim:PropertyParameters>
<bpsim:QueueLength>
<bpsim:ResultRequest>mean</bpsim:ResultRequest>
</bpsim:QueueLength>
</bpsim:PropertyParameters>
...
</bpsim:ElementParameters>
37
BPSim Implementer’s Guide v2.0
6 Serialization examples
6.1 Time Parameters
6.1.1 Duration
You can set the duration for the Task to 5 minutes using the processing time.
<ElementParameters elementRef="task">
<TimeParameters>
<ProcessingTime>
<DurationParameter value="PT5M"/>
</ProcessingTime>
</TimeParameters>
</ElementParameters>
38
BPSim Implementer’s Guide v2.0
To determine the odds of a split going 25% to choice1 and 75% to choice2, you can use the control
parameters.
<ElementParameters elementRef="choice1">
<ControlParameters>
<Probability>
<FloatingParameter value="0.25"/>
</Probability>
</ControlParameters>
</ElementParameters>
<ElementParameters elementRef="choice2">
<ControlParameters>
<Probability>
<FloatingParameter value="0.75"/>
</Probability>
</ControlParameters>
</ElementParameters>
To start this process every 5 minutes, you can use the inter trigger timer on the start.
<ElementParameters elementRef="start">
<ControlParameters>
<InterTriggerTimer>
<DurationParameter value="PT5M"/>
</InterTriggerTimer>
</ControlParameters>
</ElementParameters>
39
BPSim Implementer’s Guide v2.0
You can also determine the number of times a process starts using the starting instance count
parameter (starts 100 tokens).
<ElementParameters elementRef="start">
<ControlParameters>
<TriggerCount>
<NumericParameter value="100"/>
</ TriggerCount >
</ControlParameters>
</ElementParameters>
You could also combine the inter trigger with the instance count to start 100 instances but start one
every 5 minutes.
<ElementParameters elementRef="start">
<ControlParameters>
< TriggerCount >
<NumericParameter value="100"/>
</ TriggerCount >
<InterTriggerTimer>
<DurationParameter value="PT5M"/>
</InterTriggerTimer>
</ControlParameters>
</ElementParameters>
6.3.1 Distribution
Here is how you can express the duration to be random from 3 to 10 minutes.
<Scenario id="default" name="Scenario">
<ScenarioParameters baseTimeUnit="min"/>
<ElementParameters elementRef="task">
<TimeParameters>
<ProcessingTime>
<UniformDistribution min="3" max="10"/>
</ProcessingTime>
</TimeParameters>
</ElementParameters>
</Scenario>
40
BPSim Implementer’s Guide v2.0
Here we used a uniform distribution from 3 to 10 and we defined at the scenario level that the base
time unit is minutes.
We could do the same in seconds.
<Scenario id="default" name="Scenario">
<ScenarioParameters baseTimeUnit="s"/>
<ElementParameters elementRef="task">
<TimeParameters>
<ProcessingTime>
<UniformDistribution min="180" max="600"/>
</ProcessingTime>
</TimeParameters>
</ElementParameters>
</Scenario>
41
BPSim Implementer’s Guide v2.0
6.6 Results
By default, result requests return values which cover the whole of the simulation run. A result
frequency and cumulative switch can be set in Scenario parameters to obtain results on a regular time
basis, e.g. daily. If baseresultfrequencycumul is set to False , the results will be for each day only,
alternatively they will be cumulative up to that point.
<bpsim:ScenarioParameters baseResultFrequency="P1D"
baseResultFrequencyCumul="false" >
42
BPSim Implementer’s Guide v2.0
This will give an output that will have the following format.
<ElementParameters elementRef="task">
<TimeParameters>
<ProcessingTime>
<DurationParameter value="PT1M" result=”min”/>
<DurationParameter value="PT5M" result=”max”/>
<DurationParameter value="PT3M" result=”mean”/>
</ProcessingTime>
</TimeParameters>
</ElementParameters>
43
BPSim Implementer’s Guide v2.0
Result is:
<ElementParameters elementRef="signal">
<ControlParameters>
<InterTriggerTimer>
<DurationParameter value="PT2M" result=”min”/>
<DurationParameter value="PT5M" result=”max”/>
<DurationParameter value="PT4M" result=”mean”/>
<DurationParameter value="PT24M" result=”sum”/>
</InterTriggerTimer>
</ControlParameters>
</ElementParameters>
44
BPSim Implementer’s Guide v2.0
The expected result should now have the replication instance identifier present
<ElementParameters elementRef="task">
<TimeParameters>
<ProcessingTime>
<DurationParameter value="PT4M" result="mean"
instance="3218nd-21332dsda"/>
<DurationParameter value="PT5M" result="mean"
instance="321h2d-321321dd"/>
<DurationParameter value="PT6M" result="mean"
instance="321jd9d-3123213"/>
</ProcessingTime>
</TimeParameters>
</ElementParameters>
45