Skip to content

Simulation with PLG


To use these algorithms in your Java Maven project it is necessary to include, in the pom.xml file, the dependency:

See the introduction page for further instructions.


This wrapper of the PLG library allows the generation of random processes as well as their simulation. Processes can also be imported and exported. The following snipped of code generates a random process and streams it:

Process p = new Process("");
ProcessGenerator.randomizeProcess(p, RandomizationConfiguration.BASIC_VALUES);

LogGenerator logGenerator = new LogGenerator(p, new SimulationConfiguration(100), new ProgressAdapter());
XLog log = logGenerator.generateLog();

StreamExecutionEnvironment env = StreamExecutionEnvironment.getExecutionEnvironment();
    .addSource(new XesLogSource(log))

Scientific literature

The technique implemented in this package is described in:

Other relevant publications:

Further information are also availalbe at the Wiki of the PLG project.