Book a Demo

Author Topic: BPSim - How to display PropertyParameter Values? (v16)  (Read 3081 times)

Paolo F Cantoni

  • EA Guru
  • *****
  • Posts: 8626
  • Karma: +259/-129
  • Inconsistently correct systems DON'T EXIST!
    • View Profile
BPSim - How to display PropertyParameter Values? (v16)
« on: November 03, 2022, 01:06:59 pm »
The Example.eap or Example. qea files have a BPSim example process, "MessageEvent (StartEvent, IntermediateEvent, EndEvent)", which we are using to investigate how to simulate Messages in BPMN simulations.  It is described on Page 92 and following, in https://sparxsystems.com/resources/user-guides/16.0/simulation/business-process-simulation-bpsim.pdf, (link kindly provided by Phil Chudley).

The simulation uses a parameter property {M1} to control the flow through the process.


By adjusting the initial value of {M1}, we can change the flow through the process.  However, in the standard example, although {M1} is an expression, it is a constant expression.  Thus regardless of the number of simulations (controlled by the control property TriggerCount), the path is always the same.  (Like the definition of madness, executing the same process with the same input and expecting a different result!).


OK, so we'll make {M1} a distribution.  We tried to create a similar distribution to that shown for the "Car Repair Process", described on pages 69 and following of the PDF.  So, we set up a "TruncatedNormal" distribution with mean 14, Std Dev 1, min 1, max 100, and ran the simulation (with TriggerCount 20)  expecting a wide range of {M1} values to fully exercise the process and to run through all paths.  Instead, there didn't seem to be any difference between the distribution count and the constant expression.  Only one path through the process seemed to be exercised!

So, we thought, let's look at the Token Analysis!  But how?  There is no button on the toolbar, as shown on page 95!  So how do we examine the parameter properties in the simulation?As an aside, did we do anything wrong with our Distribution specification?

TIA,
Paolo 
« Last Edit: November 03, 2022, 01:08:36 pm by Paolo F Cantoni »
Inconsistently correct systems DON'T EXIST!
... Therefore, aim for consistency; in the expectation of achieving correctness....
-Semantica-
Helsinki Principle Rules!