InputReader reader = InputReader.create(batch);
List<ConsumptionDataRecord> records = reader.getRecords();
EnergyFlowModel model = consumptionModelPool.get(batch.getModel());
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);
}