}
simulation.setSimulationType(SimulationPlan.SimulationType.fromText(getString(root.get("simulationType"),
"threaded")));
if (SimulationType.SEQUENTIAL.equals(simulation.getSimulationType())) {
dateTimeService = new SimulatedDateTimeService();
}
dateTimeService.setConfiguration(simulation.getMetricsServerConfiguration());
simulation.setDateTimeService(dateTimeService);