|
59 | 59 | import neqsim.thermodynamicOperations.phaseEnvelopeOps.multicomponentEnvelopeOps.CricondenThermFlash;
|
60 | 60 | import neqsim.thermodynamicOperations.phaseEnvelopeOps.multicomponentEnvelopeOps.HPTphaseEnvelope;
|
61 | 61 | import neqsim.thermodynamicOperations.phaseEnvelopeOps.multicomponentEnvelopeOps.pTphaseEnvelope;
|
| 62 | +import neqsim.thermodynamicOperations.phaseEnvelopeOps.multicomponentEnvelopeOps.pTphaseEnvelopeNew2; |
62 | 63 | import neqsim.thermodynamicOperations.phaseEnvelopeOps.reactiveCurves.pLoadingCurve2;
|
63 | 64 | import neqsim.thermodynamicOperations.propertyGenerator.OLGApropertyTableGeneratorWaterStudents;
|
64 | 65 | import neqsim.thermodynamicOperations.propertyGenerator.OLGApropertyTableGeneratorWaterStudentsPH;
|
@@ -1539,6 +1540,23 @@ public void calcPTphaseEnvelope() {
|
1539 | 1540 | getOperation().run();
|
1540 | 1541 | }
|
1541 | 1542 |
|
| 1543 | + // public void dewPointPressureFlash(){ |
| 1544 | + // constantDutyFlashInterface operation = new constantDutyPressureFlash(system); |
| 1545 | + // operation.setBeta((1-1e-7)); |
| 1546 | + // operation.run(); |
| 1547 | + // } |
| 1548 | + /** |
| 1549 | + * <p> |
| 1550 | + * calcPTphaseEnvelopeNew. |
| 1551 | + * </p> |
| 1552 | + */ |
| 1553 | + public void calcPTphaseEnvelope2() { |
| 1554 | + operation = new pTphaseEnvelopeNew2(system, fileName, (1.0 - 1e-10), 1.0, false); |
| 1555 | + // thisThread = new Thread(operation); |
| 1556 | + // thisThread.start(); |
| 1557 | + getOperation().run(); |
| 1558 | + } |
| 1559 | + |
1542 | 1560 | /**
|
1543 | 1561 | * <p>
|
1544 | 1562 | * calcPTphaseEnvelope.
|
@@ -2074,7 +2092,8 @@ public CalculationResult propertyFlash(List<Double> Spec1, List<Double> Spec2, i
|
2074 | 2092 | }
|
2075 | 2093 |
|
2076 | 2094 | if (hasOnlineFractions) {
|
2077 |
| - // Assure that fraction is inserted for the correct component (in case of mismatch of |
| 2095 | + // Assure that fraction is inserted for the correct component (in case of |
| 2096 | + // mismatch of |
2078 | 2097 | // component input and fluid component list)
|
2079 | 2098 | double[] fraction = new double[this.system.getNumberOfComponents()];
|
2080 | 2099 | // For all components defined in system
|
|
0 commit comments