try {
// register global for aggregated events
ksession.setGlobal("logger", new SystemOutLogger());
ksession.setGlobal("simulation", new ArrayList<AggregatedActivitySimulationEvent>());
ksession.setGlobal("summary", new ArrayList<AggregatedActivitySimulationEvent>());
AggregatedProcessSimulationEvent init = new AggregatedProcessSimulationEvent("", 0, 0, 0);
List processOnlyList = new ArrayList<AggregatedSimulationEvent>();
processOnlyList.add(init);
ksession.setGlobal("processEventsOnly", processOnlyList);
} catch (Exception e) {
// catch it as there could be no simulation global declared