Skip to content

Commit

Permalink
v3.0.13 (#1235)
Browse files Browse the repository at this point in the history
  • Loading branch information
EvenSol authored Jan 6, 2025
1 parent 54c4de4 commit 6d1cf1d
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 15 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<version>${revision}${sha1}${changelist}</version>

<properties>
<revision>3.0.12</revision>
<revision>3.0.13</revision>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
<sha1/>
Expand Down
2 changes: 1 addition & 1 deletion pomJava21.xml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<version>${revision}${sha1}${changelist}</version>

<properties>
<revision>3.0.12</revision>
<revision>3.0.13</revision>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
<sha1/>
Expand Down
2 changes: 1 addition & 1 deletion pomJava8.xml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<version>${revision}${sha1}${changelist}-Java8</version>

<properties>
<revision>3.0.12</revision>
<revision>3.0.13</revision>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
<sha1 />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ void setUp() {
testOps.TPflash();
}


@Test
void testRun1() {
Stream stream_Hot = new Stream("Stream1", testSystem);
Expand All @@ -52,9 +51,7 @@ void testRun1() {
// heatEx.setUAvalue(1000);
heatEx.setTemperatureApproach(5);


neqsim.process.processmodel.ProcessSystem operations =
new neqsim.process.processmodel.ProcessSystem();
neqsim.process.processmodel.ProcessSystem operations = new neqsim.process.processmodel.ProcessSystem();
operations.add(stream_Hot);
operations.add(stream_Cold);
operations.add(stream_Cold2);
Expand All @@ -79,8 +76,7 @@ void testRun1() {
@Test
void testRun2() {

neqsim.process.processmodel.ProcessSystem operations =
new neqsim.process.processmodel.ProcessSystem();
neqsim.process.processmodel.ProcessSystem operations = new neqsim.process.processmodel.ProcessSystem();

Stream feed_stream = new Stream("Stream1", testSystem);
feed_stream.setTemperature(30.0, "C");
Expand Down Expand Up @@ -119,7 +115,6 @@ void testRun2() {
dewseparator.run();
operations.add(dewseparator);


Expander expander = new Expander("expander", dewseparator.getGasOutStream());
expander.setOutletPressure(50., "bara");
expander.run();
Expand Down Expand Up @@ -151,8 +146,8 @@ void testRun2() {

operations.run();

separator2.getFluid().prettyPrint();
heatEx.getOutStream(0).getFluid().prettyPrint();
// separator2.getFluid().prettyPrint();
// heatEx.getOutStream(0).getFluid().prettyPrint();

assertEquals(-34.6818572, separator2.getFluid().getTemperature("C"), 1e-3);
assertEquals(25.0, heatEx.getOutStream(1).getTemperature("C"), 1e-3);
Expand All @@ -165,7 +160,4 @@ void testRun2() {

}



}

0 comments on commit 6d1cf1d

Please sign in to comment.