Table of Contents:


ONE Settings files

ONE simulations can use 2 configuration files:

  1. Default settings, called “default_settings.txt”, this is shared across different simulation scenarios

  2. A settings file passed to the ONE simulator program as an argument when running a specific simulation. This settings file can override some settings set in the default_settings.txt or introduce new ones.

    1. e.g. for tutorial 1, we have a settings.txt in the tutorial1_basic_messaging folder.

    The original guidelines for configuring ONE can be found here. In this guide, we take a look at the default_settings.txt used for STEP-ONE tutorials that is shared between all of them. The file specifies various aspects of the simulation:

Configuring Process Engines and Processes

ONE hosts can run applications - applications can receive and produce messages. STEP-ONE provides a special kind of application: a process engine.

To use STEP-ONE process management, a host (group) needs to embed the application bpm.BpmEngineApplication

In the below example, there are 2 different configurations for the BpmEngineApplication:

# Declare 2 applications, called processEngineApp1 and processEngineApp2,
# both of type bpm.BpmEngineApplication. They will be configured to run different processes on A and B
processEngineAppA.type = bpm.BpmEngineApplication
processEngineAppB.type = bpm.BpmEngineApplication

# For all host groups, say that they embed exactly 1 application
Group.nrofApplications = 1

# Now specify separately for host group which process engine variant they should embed
Group1.application1 = processEngineAppA
Group2.application1 = processEngineAppB

# Configure the engine variants:

# Set some process definitions to be auto-deployed to the engines once the simulation starts
processEngineAppA.autoDeployedProcesses = samples/tutorial1_basic_messaging/Tutorial_1_Basic_Messaging_B.bpmn20

# Set a process to be auto-started
processEngineApp1.autoStartedProcessKeys = tutorial1_a

Other notes

A very useful feature of ONE settings is the run indexing feature .


Back to Home