simulation.setDelayTime(0);
simulation.setSimulationTime(0);
simulation.setTickTime(1);
try {
RadioMedium radioMedium = RadioMedium.generateRadioMedium(UDGM.class,
simulation);
simulation.setRadioMedium(radioMedium);
} catch (Exception e) {
return createErrorMessage("Create simulation: Could not create radio medium: " + e.getMessage());
}