Skip to content

Commit 3595c33

Browse files
committed
update
1 parent 6ba1e17 commit 3595c33

3 files changed

Lines changed: 12 additions & 12 deletions

File tree

src/main/java/neqsim/thermo/component/ComponentEos.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -601,9 +601,9 @@ public void seta(double a) {
601601
}
602602

603603
/**
604-
* Override the OmegaA parameter used in {@link #calca()}. Once set, every call to
605-
* {@code calca()} (including those triggered by {@code init()}) will use this value instead of
606-
* the EOS class default. Use {@code Double.NaN} to revert to the EOS default.
604+
* Override the OmegaA parameter used in {@link #calca()}. Once set, every call to {@code calca()}
605+
* (including those triggered by {@code init()}) will use this value instead of the EOS class
606+
* default. Use {@code Double.NaN} to revert to the EOS default.
607607
*
608608
* @param omegaA the OmegaA value, e.g. 0.45724 for PR or 0.42748 for SRK.
609609
*/

src/test/java/neqsim/process/equipment/compressor/DryGasSealAnalyzerTest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@
1616
*
1717
* <p>
1818
* Validates all six sub-analyses using the Bacalhau GIC seal gas composition and conditions from
19-
* SOK7305593 (Flowserve API 692 datasheet). Expected results are cross-validated against
20-
* manual NeqSim TPflash/PHflash calculations performed during the original task.
19+
* SOK7305593 (Flowserve API 692 datasheet). Expected results are cross-validated against manual
20+
* NeqSim TPflash/PHflash calculations performed during the original task.
2121
* </p>
2222
*
2323
* @author neqsim

src/test/java/neqsim/thermo/system/SystemPrLeeKeslerEosTest.java

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@
1616
* <li>Flash calculations converge and produce physically valid results (VF in [0,1], positive
1717
* density, positive pressure).</li>
1818
* <li>For light components (ω ≤ 0.49) PR-LK and PR78 give identical VF (same m-factor).</li>
19-
* <li>For mixtures containing heavy pseudo-components (ω > 0.49) PR-LK and PR78 differ
20-
* measurably, because PR-LK applies the PR76 m-factor to all components while PR78 uses a
21-
* modified polynomial for ω > 0.49.</li>
19+
* <li>For mixtures containing heavy pseudo-components (ω > 0.49) PR-LK and PR78 differ measurably,
20+
* because PR-LK applies the PR76 m-factor to all components while PR78 uses a modified polynomial
21+
* for ω > 0.49.</li>
2222
* <li>Clone preserves model name.</li>
2323
* </ol>
2424
*/
@@ -83,8 +83,8 @@ public void testVfEqualsToPr78ForLightComponents() {
8383

8484
// PR76 == PR78 for omega < 0.49 -> VF must agree within numerical precision
8585
assertEquals(vfPr78, vfLk, 1e-6,
86-
"PR-LK and PR78 should give identical VF for light components; got LK="
87-
+ vfLk + " vs PR78=" + vfPr78);
86+
"PR-LK and PR78 should give identical VF for light components; got LK=" + vfLk + " vs PR78="
87+
+ vfPr78);
8888
}
8989

9090
@Test
@@ -125,8 +125,8 @@ public void testVfDifferentFromPr78ForHeavyComponents() {
125125

126126
// PR76 != PR78 for heavy components -> VF must differ by more than numerical noise
127127
assertTrue(Math.abs(vfLk - vfPr78) > 1e-6,
128-
"PR-LK and PR78 should give different VF for heavy components (omega>0.49); got LK="
129-
+ vfLk + " vs PR78=" + vfPr78);
128+
"PR-LK and PR78 should give different VF for heavy components (omega>0.49); got LK=" + vfLk
129+
+ " vs PR78=" + vfPr78);
130130
}
131131

132132
@Test

0 commit comments

Comments
 (0)