if (orgAct == null)
if (orgAct == null) { logger.error("getRate() orgAct null"); if (myOrgName.indexOf("35-ARBN") >= 0) { System.out.println("getRate() orgAct null for "+ asset.getTypeIdentificationPG().getNomenclature()); }
  public Rate getRate(Asset asset, List params) {    Rate r = null;    if (params == null)      return r;    Double qty = (Double)params.get(0);    OrgActivity orgAct = (OrgActivity)params.get(1);    if (orgAct == null)      return r;    Double d = (Double) consumptionRates.get(orgAct.getActivityName());    if (d == null)      return r;    r = FlowRate.newGallonsPerDay (d.doubleValue()*qty.doubleValue());    return r;  }