inflowDataPoints.add(createInflowDataPoint(900.0, 1800.0, 12.0));
inflowTimeSeries = new InflowTimeSeries(inflowDataPoints);
}
private static Inflow createInflowDataPoint(double time, double flow, double speed) {
Inflow inflow = new Inflow();
inflow.setQPerHour(flow);
inflow.setT(time);
inflow.setV(speed);
return inflow;
}