diff --git a/src/main/java/neqsim/thermo/system/SystemInterface.java b/src/main/java/neqsim/thermo/system/SystemInterface.java index d6a3e87c3..68e73e8c0 100644 --- a/src/main/java/neqsim/thermo/system/SystemInterface.java +++ b/src/main/java/neqsim/thermo/system/SystemInterface.java @@ -914,15 +914,6 @@ public default double getGamma2() { */ public double getIdealLiquidDensity(String unit); - /** - *

- * Getter for property initType. - *

- * - * @return a int - */ - public int getInitType(); - /** * method to return interfacial tension between two phases. * @@ -1674,15 +1665,6 @@ public default boolean hasSolidPhase() { return hasPhaseType(PhaseType.SOLID); // || hasPhaseType(PhaseType.SOLIDCOMPLEX); } - /** - * Calculate thermodynamic properties of the fluid using the init type set in fluid. - * - * @see getInitType - */ - public default void init() { - this.init(this.getInitType()); - } - /** * method to calculate thermodynamic properties of the fluid. The temperature, pressure, number of * phases and composition of the phases will be used as basis for calculation. @@ -2267,15 +2249,6 @@ public void setImplementedPressureDeriativesofFugacity( public void setImplementedTemperatureDeriativesofFugacity( boolean implementedTemperatureDeriativesofFugacity); - /** - *

- * Setter for property initType. - *

- * - * @param initType a int - */ - public void setInitType(int initType); - /** *

* Setter for property maxNumberOfPhases. diff --git a/src/main/java/neqsim/thermo/system/SystemThermo.java b/src/main/java/neqsim/thermo/system/SystemThermo.java index 3f2249f1a..c656b0a34 100644 --- a/src/main/java/neqsim/thermo/system/SystemThermo.java +++ b/src/main/java/neqsim/thermo/system/SystemThermo.java @@ -101,12 +101,6 @@ public abstract class SystemThermo implements SystemInterface { private boolean implementedPressureDeriativesofFugacity = true; private boolean implementedTemperatureDeriativesofFugacity = true; - - /* - * Initialization type. 0 to initialize and 1 to reset, 2 to calculate T and P derivatives, 3 to - * calculate all derivatives and 4 to calculate all derivatives numerically - */ - protected int initType = 3; protected InterphasePropertiesInterface interfaceProp = null; // Initialization @@ -2251,12 +2245,6 @@ public double getIdealLiquidDensity(String unit) { } } - /** {@inheritDoc} */ - @Override - public int getInitType() { - return initType; - } - /** {@inheritDoc} */ @Override public double getInterfacialTension(int phase1, int phase2) { @@ -4443,12 +4431,6 @@ public void setImplementedTemperatureDeriativesofFugacity( this.implementedTemperatureDeriativesofFugacity = implementedTemperatureDeriativesofFugacity; } - /** {@inheritDoc} */ - @Override - public void setInitType(int initType) { - this.initType = initType; - } - /** *

* setLastTBPasPlus.