Skip to content

Commit 2945bbb

Browse files
authored
dynamic three phase separator (#1641)
* dynamic three phase separator * updated tests * updates
1 parent 70a2e4a commit 2945bbb

File tree

5 files changed

+1407
-29
lines changed

5 files changed

+1407
-29
lines changed

src/main/java/neqsim/process/equipment/separator/Separator.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ public void initializeTransientCalculation() {
130130
private double internalRadius = internalDiameter / 2;
131131

132132
/** Liquid level height in meters (default set to 50% of internal diameter). */
133-
private double liquidLevel = 0.5 * internalDiameter;
133+
protected double liquidLevel = 0.5 * internalDiameter;
134134

135135
private static final double MIN_HEADSPACE_FRACTION = 0.05;
136136
private static final double MIN_HEADSPACE_VOLUME = 1.0e-6;
@@ -898,7 +898,7 @@ private void updateHoldupVolumes() {
898898
enforceHeadspace();
899899
}
900900

901-
private void enforceHeadspace() {
901+
protected void enforceHeadspace() {
902902
double rawGasVolume = separatorVolume - liquidVolume;
903903
double minGasVolume = getMinGasVolume();
904904
if (rawGasVolume < minGasVolume) {

0 commit comments

Comments
 (0)