Package org.movsim.consumption.offline

Examples of org.movsim.consumption.offline.ConsumptionCalculation


            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);
        }
View Full Code Here

TOP

Related Classes of org.movsim.consumption.offline.ConsumptionCalculation

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.