Model 3d - Data Objects

Goals of this lesson

  • Usage of Data Objects (to transfer information)

How-to

Model 3d uses a Data Object to transfer data to the process instance.

3d eng
Figure 1. Model 3d - Data Objects / IYOPRO-Link

Approach

  • The first activity defines the variables x = 3 and y = 4

  • In the data object we define x = 5 in the Expression field (see the highlighted area in the figure below)

  • The Data Association from the data object to the second activity tells the activity to read data, that has been defined in the data object.

  • Therefore the former x-value gets overwritten.

  • To test this, we set up the conditions at the exclusive gateways like this:

    • Upper Edge: x < y

    • Bottom Edge x >= y

  • After running the simulation, the report will tell you, that x indeed has been overwritten.

Of course you can also write data into a Data Object by inverting the Data Association’s direction.
3d props
Figure 2. Simulation Properties of a Data Object (Expression property highlighted)

Report

See below for the run configuration, which we set up to receive the report statistics from below.

Please refer to the section Experiment Results for more information on the report specific data.

Run configuration

  • Stochastic Seed: 12345

  • Simulation start date: 1/1/2014 12:00:00 a.m.

  • Simulation stop time: 240

  • Simulation stop time unit: Hours

Report statistics

  • The process cycle times and the activity run-rimes (Figure 3 and Figure 4) show us that the variable x indeed is bigger than y

    • Also if you take a look at the gateway details (not listed here), you will notice that always the same edge has been followed behind the branching exclusive gateway

  • Retrospective: x = 3, y = 4

    • But at the second activity we assigned x the value from the data object, which is 5

  • 236 process instances have been completed throughout the simulation

  • The number of completed New x  y also equals 236

  • These numbers tell us that x is always greater than y (which is not really surprising, because we defined it that way)

model3d process cycle
Figure 3. The report’s process cycle time
model3d activity1
Figure 4. The report’s activity run-times