logger.debug ("no result for asset " +
if (logger.isDebugEnabled()) logger.debug ("no result for asset " +
  public Vector lookupLevel2AssetConsumptionRate(String agent, Asset asset, String supply_type) {    Vector result = null;    String query = (String) fileParameters_.get (LEVEL2 + supply_type + "Rate");    if (query == null) {      logger.error("lookupLevel2AssetConsumptionRate() ACR query is null for "+                   LEVEL2+supply_type);      return null;    }    query = substituteOrgName(query, agent);    logger.debug("lookupLevel2AssetConsumptionRate() ACR query for "+ LEVEL2 + supply_type + " = "+query);    try {      result = executeQuery (query);      logger.debug ("in lookupLevel2AssetConsumptionRate() query complete for asset "+                    asset.getTypeIdentificationPG().getNomenclature()+                    "\nquery= "+query);      if (result.isEmpty()) {        logger.debug ("no result for asset " +                      asset.getTypeIdentificationPG().getNomenclature());        return null;      }    } catch (Exception ee) {      logger.error ( "in lookupLevel2AssetConsumptionRate(), DB query failed.Query= "+query);      return null;    }    return result;  }