Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
EvenSol committed Dec 8, 2024
1 parent 3ac793a commit 80853d3
Showing 1 changed file with 9 additions and 5 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
package neqsim.process.processmodel;

import static org.junit.jupiter.api.Assertions.assertAll;
import java.io.File;
import org.junit.jupiter.api.Assertions;
import org.junit.jupiter.api.Test;
import neqsim.process.equipment.compressor.Compressor;
import neqsim.process.equipment.heatexchanger.Cooler;
Expand Down Expand Up @@ -225,22 +227,24 @@ public void testProcess2() {
dewPointControlCooler.run();

// dewPointControlCooler.getOutStream().getFluid().prettyPrint();

Assertions.assertEquals(0.9964199113579,
dewPointControlCooler.getOutStream().getFluid().getBeta(), 1e-6);
Separator dewPointScrubber = new neqsim.process.equipment.separator.Separator(
"dew point scrubber", dewPointControlCooler.getOutStream());
// dewPointScrubber.run();
dewPointScrubber.run();

Cooler dewPointControlCooler2 = new neqsim.process.equipment.heatexchanger.Cooler(
"dew point cooler 2", dewPointScrubber.getGasOutStream());
dewPointControlCooler2.setOutTemperature(-5.0, "C");
dewPointControlCooler2.setOutPressure(59.5, "bara");
// dewPointControlCooler2.run();

dewPointControlCooler2.run();
Assertions.assertEquals(0.9808118997528,
dewPointControlCooler2.getOutStream().getFluid().getBeta(), 1e-6);
Separator dewPointScrubber2 = new neqsim.process.equipment.separator.Separator(
"dew point scrubber 2", dewPointControlCooler2.getOutStream());
dewPointScrubber2.run();

// dewPointScrubber.getFluid().prettyPrint();
// dewPointScrubber2.getFluid().prettyPrint();

Mixer hpLiqmixer = new neqsim.process.equipment.mixer.Mixer("HP liq gas mixer");
hpLiqmixer.addStream(dewPointScrubber.getLiquidOutStream());
Expand Down

0 comments on commit 80853d3

Please sign in to comment.