GLMDebug.ERROR("TaskUtils", "getRate(), Task is not Projection :"+taskDesc(task));
if (logger.isErrorEnabled()) { logger.error("getRate(), Task is not Projection :" + taskDesc(task)); }
  public static Rate getRate(Task task) {    AspectValue best = getPreferenceBest(task, AlpineAspectType.DEMANDRATE);    if (best == null)      GLMDebug.ERROR("TaskUtils", "getRate(), Task is not Projection :"+taskDesc(task));    return ((AspectRate) best).getRateValue();  }