+ char *network_model_name = xbt_cfg_get_string(_surf_cfg_set, "network_model");
+ char *cpu_model_name = xbt_cfg_get_string(_surf_cfg_set, "cpu_model");
+
+ if ((strcmp(network_model_name,"CM02") || strcmp(cpu_model_name,"Cas01"))
+ && !strcmp(workstation_model_name, "CLM03")){
+ const char *val = "compound";
+ INFO0("Switching workstation model to compound since you changed the network and/or cpu model(s)");
+ xbt_cfg_set_string(_surf_cfg_set,"workstation_model",val);
+ workstation_model_name = (char*)"compound";
+ }