private void configureForSim (Map<String, Collection<?>> beans) { population = customerAttributeList.size(); int index = 0; for (String description : customerAttributeList) { String[] attributes = description.split("\\."); SocialGroup thisGroup = groups.get(Integer.parseInt(attributes[0])); String gender = attributes[1]; CarType car = carTypes.get(attributes[2]); instantiateCustomer(beans, thisGroup, gender, car, this.name + "_" + index++); } service.getServerConfiguration().configureNamedInstances(evCustomers); }