int zCoordColumnIndex = model.getZCoordIndex();
int tempColumnIndex = model.getTempIndex();
int pressureColumnIndex = model.getPressureIndex();
+ int sewageProductionColumnIndex = model.getSewageProductionIndex();
int startXCoordColumnIndex = model.getStartXCoordIndex();
int startYCoordColumnIndex = model.getStartYCoordIndex();
} catch (NumberFormatException e) {
throw new DatabaseException(e);
}
+ }
+ String sewageProductionS = row.get(sewageProductionColumnIndex);
+ if (!sewageProductionS.isEmpty()) {
+ try {
+ double sewageProduction = Double.parseDouble(sewageProductionS);
+ graph.claimLiteral(vertex, DN.Vertex_HasSewageProduction, sewageProduction, Bindings.DOUBLE);
+ } catch (NumberFormatException e) {
+ throw new DatabaseException(e);
+ }
}
} else {