Try OpenEdge Now
skip to main content
Developing BPM Applications with Developer Studio
Developing BPM projects : Creating a simulation project
 

Creating a simulation project

Progress Developer Studio for OpenEdge provides the Simulation project, which supports all simulation functions, and allows for easier integration of additional features in future releases.
To create a Simulation project:
1. From the File menu, select New > Project to launch the New Project wizard.
2. From the Progress OpenEdge > BPM node, click BPM Simulation Project, and then click Next.
3. In the first page of the New Simulation Project wizard, enter the name of the simulation project in the Name box. The name can contain only alphanumeric characters, and must not contain blank spaces or special character, except underscores (“_”). Ensure that the project name starts with an alphabetic character. If required, enter a label and description in the respective boxes.
4. By default, the project is stored in the default workspace folder. To choose another location, clear the Use default location checkbox, and then click Browse to choose another location.
5. Click Next to define the simulation properties of this project.
a. From the Start Simulation section, click one of the following options to define when to start to start the simulation:
*At current system time option to activate the simulation at the current time of the system.
*At time option to activate the simulation at a predefined time other than system time. After clicking this option, you need to specify a date and time. To do so, click the adjoining ellipsis button. For details, see Specifying a date.
b. From the Stop Simulation section, click any of the following options to define when to stop the simulation:
*On completion of process instances option to stop the simulation when all the instances of the processes in the simulation project are completed.
*At time option to stop the simulation at a predefined time. You can use this option only if you have selected the At time option in the Start Simulation section. You need to specify a stop time later than the simulation start time. To specify another date and time, click the adjoining ellipsis button. For details, see Specifying a date.
*After duration option to specify a relative end time for simulation, in terms of duration. You can specify the duration in terms of hours, minutes, and seconds by entering values in the respective boxes.
6. Click Next to define the project calendar settings for this simulation project.
You can use the Project Calendar page to define the default calendar settings for your simulation project.
a. From the Work Days section, select (or clear) the appropriate checkboxes for the work days.
b. The Sessions section table displays the default time segments. The default work-hours are 9:00 - 13:00 and 14:00 - 18:00.
*To add a session, click Add opening the Session dialog box. Specify the start time (hours and minutes) and the end time (hours and minutes) of the session in the respective boxes. Click OK to add the session to the Sessions section table.
*To edit any of the listed sessions, select the session, then click Modify to open the Session dialog box, where you can modify the start and end time.
*To remove any of the listed sessions, select the session, then click Delete. Progress Developer Studio for OpenEdge prompts you for confirmation. Click OK to remove the session.
The settings defined here are applied to the “default” scenario in your simulation project. You can modify these settings for the default scenario, as well as for any added scenarios in the Simulation perspective, after creating the simulation project. For details, see Modifying simulation settings for a scenario.
7. Click Next to add the processes that you want to include in this simulation. You can also configure the simulation settings for each added process.
a. To add a process to the simulation project, click the Add () icon in the Select section, to open the Required Project Selection dialog box. From the list of current processes, select the process to be added then click OK.
The added process is displayed in the Select section. You can add as many processes, as required.
To remove a process from the simulation project, select the process, then click the Remove ( ) icon.
For each added process, you can configure the simulation start settings (available only for multiple processes), the instance count, and the type of randomization.
b. From the Start section, select the At time option to set an absolute time and date, as described in Step 5a. The start time for a process must be later than the absolute start time (if specified) for the simulation project. Alternatively, select the After duration option to specify a relative start time (in terms of duration) for the process simulation, as described in Step 5b.
You cannot set an absolute time and date for the process if you have set the simulation start time to system time.
c. Use the Count section to specify the number of process instances. You can either keep the instance count unlimited or specify a maximum value in the Limited To box. You cannot specify an unlimited instance count if you have selected the On completion of process instances option in the third page of the wizard.
d. From the Type drop-down list in the Distribution section, choose a method to randomize the duration of each interval between process instances in the simulation. For information regarding randomizing methods, see Configuring and running simulation.
8. Click Finish to complete creating the Simulation project.
9. If you are currently not in the Progress OpenEdge BPM Simulation perspective, Progress Developer Studio for OpenEdge prompts you to switch to this perspective. Click Yes to open the simulation project in the Progress OpenEdge BPM Simulation perspective. Alternatively, click No to open the simulation project in your current perspective.
If you select the Remember my decision check box, Progress Developer Studio for OpenEdge does not display any prompt and executes the selected command the next time you create or open a simulation project file (SST). For further details regarding configuring and running a simulation, see Configuring and running simulation.
Note: You can modify the above selected configuration for opening the Progress OpenEdge BPM Simulation perspective using the Simulation > UI page in the Preferences dialog box. For information, see Usingthe Simulation page.