Commit 59c7b10 1 parent b30c815 commit 59c7b10 Copy full SHA for 59c7b10
File tree 1 file changed +3
-3
lines changed
src/main/java/neqsim/processSimulation/processEquipment/util
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -116,14 +116,14 @@ public void run(UUID id) {
116
116
logger .error (ex .getMessage (), ex );
117
117
}
118
118
119
- SystemInterface gasFluid = adjustedFluid .phaseToSystem ("gas" ).clone ();
120
- SystemInterface oilFluid = adjustedFluid .phaseToSystem ("oil" ).clone ();
119
+ SystemInterface gasFluid = adjustedFluid .phaseToSystem (0 ).clone ();
120
+ SystemInterface oilFluid = adjustedFluid .phaseToSystem (1 ).clone ();
121
121
122
122
double temperature = inStream .getTemperature ("C" );
123
123
double pressure = inStream .getPressure ("bara" );
124
124
125
125
if (desiredWaterFlow > 0.0 ){
126
- SystemInterface waterFluid = adjustedFluid .phaseToSystem ("aqueous" ).clone ();
126
+ SystemInterface waterFluid = adjustedFluid .phaseToSystem (2 ).clone ();
127
127
waterFluid .initPhysicalProperties ();
128
128
waterDensity = waterFluid .getDensity ("kg/m3" );
129
129
You can’t perform that action at this time.
0 commit comments