} else { // if we don't use a server we create a simulation on our own
TaskConfiguration config =
new TaskConfiguration(1, null, null, parameters.getParameterBlock());
SimulationRunConfiguration srConfig =
(SimulationRunConfiguration) config
.newComputationTaskConfiguration(new ComputationTaskIDObject());
simulation = new SimulationRun("SimRun", model, srConfig, null);
}
if (simulation == null) {
SimSystem.report(Level.SEVERE, "Simulation creation failed!!!");
}