diff --git a/src/main/java/neqsim/PVTsimulation/simulation/SlimTubeSim.java b/src/main/java/neqsim/PVTsimulation/simulation/SlimTubeSim.java index 0f11d52870..b414520698 100644 --- a/src/main/java/neqsim/PVTsimulation/simulation/SlimTubeSim.java +++ b/src/main/java/neqsim/PVTsimulation/simulation/SlimTubeSim.java @@ -38,17 +38,18 @@ public SlimTubeSim(SystemInterface tempSystem, SystemInterface injectionGas) { public void run() { slimTubeNodeSystem = new SystemInterface[numberOfSlimTubeNodes + 1]; - double totalReferenceNodeVolumeAtStadardConditions = 0; getThermoSystem().setPressure(1.01325); getThermoSystem().setTemperature(288.15); thermoOps.TPflash(); - totalReferenceNodeVolumeAtStadardConditions = - getThermoSystem().getPhase(0).getVolume() * numberOfSlimTubeNodes; - if (getThermoSystem().getNumberOfPhases() > 1) { - totalReferenceNodeVolumeAtStadardConditions = - getThermoSystem().getPhase(1).getVolume() * numberOfSlimTubeNodes; - } + + /* + * double totalReferenceNodeVolumeAtStadardConditions; if (getThermoSystem().getNumberOfPhases() + * > 1) { totalReferenceNodeVolumeAtStadardConditions = + * getThermoSystem().getPhase(1).getVolume() * numberOfSlimTubeNodes; } else { + * totalReferenceNodeVolumeAtStadardConditions = getThermoSystem().getPhase(0).getVolume() * + * numberOfSlimTubeNodes; } + */ getThermoSystem().setPressure(getPressure()); getThermoSystem().setTemperature(getTemperature()); @@ -71,7 +72,6 @@ public void run() { } slimTubeNodeSystem[numberOfSlimTubeNodes].reset(); - // slimTubeNodeSystem[numberOfSlimTubeNodes].init(0); slimTubeNodeSystem[numberOfSlimTubeNodes].init(1); ThermodynamicOperations slimOps0 = new ThermodynamicOperations(slimTubeNodeSystem[0]);