Class EOSComparison.EOSResult
java.lang.Object
neqsim.integration.EOSComparison.EOSResult
- All Implemented Interfaces:
Serializable
- Enclosing class:
EOSComparison
Results for a single EOS evaluation.
- Version:
- 1.0
- Author:
- Even Solbraa
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptiondoubleCompressibility factor.doubleMixture density in kg/m3.doubleMolar enthalpy in J/mol.doubleMolar entropy in J/(mol*K).final EOSComparison.EOSTypeEOS type used.final StringError message if evaluation failed.doubleGas heat capacity at constant pressure in J/(mol*K).doubleGas phase density in kg/m3.doubleGas viscosity in cP.doubleGas compressibility factor.doubleMolar mass in kg/mol.intNumber of phases found.doubleOil phase density in kg/m3.doubleOil viscosity in cP.private static final longdoubleVapour fraction (beta). -
Constructor Summary
ConstructorsConstructorDescriptionEOSResult(EOSComparison.EOSType eosType) Creates a successful result.EOSResult(EOSComparison.EOSType eosType, String error) Creates a failed result. -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturns whether this result was successful.
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
eosType
EOS type used. -
error
Error message if evaluation failed. -
numberOfPhases
public int numberOfPhasesNumber of phases found. -
compressibilityFactor
public double compressibilityFactorCompressibility factor. -
density_kgm3
public double density_kgm3Mixture density in kg/m3. -
molarMass_kgmol
public double molarMass_kgmolMolar mass in kg/mol. -
enthalpy_Jmol
public double enthalpy_JmolMolar enthalpy in J/mol. -
entropy_JmolK
public double entropy_JmolKMolar entropy in J/(mol*K). -
gasDensity_kgm3
public double gasDensity_kgm3Gas phase density in kg/m3. -
gasViscosity_cP
public double gasViscosity_cPGas viscosity in cP. -
gasZfactor
public double gasZfactorGas compressibility factor. -
gasCp_JmolK
public double gasCp_JmolKGas heat capacity at constant pressure in J/(mol*K). -
oilDensity_kgm3
public double oilDensity_kgm3Oil phase density in kg/m3. -
oilViscosity_cP
public double oilViscosity_cPOil viscosity in cP. -
vapourFraction
public double vapourFractionVapour fraction (beta).
-
-
Constructor Details
-
EOSResult
EOSResult(EOSComparison.EOSType eosType) Creates a successful result.- Parameters:
eosType- the EOS type
-
EOSResult
EOSResult(EOSComparison.EOSType eosType, String error) Creates a failed result.- Parameters:
eosType- the EOS typeerror- the error message
-
-
Method Details
-
isSuccessful
public boolean isSuccessful()Returns whether this result was successful.- Returns:
- true if no error occurred
-