|
7 | 7 | package neqsim.statistics.experimentalSampleCreation.sampleCreator.wettedWallColumnSampleCreator;
|
8 | 8 |
|
9 | 9 | import Jama.Matrix;
|
10 |
| -import neqsim.statistics.dataAnalysis.dataSmoothing.DataSmoothor; |
| 10 | +import neqsim.statistics.dataanalysis.datasmoothing.DataSmoother; |
11 | 11 | import neqsim.statistics.experimentalEquipmentData.ExperimentalEquipmentData;
|
12 | 12 | import neqsim.statistics.experimentalEquipmentData.wettedWallColumnData.WettedWallColumnData;
|
13 | 13 | import neqsim.statistics.experimentalSampleCreation.readDataFromFile.wettedWallColumnReader.WettedWallColumnDataObject;
|
|
26 | 26 | */
|
27 | 27 | public class WettedWallColumnSampleCreator extends SampleCreator {
|
28 | 28 | WettedWallDataReader reader;
|
29 |
| - DataSmoothor smoothor; |
30 | 29 | double[] time;
|
31 | 30 | double[] pressure;
|
32 | 31 | double[] inletLiquidTemperature;
|
@@ -115,33 +114,33 @@ public void smoothData() {
|
115 | 114 | Matrix data = new Matrix(pressure, 1);
|
116 | 115 | data.print(10, 2);
|
117 | 116 |
|
118 |
| - smoothor = new DataSmoothor(pressure, 10, 10, 0, 2); |
119 |
| - smoothor.runSmoothing(); |
120 |
| - smoothedPressure = smoothor.getSmoothedNumbers(); |
| 117 | + DataSmoother smoother = new DataSmoother(pressure, 10, 10, 0, 2); |
| 118 | + smoother.runSmoothing(); |
| 119 | + smoothedPressure = smoother.getSmoothedNumbers(); |
121 | 120 |
|
122 |
| - smoothor = new DataSmoothor(inletLiquidTemperature, 10, 10, 0, 2); |
123 |
| - smoothor.runSmoothing(); |
124 |
| - smoothedInletLiquidTemperature = smoothor.getSmoothedNumbers(); |
| 121 | + smoother = new DataSmoother(inletLiquidTemperature, 10, 10, 0, 2); |
| 122 | + smoother.runSmoothing(); |
| 123 | + smoothedInletLiquidTemperature = smoother.getSmoothedNumbers(); |
125 | 124 |
|
126 |
| - smoothor = new DataSmoothor(outletLiquidTemperature, 10, 10, 0, 2); |
127 |
| - smoothor.runSmoothing(); |
128 |
| - smoothedOutletLiquidTemperature = smoothor.getSmoothedNumbers(); |
| 125 | + smoother = new DataSmoother(outletLiquidTemperature, 10, 10, 0, 2); |
| 126 | + smoother.runSmoothing(); |
| 127 | + smoothedOutletLiquidTemperature = smoother.getSmoothedNumbers(); |
129 | 128 |
|
130 |
| - smoothor = new DataSmoothor(columnWallTemperature, 10, 10, 0, 2); |
131 |
| - smoothor.runSmoothing(); |
132 |
| - smoothedColumnWallTemperature = smoothor.getSmoothedNumbers(); |
| 129 | + smoother = new DataSmoother(columnWallTemperature, 10, 10, 0, 2); |
| 130 | + smoother.runSmoothing(); |
| 131 | + smoothedColumnWallTemperature = smoother.getSmoothedNumbers(); |
133 | 132 |
|
134 |
| - smoothor = new DataSmoothor(inletTotalGasFlowRate, 10, 10, 0, 2); |
135 |
| - smoothor.runSmoothing(); |
136 |
| - smoothedInletTotalGasFlowRate = smoothor.getSmoothedNumbers(); |
| 133 | + smoother = new DataSmoother(inletTotalGasFlowRate, 10, 10, 0, 2); |
| 134 | + smoother.runSmoothing(); |
| 135 | + smoothedInletTotalGasFlowRate = smoother.getSmoothedNumbers(); |
137 | 136 |
|
138 |
| - smoothor = new DataSmoothor(co2SupplyRate, 10, 10, 0, 2); |
139 |
| - smoothor.runSmoothing(); |
140 |
| - smoothedCo2SupplyRate = smoothor.getSmoothedNumbers(); |
| 137 | + smoother = new DataSmoother(co2SupplyRate, 10, 10, 0, 2); |
| 138 | + smoother.runSmoothing(); |
| 139 | + smoothedCo2SupplyRate = smoother.getSmoothedNumbers(); |
141 | 140 |
|
142 |
| - smoothor = new DataSmoothor(inletLiquidFlowRate, 10, 10, 0, 2); |
143 |
| - smoothor.runSmoothing(); |
144 |
| - smoothedInletLiquidFlowRate = smoothor.getSmoothedNumbers(); |
| 141 | + smoother = new DataSmoother(inletLiquidFlowRate, 10, 10, 0, 2); |
| 142 | + smoother.runSmoothing(); |
| 143 | + smoothedInletLiquidFlowRate = smoother.getSmoothedNumbers(); |
145 | 144 |
|
146 | 145 | data = new Matrix(smoothedPressure, 1);
|
147 | 146 | data.print(10, 2);
|
|
0 commit comments