Preconditions.checkNotNull(model, "model not available with name=" + batch.getModel());
ConsumptionCalculation calculation = new ConsumptionCalculation(model);
calculation.process(records);
OutputWriter writer = OutputWriter.create(batch, ProjectMetaData.getInstance().getOutputPath());
writer.write(records);
}
System.out.println(inputData.getConsumption().getBatchJobs().getBatchData().size() + " batches done.");
}